Hello, On Wed, Feb 09, 2005 at 06:14:19PM +0900, OHURA Makoto wrote: > From: Helge Kreutzmann <[EMAIL PROTECTED]> > Subject: Bug#294223: xemacs21: Security-Update for Woody fails to install (on > alpha) > Date: Wed, 9 Feb 2005 08:35:53 +0100 > > > tags 294223 woody unreproducible > > > thanks > > > > > In my woody machine, > > > > Since it works fine on our x86-based woody machines, and another > > recent security update was misbuild on alpha (#289670), could this be > > a problem with the security autobuilder for the alpha plattform? > > How about reinstalling xemacs21 after purging it? > > # apt-get --purge remove xemacs21
jari:~# apt-get --purge remove xemacs21 Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: xemacs21* xemacs21-bin* xemacs21-mule* xemacs21-nomule* xemacs21-support* 0 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded. 4 packages not fully installed or removed. Need to get 0B of archives. After unpacking 29.8MB will be freed. Do you want to continue? [Y/n] (Reading database ... 123726 files and directories currently installed.) Removing xemacs21-bin ... update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory dpkg: error processing xemacs21-bin (--purge): subprocess pre-removal script returned error exit status 2 update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Removing xemacs21-nomule ... Purging configuration files for xemacs21-nomule ... Removing xemacs21-support ... Purging configuration files for xemacs21-support ... Removing xemacs21 ... Removing xemacs21-mule ... Purging configuration files for xemacs21-mule ... Errors were encountered while processing: xemacs21-bin E: Sub-process /usr/bin/dpkg returned an error code (1) jari:~# apt-get --purge remove xemacs21-bin Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: xemacs21-bin* 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 packages not fully installed or removed. Need to get 0B of archives. After unpacking 3043kB will be freed. Do you want to continue? [Y/n] (Reading database ... 122904 files and directories currently installed.) Removing xemacs21-bin ... update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory dpkg: error processing xemacs21-bin (--purge): subprocess pre-removal script returned error exit status 2 update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Errors were encountered while processing: xemacs21-bin E: Sub-process /usr/bin/dpkg returned an error code (1) I added a set -v into xemacs21-bin.postinst jari:/var/lib/dpkg/info# apt-get --purge remove xemacs21-bin Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: xemacs21-bin* 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 packages not fully installed or removed. Need to get 0B of archives. After unpacking 3043kB will be freed. Do you want to continue? [Y/n] (Reading database ... 122904 files and directories currently installed.) Removing xemacs21-bin ... update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory dpkg: error processing xemacs21-bin (--purge): subprocess pre-removal script returned error exit status 2 update-alternatives --remove xemacs21 /usr/bin/xemacs-21.1-p2-mule update-alternatives --remove xemacs21 /usr/bin/xemacs-21.1-p2-nomule update-alternatives --remove xemacs21 /usr/bin/xemacs-21.1-p2-mule-canna-wnn update-alternatives --install /usr/bin/xemacs xemacs /usr/bin/xemacs21 -10 --slave /usr/share/man/man1/xemacs.1.gz xemacs.1.gz /usr/share/man/man1/xemacs.xemacs21.1.gz update-alternatives --install /usr/bin/movemail movemail /usr/lib/xemacs-21.4.6/alpha-debian-linux/movemail 10 update-alternatives --install /usr/bin/mmencode mmencode /usr/lib/xemacs-21.4.6/alpha-debian-linux/mmencode 10 update-alternatives --install /usr/bin/editor editor /usr/bin/xemacs21 -100 update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Errors were encountered while processing: xemacs21-bin E: Sub-process /usr/bin/dpkg returned an error code (1) Ok, now I check that: jari:~# update-alternatives --verbose --install /usr/bin/editor editor /usr/bin/xemacs21 -100 Alternative for editor points to /usr/bin/xemacs21 - which wasn't found. Removing from list of alternatives. Checking available versions of editor, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving editor (/usr/bin/editor) pointing to /usr/bin/vim. update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory jari:~# ls -l /etc/alternatives/editor lrwxr-xr-x 1 root root 12 Feb 9 11:01 /etc/alternatives/editor -> /usr/bin/vim jari:~# ls -l /etc/alternatives/editor.1.gz lrwxr-xr-x 1 root root 28 Apr 28 2004 /etc/alternatives/editor.1.gz -> /usr/share/man/man1/vim.1.gz Now I look what update-alternatives thinks internally: cat /var/lib/dpkg/alternatives/editor auto /usr/bin/editor editor.1.gz /usr/man/man1/editor.1.gz /usr/bin/nano 40 /usr/share/man/man1/nano.1.gz /bin/ed -100 /usr/bin/nvi 19 /usr/share/man/man1/nvi.1.gz /usr/bin/vim 120 /usr/share/man/man1/vim.1.gz /bin/elvis-tiny 10 /usr/share/man/man1/elvis-tiny.1.gz /usr/bin/emacs20 26 /usr/share/man/man1/emacs.emacs20.1.gz /usr/bin/jed 42 /usr/share/man/man1/jed.1.gz /usr/X11R6/bin/nedit -40 /usr/X11R6/man/man1/nedit.1x.gz /usr/bin/joe 70 /usr/share/man/man1/joe.1.gz /usr/bin/jove 60 /usr/share/man/man1/jove.1.gz /usr/bin/xemacs21 -100 I change /usr/man/man1/editor.1.gz -> /usr/share/man/man1/editor.1.gz Now I can purge xemacs21-bin. Ok. > # apt-get install xemacs21 > > Thanks. Installing works now. I'll check on another alpha later and let you know the results. Thanks for you quick help so far! Greetings Helge -- Dr. Helge Kreutzmann, Dipl.-Phys. [EMAIL PROTECTED] gpg signed mail preferred 64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm Help keep free software "libre": http://www.freepatents.org/
pgpagDDU8n2H4.pgp
Description: PGP signature