retitle 456267 emacs -Q /sudo::/etc hangs thank you On Sat, Dec 15, 2007 at 03:25:08PM +1100, Trent W. Buck wrote: > On Fri, Dec 14, 2007 at 09:23:41PM +0100, Sven Joachim wrote: > > On 2007-12-14 04:54 +0100, Trent W. Buck wrote: > > > Trying to access the tramp sudo method causes Emacs to hang forever, > > The tramp package that comes with Emacs 22 (2.0.55) correctly uses > > sudo's -p option for the password prompt. > > I guess I'm mis-diagnosing the problem.
On another host (Lenny this time), I just did an upgrade of sudo and /sudo::/ works both before and after. This seems to pretty conclusively show that my original analysis was wrong.
$ sudo aptitude install sudo E: /home/twb/.aptitude is readable but not writable; unable to write configuration file. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages are BROKEN: libc6-i386 locales The following packages have been automatically kept back: bind9-host cpp-4.2 debianutils e2fslibs e2fsprogs emacs22-bin-common emacs22-common gcc-4.2-base gksu gnome-keyring initramfs-tools klibc-utils libbind9-30 libblkid1 libcairo2 libcomerr2 libdns32 libgcc1 libgnome-keyring0 libisc32 libisccc30 libisccfg30 libklibc liblwres30 libncurses5 libncursesw5 libopencdk10 libss2 libssl0.9.8 libstdc++6 libtasn1-3 libusb-0.1-4 libuuid1 libxcomposite1 libxml2 ncurses-bin net-tools sed squid-common tzdata x-ttcidfont-conf The following packages have been kept back: bc dc dnsutils emacs22-nox findutils hostname ncurses-base ncurses-term nfs-common squid tcpdump usbutils The following packages will be upgraded: libc6 sudo 2 packages upgraded, 0 newly installed, 0 to remove and 55 not upgraded. Need to get 180kB/5165kB of archives. After unpacking 168kB will be used. The following packages have unmet dependencies: libc6-i386: Depends: libc6 (= 2.6.1-1) but 2.7-3 is to be installed. locales: Depends: glibc-2.6-1 which is a virtual package. Resolving dependencies... The following actions will resolve these dependencies: Upgrade the following packages: libc6-i386 [2.6.1-1 (now) -> 2.7-3 (testing)] locales [2.6.1-1 (now) -> 2.7-3 (testing)] Score is 132 Accept this solution? [Y/n/q/?] The following packages are unused and will be REMOVED: libc6-i386 The following packages have been automatically kept back: bind9-host cpp-4.2 debianutils e2fslibs e2fsprogs emacs22-bin-common emacs22-common gcc-4.2-base gksu gnome-keyring initramfs-tools klibc-utils libbind9-30 libblkid1 libcairo2 libcomerr2 libdns32 libgcc1 libgnome-keyring0 libisc32 libisccc30 libisccfg30 libklibc liblwres30 libncurses5 libncursesw5 libopencdk10 libss2 libssl0.9.8 libstdc++6 libtasn1-3 libusb-0.1-4 libuuid1 libxcomposite1 libxml2 ncurses-bin net-tools sed squid-common tzdata x-ttcidfont-conf The following packages have been kept back: bc dc dnsutils emacs22-nox findutils hostname ncurses-base ncurses-term nfs-common squid tcpdump usbutils The following packages will be upgraded: libc6 locales sudo 3 packages upgraded, 0 newly installed, 1 to remove and 53 not upgraded. Need to get 180kB/9650kB of archives. After unpacking 8720kB will be freed. Do you want to continue? [Y/n/?] Writing extended state information... Done Get:1 http://apt.cyber.com.au lenny/main sudo 1.6.9p9-1 [180kB] Fetched 180kB in 3s (58.1kB/s) Preconfiguring packages ... (Reading database ... 29425 files and directories currently installed.) Removing libc6-i386 ... (Reading database ... 29125 files and directories currently installed.) Preparing to replace locales 2.6.1-1 (using .../archives/locales_2.7-3_all.deb) ... Unpacking replacement locales ... Preparing to replace libc6 2.6.1-1 (using .../archives/libc6_2.7-3_amd64.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.7-3) ... Installing new version of config file /etc/gai.conf ... Installing new version of config file /etc/init.d/glibc.sh ... (Reading database ... 29151 files and directories currently installed.) Preparing to replace sudo 1.6.9p6-1 (using .../sudo_1.6.9p9-1_amd64.deb) ... Unpacking replacement sudo ... Setting up locales (2.7-3) ... Generating locales (this might take a while)... en_AU.UTF-8... done Generation complete. Setting up sudo (1.6.9p9-1) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done [EMAIL PROTECTED]
signature.asc
Description: Digital signature