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

dpkg doesn't like development kernels



Hi,

I'm not sure which fault it is, kernel or dpkg. Starting from
kernel 2.3.7 dpkg refuses to deinstall packages while other programs
work fine. Since it's development kernels, just FYI:

[root@dwango]~# cat /etc/debian_version
2.1
[root@dwango]~# dpkg --version
Debian Linux `dpkg' package management program version 1.4.0.34 (i386 elf).
Copyright 1994-1996 Ian Jackson, Bruce Perens.  This is free software;
see the GNU General Public Licence version 2 or later for copying
conditions.  There is NO warranty.  See dpkg --licence for details.
[root@dwango]~# uname -a
Linux version 2.3.9 #2 Thu Jul 1 02:39:27 YEKST 1999 i486 unknown
[root@dwango]~# dpkg -l | grep ae
ii  ppp             2.3.8-0.1      Point-to-Point Protocol (PPP) daemon.
ii  sysklogd        1.3-31         Kernel and system logging daemons
ii  update          1.3-2          daemon to periodically flush filesystem buff
[root@dwango]~# dpkg -i ae_962-21.1.deb
Selecting previously deselected package ae.
(Reading database ... 7465 files and directories currently installed.)
Unpacking ae (from ae_962-21.1.deb) ...
Setting up ae (962-21.1) ...
/etc/alternatives/editor has been changed (manually or by a script).
Switching to manual updates only.
Checking available versions of editor, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Automatic updates of /etc/alternatives/editor are disabled, leaving it alone.
To return to automatic updates use `update-alternatives --auto editor'.
[root@dwango]~# dpkg --purge ae
(Reading database ... 7483 files and directories currently installed.)
Removing ae ...
Checking available versions of editor, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Discarding obsolete slave link editor.1.gz (/usr/man/man1/editor.1.gz).
Automatic updates of /etc/alternatives/editor are disabled, leaving it alone.
To return to automatic updates use `update-alternatives --auto editor'.
dpkg: error processing ae (--purge):
 unable to fsync updated status of `ae': Input/output error
Checking available versions of editor, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Automatic updates of /etc/alternatives/editor are disabled, leaving it alone.
To return to automatic updates use `update-alternatives --auto editor'.
dpkg: error while cleaning up:
 unable to fsync updated status of `ae': Input/output error
Errors were encountered while processing:
 ae
Processing was halted because there were too many errors.
[root@dwango]~# dpkg -l | grep ae
pi  ae              962-21.1       Anthony's Editor -- a tiny full-screen edito
ii  ppp             2.3.8-0.1      Point-to-Point Protocol (PPP) daemon.
ii  sysklogd        1.3-31         Kernel and system logging daemons
ii  update          1.3-2          daemon to periodically flush filesystem buff
[root@dwango]~# dpkg --purge kernel-image-2.3.9
(Reading database ... 7483 files and directories currently installed.)
Removing kernel-image-2.3.9 ...

  You are running a kernel (version 2.3.9) and attempting to remove
  the same version. This is a potentially disastrous action. Not only
  will /boot/vmlinuz-2.3.9 be removed, making it impossible to boot
  it, (you will have to take action to change your boot loader to boot
  a new kernel), it will also remove all modules under the directory
  /lib/modules/2.3.9. Just having a copy of the kernel image is not
  enough, you will have to replace the modules too.

    I repeat, this is very dangerous. If at all in doubt, answer
    no. If you know exactly what you are doing, and are prepared to
    hose your system, then answer Yes.
Remove the running kernel image (not recommended) [No]? yes
Ok, proceeding with removing running kernel image.
dpkg: error processing kernel-image-2.3.9 (--purge):
 unable to fsync updated status of `kernel-image-2.3.9': Input/output error
dpkg: error while cleaning up:
 unable to fsync updated status of `kernel-image-2.3.9': Input/output error
Errors were encountered while processing:
 kernel-image-2.3.9
Processing was halted because there were too many errors.
[root@dwango]~# shutdown -r now
[root@dwango]~# uname -a
Linux dwango 2.3.6 #1 Mon Jun 28 23:07:46 YEKST 1999 i486 unknown
[root@dwango]~# dpkg --purge ae
(Reading database ... 7483 files and directories currently installed.)
Removing ae ...
Checking available versions of editor, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Discarding obsolete slave link editor.1.gz (/usr/man/man1/editor.1.gz).
Automatic updates of /etc/alternatives/editor are disabled, leaving it alone.
To return to automatic updates use `update-alternatives --auto editor'.
dpkg - warning: while removing ae, directory `/etc/ae' not empty so not removed.Purging configuration files for ae ...
[root@dwango]~# dpkg --purge kernel-image-2.3.9
(Reading database ... 7465 files and directories currently installed.)
Removing kernel-image-2.3.9 ...
[root@dwango]~#


Reply to: