PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Cannot update kernel
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Cannot update kernel

Réponse
 
LinkBack Outils de la discussion
Vieux 28/01/2008, 18h10   #1
Dotan Cohen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Cannot update kernel

On Debian Etch on a white box AMD machine with 1GB RAM, I cannot
update the system. This is what I get:

myhome:/home/zeev# apt-get update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Ign http://security.debian.org etch/updates/main Translation-en_US
Ign http://security.debian.org etch/updates/contrib Translation-en_US
Get:2 http://security.debian.org etch/updates Release [37.6kB]
Get:3 http://ftp.de.debian.org lenny Release.gpg [189B]
Ign http://ftp.de.debian.org lenny/main Translation-en_US
Get:4 http://ftp.de.debian.org etch Release.gpg [378B]
Ign http://ftp.de.debian.org etch/main Translation-en_US
Ign http://ftp.de.debian.org etch/non-free Translation-en_US
Get:5 http://ftp.de.debian.org lenny Release [68.6kB]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Hit http://ftp.de.debian.org etch Release
Get:6 http://security.debian.org etch/updates/main Packages [281kB]
Get:7 http://ftp.de.debian.org lenny/main Packages/DiffIndex [2038B]
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/non-free Packages/DiffIndex
Get:8 http://ftp.de.debian.org lenny/main Packages [6471kB]
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://ftp.de.debian.org etch/main Packages
Hit http://ftp.de.debian.org etch/non-free Packages
Fetched 6861kB in 1m33s (73.1kB/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct
the problem.
myhome:/home/zeev# dpkg --configure -a
myhome:/home/zeev# man configure
No manual entry for configure
myhome:/home/zeev# man dpkg
Reformatting dpkg(1), please wait...
myhome:/home/zeev# dpkg --configure
dpkg: --configure needs at least one package name argument

Type dpkg -- for about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -D for a list of dpkg debug flag values;
Type dpkg --force- for a list of forcing options;
Type dpkg-deb -- for about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !
myhome:/home/zeev# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-image-2.6.18-5-486
Suggested packages:
linux-doc-2.6.18
The following packages will be upgraded:
linux-image-2.6.18-5-486
1 upgraded, 0 newly installed, 0 to remove and 607 not upgraded.
1 not fully installed or removed.
Need to get 0B/16.2MB of archives.
After unpacking 1896kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 70759 files and directories currently installed.)
Preparing to replace linux-image-2.6.18-5-486 2.6.18.dfsg.1-13 (using
.../linux-image-2.6.18-5-486_2.6.18.dfsg.1-17_i386.deb) ...
The directory /lib/modules/2.6.18-5-486 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.18-5-486 ...
Running postrm hook script /sbin/update-grub.
You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.18-5-486
Updating /boot/grub/menu.lst ... done

Setting up linux-image-2.6.18-5-486 (2.6.18.dfsg.1-17) ...

Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-486/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/2.6.18-5-486/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.18.dfsg.1-13 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.18.dfsg.1-13 was configured last, according to dpkg)
Running postinst hook script /sbin/update-grub.
You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.18-5-486
Updating /boot/grub/menu.lst ... done

myhome:/home/zeev#

Thanks in advance.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
×-ב-×’-ד-×”-ו-×–-×—-ט-×™-ך-×›-ל-×-מ-ן-×-ס-×¢-×£-פ-×¥-צ-×§-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
  Réponse avec citation
Vieux 28/01/2008, 19h10   #2
Andrew Sackville-West
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Cannot update kernel

On Mon, Jan 28, 2008 at 08:02:51PM +0200, Dotan Cohen wrote:
> On Debian Etch on a white box AMD machine with 1GB RAM, I cannot
> update the system. This is what I get:
>
> myhome:/home/zeev# apt-get update

...
> Hit http://ftp.de.debian.org etch/non-free Packages
> Fetched 6861kB in 1m33s (73.1kB/s)
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
> to correct
> the problem.
> myhome:/home/zeev# dpkg --configure -a


okay, this looks like it succeeded, so I'm not sure why you went
through all the dpkg manual stuff, but okay.
...

The apt-get below looks like it succeeded, so I'm not sure what the
problem is here. initrd got built, grub got updated. Looks successful
to me.

> myhome:/home/zeev# apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
> linux-image-2.6.18-5-486
> Suggested packages:
> linux-doc-2.6.18
> The following packages will be upgraded:
> linux-image-2.6.18-5-486
> 1 upgraded, 0 newly installed, 0 to remove and 607 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/16.2MB of archives.
> After unpacking 1896kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Preconfiguring packages ...
> (Reading database ... 70759 files and directories currently installed.)
> Preparing to replace linux-image-2.6.18-5-486 2.6.18.dfsg.1-13 (using
> .../linux-image-2.6.18-5-486_2.6.18.dfsg.1-17_i386.deb) ...
> The directory /lib/modules/2.6.18-5-486 still exists. Continuing as directed.
> Done.
> Unpacking replacement linux-image-2.6.18-5-486 ...
> Running postrm hook script /sbin/update-grub.
> You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!
>
> Searching for GRUB installation directory ... found: /boot/grub
> Searching for default file ... found: /boot/grub/default
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... none found, skipping ...
> Found kernel: /boot/vmlinuz-2.6.18-5-486
> Updating /boot/grub/menu.lst ... done
>
> Setting up linux-image-2.6.18-5-486 (2.6.18.dfsg.1-17) ...
>
> Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-486/source
> However, I can not read the target: No such file or directory
> Therefore, I am deleting /lib/modules/2.6.18-5-486/source
>
> Running depmod.
> Finding valid ramdisk creators.
> Using mkinitramfs-kpkg to build the ramdisk.
> Not updating initrd symbolic links since we are being updated/reinstalled
> (2.6.18.dfsg.1-13 was configured last, according to dpkg)
> Not updating image symbolic links since we are being updated/reinstalled
> (2.6.18.dfsg.1-13 was configured last, according to dpkg)
> Running postinst hook script /sbin/update-grub.
> You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!
>
> Searching for GRUB installation directory ... found: /boot/grub
> Searching for default file ... found: /boot/grub/default
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... none found, skipping ...
> Found kernel: /boot/vmlinuz-2.6.18-5-486
> Updating /boot/grub/menu.lst ... done
>
> myhome:/home/zeev#
>


I guess you should check the contents of /boot to confirm it's all
okay, but I don't see any problems here.

A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHniewaIeIEqwil4YRAuTlAKCeoF3ugq2Q7sWFNvLksP INQCIbvACfb7Av
eh/arcKXo6If0Q1Bpv3ZW+s=
=idPr
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13018 seconds with 10 queries