package menu 2.1.40ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sbackup
teplow@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
menu
The following NEW packages will be installed:
menu sbackup
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 504kB of archives.
After this operation, 2494kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Fetched 504kB in 2s (192kB/s)
Selecting previously deselected package menu.
(Reading database ... 147516 files and directories currently installed.)
Unpacking menu (from .../menu_
Selecting previously deselected package sbackup.
Unpacking sbackup (from .../sbackup_
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up python-xlib (0.14-2) ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing python-xlib (--configure):
subprocess post-installation script returned error exit status 1
Setting up menu (2.1.40ubuntu1) ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing menu (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sbackup:
sbackup depends on menu; however:
Package menu is not configured yet.
dpkg: error processing sbackup (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
python-xlib
menu
sbackup
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
Architecture: i386
Dependencies:
libgcc1 1:4.3.2-1ubuntu11
gcc-4.3-base 4.3.2-1ubuntu11
libstdc++6 4.3.2-1ubuntu11
findutils 4.4.0-2ubuntu3
libc6 2.8~20080505-
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: menu 2.1.40ubuntu1
SourcePackage: menu
Title: package menu 2.1.40ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-9-generic i686
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):
tha@tha-desktop:~$ sudo apt-get install menu inger.. . Færdig 2.1.40ubuntu1_ i386.deb) ... apt/archives/ menu_2. 1.40ubuntu1_ i386.deb (--unpack): apt/archives/ menu_2. 1.40ubuntu1_ i386.deb
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ
Læser tilstandsoplysn
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_
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/
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/
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:
tha@tha-desktop:~$ which install-info bin/install- info bin/install- info bin/install- info -> /usr/local/ texlive/ 2008/bin/ i386-linux/ install- info
/usr/local/
tha@tha-desktop:~$ ls -l /usr/local/
lrwxrwxrwx 1 root root 51 2009-02-27 15:54 /usr/local/
tha@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: local/sbin: /usr/sbin: /usr/local/ bin:/usr/ bin:/sbin: /bin:/usr/ game apt-get -f install menu
sudo PATH=/usr/
There may be more elegant ways of working around this?
Thomas Arildsen