On Sun, Apr 12, 2009 at 07:03:47PM +0200, Kai-Martin wrote: > On 04/12/2009 06:45:32 PM, Bill Allombert wrote: > > > "E: Na so was, Sie haben die Anzahl an Beschreibungen überschritten, mit > denen APT umgehen kann." > --> Oh my, you exceeded the maximum number of descriptions apt can deal with. > E: Die Liste der Paketquellen oder der Status-Datei konnte nicht geoeffnet > werden. > --> List of package sources or status file could not be opened.
This is a very strange error. > BTW, I tried to set LANG=en_US, but still got the german error message. Probably gksu use the GNOME language setting. > > I also need to know what su-like programs you are using: > > > please send me the output of > > LANG=C sh -x su-to-root -X -c /usr/sbin/synaptic > > $ LANG=C sh -x su-to-root -X -c /usr/sbin/synaptic > + test -r /etc/su-to-rootrc > + test -r /home/kmk/.su-to-rootrc > + PRIV=root > + COMMAND= > + NEEDS=text > ++ which gettext > + gettext=/usr/bin/gettext > + for i in '"$@"' > + case "$prev" in > + prev=-X > + for i in '"$@"' > + case "$prev" in > + NEEDS=X11 > + prev=-c > + for i in '"$@"' > + case "$prev" in > + COMMAND=/usr/sbin/synaptic > + prev=/usr/sbin/synaptic > + '[' -z /usr/sbin/synaptic ']' > ++ id -u > + euid=1000 > ++ id -u root > + privid=0 > + test 1000 = 0 > + case $NEEDS in > + test -z '' > + which gksu > + SU_TO_ROOT_X=gksu > + test X = Xtrue > + case $SU_TO_ROOT_X in > + gksu -u root /usr/sbin/synaptic > > plus the german/english error massage above, presented in a gnome dialog > window. > > If I try to start synaptic via gksu from the command line, I also get the > same > error message. The same happens if I switched to root manualy with the su > command. However, as noted in the original bug report, everything is fine if > I > call synaptic with sudo. A call with gksudo is ok too. Thanks for your answer. This shows this is not a bug in su-to-root which is merely calling gksu. Unfortunately, I cannot reproduce your problem. Probably the issue is caused by environment variables. Could you try to run 'env' instead of synaptic and compare the result with gksu, su and sudo ? Cheers, Bill. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

