Problems installing linux-restricted-modules in Hoary

Nathan Simkins nat at alastria.net
Thu Dec 30 12:29:21 UTC 2004


Hi

I'm trying to install the linux-restricted-modules in Hoary, but not 
having luck. Please see the paste of the terminal output below:

*********************************************
nat at trillian:~ $ uname -r
2.6.9-1-686-smp


nat at trillian:~ $ sudo apt-get install 
linux-restricted-modules-2.6.9-1-686-smp
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  linux-image-2.6.9-1-686-smp
Suggested packages:
  lilo linux-doc-2.6.9 linux-source-2.6.9
The following NEW packages will be installed:
  linux-image-2.6.9-1-686-smp linux-restricted-modules-2.6.9-1-686-smp
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 17.8MB of archives.
After unpacking 52.3MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com hoary/main linux-image-2.6.9-1-686-smp 
2.6.9-11 [16.3MB]
Get:2 http://archive.ubuntu.com hoary/restricted 
linux-restricted-modules-2.6.9-1-686-smp 2.6.9-11 [1520kB]
Fetched 17.8MB in 2m38s (112kB/s)

Preconfiguring packages ...
Selecting previously deselected package linux-image-2.6.9-1-686-smp.
(Reading database ... 70511 files and directories currently installed.)
Unpacking linux-image-2.6.9-1-686-smp (from 
.../linux-image-2.6.9-1-686-smp_2.6.9-11_i386.deb) ...
You are attempting to install a kernel image (version 2.6.9-1-686-smp)
However, the directory /lib/modules/2.6.9-1-686-smp still exists.  If this
directory belongs to a previous linux-image-2.6.9-1-686-smp package, and if
you have deselected some modules, or installed standalone modules
packages, this could be bad. However, if this directory exists because
you are also installing some stand alone modules right now, and they
got unpacked before I did, then this is pretty benign.  Unfortunately,
I can not tell the difference.

If /lib/modules/2.6.9-1-686-smp belongs to a old install of
linux-image-2.6.9-1-686-smp, then this is your last chance to abort the
installation of this kernel image (nothing has been changed yet).

If this directory is because of stand alone modules being installed
right now, or if it does belong to an older linux-image-2.6.9-1-686-smp
package but you know what you are doing, and if you feel that this
image should be installed despite this anomaly, Please answer n to the
question.

Otherwise, I suggest you move /lib/modules/2.6.9-1-686-smp out of the way,
perhaps to /lib/modules/2.6.9-1-686-smp.old or something, and then try
re-installing this image.
Do you want to stop now? [Y/n]n
dpkg: error processing 
/var/cache/apt/archives/linux-image-2.6.9-1-686-smp_2.6.9-11_i386.deb 
(--unpack):
 trying to overwrite `/boot/config-2.6.9-1-686-smp', which is also in 
package kernel-image-2.6.9-1-686-smp
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.6.9-1-686-smp
Found kernel: /boot/vmlinuz-2.6.9-1-386
Found kernel: /boot/vmlinuz-2.6.8.1-3-386
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

The link /initrd.img is a dangling link
Removing symbolic link /initrd.img
Unless you used the optional flag in lilo,
 you may need to re-run lilo
Selecting previously deselected package 
linux-restricted-modules-2.6.9-1-686-smp.
Unpacking linux-restricted-modules-2.6.9-1-686-smp (from 
.../linux-restricted-modules-2.6.9-1-686-smp_2.6.9-11_i386.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.9-1-686-smp_2.6.9-11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
*********************************************


Running 'sudo apt-get -f install' does not fix it - neither does 'sudo 
apt-get dist-upgrade'.  Can anyone give me some pointers as to how to 
fix this?


Cheers


Nat.






More information about the ubuntu-users mailing list