I have experienced a similar problem trying to install bum (depending on
menu). Here are the details attempting to install menu (soory, my Ubuntu
is in Danish):

t...@tha-desktop:~$ sudo apt-get install menu
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ        
Læser tilstandsoplysninger... Færdig
menu er i forvejen den nyeste version.
0 opgraderes, 0 nyinstalleres, 0 afinstalleres og 0 opgraderes ikke.
1 ikke fuldstændigt installerede eller afinstallerede.
0B/434kB skal hentes fra arkiverne.
After this operation, 0B of additional disk space will be used.
(Læser database... 145879 filer og mapper aktuelt installeret.)
Gør klar til at erstatte menu 2.1.40ubuntu1 (med 
.../menu_2.1.40ubuntu1_i386.deb)...
install-info: No dir file specified; try --help for more information.
dpkg: advarsel - gammelt pre-removal-script returnerede afslutningsstatus 1
dpkg - forsøger i stedet script fra ny pakke...
install-info: No dir file specified; try --help for more information.
dpkg: fejl under behandling af 
/var/cache/apt/archives/menu_2.1.40ubuntu1_i386.deb (--unpack):
 underproces nyt pre-removal-script returnerede afslutningsstatus 1
install-info: No dir file specified; try --help for more information.
dpkg: fejl under oprydning:
 underproces post-installation script returnerede afslutningsstatus 1
Der opstod fejl under behandlingen:
 /var/cache/apt/archives/menu_2.1.40ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have looked at the following message (and the other meassages in the
thread): https://lists.ubuntu.com/archives/ubuntu-
devel/2005-October/012349.html . I have identified that the problem in
my case also seems to be caused by the wrong 'install-info' being used:

t...@tha-desktop:~$ which install-info
/usr/local/bin/install-info
t...@tha-desktop:~$ ls -l /usr/local/bin/install-info
lrwxrwxrwx 1 root root 51 2009-02-27 15:54 /usr/local/bin/install-info -> 
/usr/local/texlive/2008/bin/i386-linux/install-info
t...@tha-desktop:~$

So, the problem seems to be caused by my PATH containing paths in an
order that uses /usr/local/texlive/2008/bin/i386-linux/install-info.

I worked around the problem by specifying a modified PATH for apt-get as 
follows:
sudo 
PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/game 
apt-get -f install menu
There may be more elegant ways of working around this?

Thomas Arildsen

** Tags added: install-info

-- 
package menu 2.1.40ubuntu1 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/318545
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to