[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#277183: apt keep bug



Package: apt
Version: apt 0.5.27 for linux i386 compiled on Jul 29 2004 22:59:33


System information:
uname -a
Linux debian 2.4.20.082403 #1 SMP Sun Aug 24 10:37:09 EDT 2003 i686 GNU/Linux

ls -l /lib/libc.so.6
lrwxrwxrwx  1 root root 13 Oct 18 16:36 /lib/libc.so.6 -> libc-2.3.2.so

dpkg -s libc6 | grep ^Version
Version: 2.3.2.ds1-18


Bug information:
sudo apt-get install
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  powermgmt-base
The following packages will be upgraded:
  powermgmt-base
1 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
632 not fully installed or removed.
Need to get 0B/10.3kB of archives.
After unpacking 8192B disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 99243 files and directories currently installed.)
Preparing to replace powermgmt-base 1.17 (using
.../powermgmt-base_1.21_i386.deb) ...
Unpacking replacement powermgmt-base ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: error processing
/var/cache/apt/archives/powermgmt-base_1.21_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/powermgmt-base_1.21_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think the bug should be clear, but I have no idea how to fix it. 
The file /etc/modutils/0keep says this:

cat /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

Any help you could provide would be much appreciated.

~Rick Weinberger



Reply to: