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

Bug#532049: readlink error in mkinitramfs-kpkg



On Sat, 06 Jun 2009, Victor Stinner wrote:

> Package: linux-image-2.6.26-2-686
> Version: 2.6.26-15
> 
> Hi, I tried to install Debian Sid and then Debian Testing using the
> daily (today, 6 june) netinst CDRom (i386). I get a first crash in
> deboostrap (see #532047), but it was easy to workaround this crash:
> just restart "install base system" installer step. But then the
> kernel installation failed :-/ And without kernel, it's difficult to
> finish the installation... Here are the last lines of syslog before
> the error:
> 
> ...
> Jun 6 01:17:49 in-target: Dépaquetage de linux-image-2.6.26-2-686 (à
> partir de .../linux-image-2.6.26-2-686_2.6.26-15_i386.deb) ...
> Jun 6 01:17:49 debconf: Obsolete command TITLE Configuration de
> linux-image-2.6.26-2-686 called
> Jun 6 01:17:50 in-target: Done.
> Jun 6 01:17:51 in-target: Sélection du paquet linux-image-2.6-686
> précédemment désélectionné.
> Jun 6 01:17:51 in-target: Dépaquetage de linux-image-2.6-686 (à
> partir de .../linux-image-2.6-686_2.6.26+17+lenny1_i386.deb) ...
> Jun 6 01:17:52 in-target: Paramétrage de linux-image-2.6.26-2-686
> (2.6.26-15) ...
> Jun 6 01:17:52 debconf: Obsolete command TITLE Configuration de
> linux-image-2.6.26-2-686 called
> Jun 6 01:17:52 in-target: Running depmod.
> Jun 6 01:17:52 in-target: Running mkinitramfs-kpkg.
> Jun 6 01:17:52 in-target: Deprecation WARNING: use update-initramfs(8)
> Jun 6 01:17:52 in-target: dpkg : avertissement : option obsolète «
> --print-installation-architecture », veuillez utiliser «
> --print-architecture » à la place.
> Jun 6 01:17:52 in-target: dpkg : avertissement : option obsolète «
> --print-installation-architecture », veuillez utiliser «
> --print-architecture » à la place.
> Jun 6 01:17:52 in-target: readlink:
> Jun 6 01:17:52 in-target: opérande manquante
> Jun 6 01:17:52 in-target:
> Jun 6 01:17:52 in-target: Pour en savoir davantage, faites: «
> readlink --help ».
> Jun 6 01:17:52 in-target: mkinitramfs-kpkg failed to create initrd image.
> Jun 6 01:17:52 in-target: Failed to create initrd image.
> Jun 6 01:17:52 in-target: dpkg : erreur de traitement de
> linux-image-2.6.26-2-686 (--configure) :
> Jun 6 01:17:52 in-target: le sous-processus script post-installation
> installé a retourné une erreur de sortie d'état 9
> Jun 6 01:17:52 in-target: dpkg : des problèmes de dépendances
> empêchent la configuration de linux-image-2.6-686 :
> Jun 6 01:17:52 in-target: linux-image-2.6-686 dépend de
> linux-image-2.6.26-2-686 ; cependant :
> Jun 6 01:17:52 in-target: Le paquet linux-image-2.6.26-2-686 n'est
> pas encore configuré.
> Jun 6 01:17:52 in-target: dpkg : erreur de traitement de
> linux-image-2.6-686 (--configure) :
> Jun 6 01:17:52 in-target: problèmes de dépendances - laissé non configuré
> Jun 6 01:17:52 in-target: Des erreurs ont été rencontrées pendant
> l'exécution :
> Jun 6 01:17:52 in-target: linux-image-2.6.26-2-686
> Jun 6 01:17:52 in-target: linux-image-2.6-686
> Jun 6 01:17:52 in-target: E: Sub-process /usr/bin/dpkg returned an
> error code (1)
> Jun 6 01:17:52 base-installer: error: exiting on error
> base-installer/kernel/failed-install
> 
> I think that the error is just "readlink: missing operand", error
> from mkinitramfs-kpkg.
> 
> I tried different options to install the kernel (version
> linux-image-2.6-686 or linux-image-2.6-2-686, big initrd or small
> initrd, ...), but it doesn't fix the issue.
> 

please show the output of
sh -x mkinitramfs -o /tmp/foo


otherwise really unclear what happens.




Reply to: