house-cleaning the system-user query
shirish
shirishag75 at gmail.com
Tue Aug 21 03:04:37 UTC 2007
Hi all,
Today was removing all the outdated packages so did :-
sudo aptitude autoclean & then
sudo aptitude purge ~c (for packages removed but not purged)
While doing that aptitude segfaults on a certain module dunno how to
remove references to that, it doesn't have any files in that package.
shirish at Mugglewille:~$ sudo aptitude purge ~c
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages will be REMOVED:
linux-ubuntu-modules-2.6.22-7-generic{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 266907 files and directories currently installed.)
Removing linux-ubuntu-modules-2.6.22-7-generic ...
Purging configuration files for linux-ubuntu-modules-2.6.22-7-generic ...
FATAL: Could not open '/boot/System.map-2.6.22-7-generic': No such
file or directory
update-initramfs: Generating /boot/initrd.img-2.6.22-7-generic
Cannot find /lib/modules/2.6.22-7-generic
update-initramfs: failed for /boot/initrd.img-2.6.22-7-generic
dpkg: error processing linux-ubuntu-modules-2.6.22-7-generic (--purge):
subprocess post-removal script returned error exit status 1
Segmentation fault (core dumped)
shirish at Mugglewille:~$ sudo aptitude purge linux-ubuntu-modules-2.6.22-7-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages will be REMOVED:
linux-ubuntu-modules-2.6.22-7-generic{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 266907 files and directories currently installed.)
Removing linux-ubuntu-modules-2.6.22-7-generic ...
Purging configuration files for linux-ubuntu-modules-2.6.22-7-generic ...
FATAL: Could not open '/boot/System.map-2.6.22-7-generic': No such
file or directory
update-initramfs: Generating /boot/initrd.img-2.6.22-7-generic
Cannot find /lib/modules/2.6.22-7-generic
update-initramfs: failed for /boot/initrd.img-2.6.22-7-generic
dpkg: error processing linux-ubuntu-modules-2.6.22-7-generic (--purge):
subprocess post-removal script returned error exit status 1
Segmentation fault (core dumped)
shirish at Mugglewille:~$ dpkg -L linux-ubuntu-modules-2.6.22-7-generic
Package `linux-ubuntu-modules-2.6.22-7-generic' does not contain any files (!)
shirish at Mugglewille:~$ uname -a
Linux Mugglewille 2.6.22-9-generic #1 SMP Fri Aug 3 00:50:37 GMT 2007
i686 GNU/Linux
Now I don't know if this question is situated on the ML as its of
gutsy hence putting it up here. If its not suited to the ML then just
post the query & all answers off-list. I dunno if this is a bug or
what?
--
Shirish Agarwal
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
More information about the Ubuntu-devel-discuss
mailing list