Am 04. Jan, 2004 schw=E4tzte Deepak Saxena so: > Attempted to 'apt-get upgrade' my knoppix system into an unstable > distro and everything seemed to go OK until it tried to install joe. > > Here's a log of what happens when I try to manually install it: Deepak, try downgrading joe. apt-get install joe=3D2.8-20 It's during post-removal that you're running into the bug, so I doubt that'll help in the end. It sucks that debian gets itself in this state and apt won't let you remove the package that won't go in properly. Have you filed a bug report against joe? http://bugs.debian.org/joe Looks like the joe maintainer needs to update bugs more often. > *************************************************************************= ******** > omelas:/tmp# apt-get install joe > Reading Package Lists... Done > Building Dependency Tree... Done > The following packages will be upgraded > joe > 1 upgraded, 0 newly installed, 0 to remove and 484 not upgraded. > 332 not fully installed or removed. > Need to get 0B/141kB of archives. > After unpacking 4096B disk space will be freed. > Selecting previously deselected package joe. > (Reading database ... 111496 files and directories currently installed.) > Preparing to replace joe 2.8-21 (using .../archives/joe_2.8-23_i386.deb) > ... > Unpacking replacement joe ... > /var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permission > denied > dpkg: warning - old post-removal script returned error exit status 1 > dpkg - trying script from the new package instead ... > /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission > denied > dpkg: error processing /var/cache/apt/archives/joe_2.8-23_i386.deb > (--unpack): > subprocess new post-removal script returned error exit status 1 > /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission > denied > dpkg: error while cleaning up: > subprocess post-removal script returned error exit status 1 > Errors were encountered while processing: > /var/cache/apt/archives/joe_2.8-23_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > *************************************************************************= ******** > > Looking at the errors and doing an 'apt-cache search update-menus', it > thought that I was missing the menu package. Tried 'apt-get install menu= ' > and it automatically tried to install joe. Did an 'apt-get remove menu' > and from that it looks like menu is actually installed, so joe is > pointing to the wrong directory for the "update-menus" command. The > problem I'm having now is that anytime I apt-get install anything, the > system tries to complete the installation of the joe package. I tried to > do an apt-get remove, and I get: Look in /var/lib/dpkg/info for the install scripts. joe.postrm is the one having probs. Keep a copy of the original script, but see if you can fix it= =2E What's the line with update-menus in it? Have you verified /usr/bin/update-menus is executable? It's binary on my system, so it shouldn't be a bad shell path. If you figure out how to fix it, please add a patch to the bug report. ciao, der.hans --=20 # https://www.LuftHans.com/ http://www.AZOTO.org/ # We now return you to your regularly scheduled paranoia...