package initramfs-tools 0.92bubuntu52 failed to install/upgrade:

Bug #448716 reported by popov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

was trying to update ubuntu to 9.10

ProblemType: Package
Architecture: i386
Date: Sun Oct 11 17:54:11 2009
DistroRelease: Ubuntu 9.10
ErrorMessage:
 ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
Package: initramfs-tools 0.92bubuntu52
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.28-15.52-generic
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.92bubuntu52 failed to install/upgrade:
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
popov (leha-popov) wrote :
Revision history for this message
popov (leha-popov) wrote :

sudo dpkg --configure -a
Настраивается пакет initramfs-tools (0.92bubuntu52) ...
update-initramfs: deferring update (trigger activated)

Настраивается пакет linux-image-2.6.31-13-generic (2.6.31-13.44) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.31-13-generic
cpio: ./sbin/vol_id: не удаётся stat: No such file or directory <----- HERE !
update-initramfs: failed for /boot/initrd.img-2.6.31-13-generic
Failed to create initrd image.
dpkg: не удалось обработать параметр linux-image-2.6.31-13-generic (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 2
dpkg: зависимости пакетов не позволяют настроить пакет linux-image-generic:
 linux-image-generic зависит от linux-image-2.6.31-13-generic, однако:
  Пакет linux-image-2.6.31-13-generic пока не настроен.
dpkg: не удалось обработать параметр linux-image-generic (--configure):
 проблемы зависимостей -- оставляем не настроенным
dpkg: зависимости пакетов не позволяют настроить пакет linux-generic:
 linux-generic зависит от linux-image-generic (= 2.6.31.13.24), однако:
  Пакет linux-image-generic пока не настроен.
dpkg: не удалось обработать параметр linux-generic (--configure):
 проблемы зависимостей -- оставляем не настроенным
Обрабатываются триггеры для initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
cpio: ./sbin/vol_id: не удаётся stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.28-15-generic
dpkg: подпроцесс установлен сценарий post-installation возвратил код ошибки 1

Revision history for this message
popov (leha-popov) wrote :

grep -r vol_id /usr/share/initramfs-tools
/usr/share/initramfs-tools/scripts/local-top/dmraid:# Activate any dmraid arrays that were not identified by udev and vol_id.

Revision history for this message
popov (leha-popov) wrote :

same with 0.92bubuntu53

Revision history for this message
popov (leha-popov) wrote :

I found the problem -- it was in a script at /etc/initramfs-tools/scripts/local-top/cryptoroot -- where was a link to vol_id. Just removed it, everything went smooth after that. This scripts was mentioned somewhere in "HOWTO encrypted / partition", someone may have same problem ;)

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.