depmod error on dist-upgrade
jimbo
gredo at rebelbase.com
Mon Jan 2 16:51:36 UTC 2006
You can open your sources.list and comment out the line referencing the
source CD-ROM. I believe it is the first line.
>From a command prompt, it would look like this:
~$ sudo gedit /etc/apt/sources.list
Password:
Then once you have the file open, add "##" to the start of the following
line:
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/
breezy main restricted
That will make it look like this:
## deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/
breezy main restricted
and then all will be well with the world.
kisses,
jimbo
Dana J. Laude wrote:
> Greetings,
>
> Any ideas on correcting the following error?
>
> <snip>
> sudo apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> The following NEW packages will be installed:
> libgpgme11 linux-image-2.6.12-10-386
> linux-restricted-modules-2.6.12-10-386
> The following packages will be upgraded:
> libkleopatra0a linux-image-386 linux-restricted-modules-386
> 3 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
> Need to get 23.7MB/23.8MB of archives.
> After unpacking 66.6MB of additional disk space will be used.
> Do you want to continue [Y/n]?
> Get:1 http://us.archive.ubuntu.com breezy-updates/main
> libkleopatra0a 4:3.4.3-0ubuntu3 [402kB]
> Get:2 http://security.ubuntu.com breezy-security/main
> linux-image-2.6.12-10-386 2.6.12-10.25 [18.0MB]
> Media change: please insert the disc labeled
> 'Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)'
> in the drive '/cdrom/' and press enter
>
> Get:3 http://security.ubuntu.com breezy-security/main
> linux-image-386 2.6.12.16.1 [22.5kB]
> Get:4 http://security.ubuntu.com breezy-security/restricted
> linux-restricted-modules-2.6.12-10-386 2.6.12.4-11.1 [5178kB]
> Get:5 http://security.ubuntu.com breezy-security/restricted
> linux-restricted-modules-386 2.6.12.16.1 [22.5kB]
> Fetched 23.7MB in 1m5s (362kB/s)
>
> Preconfiguring packages ...
> Selecting previously deselected package libgpgme11.
> (Reading database ... 80094 files and directories currently
> installed.)
> Unpacking libgpgme11
> (from .../libgpgme11_1.0.2-1build1_i386.deb) ...
> Preparing to replace libkleopatra0a 4:3.4.3-0ubuntu2
> (using .../libkleopatra0a_4%3a3.4.3-0ubuntu3_i386.deb) ...
> Unpacking replacement libkleopatra0a ...
> Selecting previously deselected package
> linux-image-2.6.12-10-386.
> Unpacking linux-image-2.6.12-10-386
> (from .../linux-image-2.6.12-10-386_2.6.12-10.25_i386.deb) ...
> Preparing to replace linux-image-386 2.6.12.16
> (using .../linux-image-386_2.6.12.16.1_i386.deb) ...
> Unpacking replacement linux-image-386 ...
> Selecting previously deselected package
> linux-restricted-modules-2.6.12-10-386.
> Unpacking linux-restricted-modules-2.6.12-10-386
> (from .../linux-restricted-modules-2.6.12-10-386_2.6.12.4-11.1_i386.deb) ...
> Preparing to replace linux-restricted-modules-386 2.6.12.16
> (using .../linux-restricted-modules-386_2.6.12.16.1_i386.deb) ...
> Unpacking replacement linux-restricted-modules-386 ...
> Setting up libgpgme11 (1.0.2-1build1) ...
>
> Setting up libkleopatra0a (3.4.3-0ubuntu3) ...
>
> Setting up linux-image-2.6.12-10-386 (2.6.12-10.25) ...
> There was a problem running depmod. This may be benign,
> (You may have versioned symbol names, for instance).
> Or this could be an error.
> depmod exited with return value 0
> depmod got a signal 7
> Since this image uses initrd, I am not deleting the file
> /lib/modules/2.6.12-10-386/modules.dep. However, there is no
> guarantee that the file is valid. I would strongly advice
> you to either abort and fix the errors in depmod, or
> regenerate the initrd image with a known good modules.dep
> file. I repeat, an initrd kernel image with a bad modules.dep
> shall fail to boot.
> Would you like to abort now? [No]
> </snip>
>
> Ideas appreciated, since I do not want to fubar my install.
>
> Dana
>
More information about the kubuntu-users
mailing list