Hello,
My apologies for the late reply, the pc did not boot anymore and i had
to use a rescue disk and chroot etc...
maximilian attems wrote:
On Sun, 27 Jan 2008, Dirk Van Hertem wrote:
I experience problems after an apt-get dist-upgrade of my hppa machine
with the initramfs-tools package, and I did not find anything in the
BTS concerning this problem. I got the following error:
hmm i've never seen such.
nice :-)
--8<------------------------------
$ sudo apt-get install initramfs-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
initramfs-tools is already the newest version.
The following packages were automatically installed and are no longer
required:
qt4-doc libgfortran2 binutils-hppa64 qt4-designer gfortran-4.2 libt1-5
qt4-dev-tools libpoppler1 lesstif2 libxp6 xpdf-common libpisync0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up initramfs-tools (0.91d) ...
update-initramfs: Generating /boot/initrd.img-2.6.22-3-parisc64
dpkg: error processing initramfs-tools (--configure):
subprocess post-installation script returned error exit status 133
dpkg: dependency problems prevent configuration of
linux-image-2.6.23-1-parisc64:
linux-image-2.6.23-1-parisc64 depends on initramfs-tools (>= 0.55) |
yaird (>= 0.0.12-8) | linux-initramfs-tool; however:
Package initramfs-tools is not configured yet.
Package yaird is not installed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is not
configured yet.
dpkg: error processing linux-image-2.6.23-1-parisc64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
initramfs-tools
linux-image-2.6.23-1-parisc64
E: Sub-process /usr/bin/dpkg returned an error code (1)
--8<------------------------------
Innitially, only the initramfs-tools package returned an error and i
tried to install the new kernel only later. I had a look in the
/var/lib/dpkg/info/initramfs-tools.postinst file, and I excecuted the
"update-initramfs -u" by hand, and that gave no error...
this makes it more mysterious, this file is really abysmall.
and really does not more then this.
i'll leave that open for now in case someone else can reproduce.
so now initramfs-tools is installed and aboves is not reproducable?
nope, it is installed, but not correctly, each time i install something
it reconfigures:
sh-3.1# dpkg -l initramfs-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
iF initramfs-tool 0.91d tools for generating an initramfs
what does the ouput of:
sh -x update-initramfs -u
sh -x update-initramfs -u
+ STATEDIR=/var/lib/initramfs-tools
+ BOOTDIR=/boot
+ CONF=/etc/initramfs-tools/update-initramfs.conf
+ KPKGCONF=/etc/kernel-img.conf
+ mode=
+ version=
+ set -e
+ '[' -r /etc/initramfs-tools/update-initramfs.conf ']'
+ . /etc/initramfs-tools/update-initramfs.conf
++ update_initramfs=yes
++ backup_initramfs=yes
+ verbose=0
+ yes=0
+ takeover=0
+ getopts 'k:cudyvtb:h?' flag
+ case "${flag}" in
+ mode=u
+ getopts 'k:cudyvtb:h?' flag
+ '[' -z u ']'
+ '[' '' = all ']'
+ '[' yes = all ']'
+ case "${mode}" in
+ update
+ '[' yes = no ']'
+ '[' -z '' ']'
+ set_linked_version
+ '[' -L /initrd.img ']'
+ '[' -L /boot/initrd.img ']'
+++ readlink /boot/initrd.img
++ basename initrd.img-2.6.22-3-parisc64
+ linktarget=initrd.img-2.6.22-3-parisc64
+ '[' -z initrd.img-2.6.22-3-parisc64 ']'
+ version=2.6.22-3-parisc64
+ '[' -z 2.6.22-3-parisc64 ']'
+ '[' -z 2.6.22-3-parisc64 ']'
+ '[' -z 2.6.22-3-parisc64 ']'
+ set_initramfs
+ initramfs=/boot/initrd.img-2.6.22-3-parisc64
+ ro_boot_check
+ '[' '!' -r /proc/mounts ']'
+ chrooted
++ stat -c %d/%i /
++ stat -Lc %d/%i /proc/1/root
+ '[' 2051/2 = 1/3 ']'
+ return 0
+ return 0
+ altered_check
+ '[' 0 = 1 ']'
+ '[' '!' -e /boot/initrd.img-2.6.22-3-parisc64 ']'
+ compare_sha1
+ sha1sum /boot/initrd.img-2.6.22-3-parisc64
+ diff /var/lib/initramfs-tools/2.6.22-3-parisc64 -
+ return 0
+ backup_initramfs
+ '[' '!' -r /boot/initrd.img-2.6.22-3-parisc64 ']'
+ initramfs_bak=/boot/initrd.img-2.6.22-3-parisc64.dpkg-bak
+ '[' -r /boot/initrd.img-2.6.22-3-parisc64.dpkg-bak ']'
+ rm -f /boot/initrd.img-2.6.22-3-parisc64.dpkg-bak
+ mv -f /boot/initrd.img-2.6.22-3-parisc64
/boot/initrd.img-2.6.22-3-parisc64.dpkg-bak
+ verbose 'Keeping /boot/initrd.img-2.6.22-3-parisc64.dpkg-bak'
+ '[' 0 = 1 ']'
+ generate_initramfs
+ echo 'update-initramfs: Generating /boot/initrd.img-2.6.22-3-parisc64'
update-initramfs: Generating /boot/initrd.img-2.6.22-3-parisc64
+ OPTS=-o
+ '[' 0 = 1 ']'
+ mkinitramfs -o /boot/initrd.img-2.6.22-3-parisc64 2.6.22-3-parisc64
+ set_sha1
+ sha1sum /boot/initrd.img-2.6.22-3-parisc64
+ run_bootloader
+ '[' -x /sbin/grub ']'
+ '[' -e /boot/grub/menu.lst ']'
+ '[' -x /usr/sbin/grub ']'
+ '[' -r /etc/lilo.conf ']'
+ '[' -x /sbin/elilo ']'
+ '[' -r /etc/zipl.conf ']'
+ backup_booted_initramfs
+ initramfs_bak=/boot/initrd.img-2.6.22-3-parisc64.dpkg-bak
+ '[' '!' -r /boot/initrd.img-2.6.22-3-parisc64.dpkg-bak ']'
+ '[' '!' -r /proc/uptime ']'
+ '[' yes = no ']'
+ '[' '!' -r /boot/initrd.img-2.6.22-3-parisc64.bak ']'
++ awk '{printf "%d", $1 / 3600 / 24}' /proc/uptime
+ uptime_days=0
+ '[' -n 0 ']'
++ find /boot/initrd.img-2.6.22-3-parisc64.bak -mtime +0
+ boot_initramfs=
echo $?
133
Let me know if you require further information.
yes seeing the failure, is your disc full?
nope,
sh-3.1# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 8.2G 2.0G 5.8G 26% /
tmpfs 8.2G 2.0G 5.8G 26% /lib/init/rw
sysfs 8.2G 2.0G 5.8G 26% /sys
udev 8.2G 2.0G 5.8G 26% /dev
tmpfs 8.2G 2.0G 5.8G 26% /dev/shm
devpts 8.2G 2.0G 5.8G 26% /dev/pts
/dev/sda2 137M 25M 106M 19% /boot
/dev/sdb2 7.6G 1.4G 5.9G 19% /home
Thank you in advance,
Dirk
--
Dirk Van Hertem [EMAIL PROTECTED]
Electrical Engineering Department http://www.esat.kuleuven.be/electa
K.U. Leuven, ESAT-ELECTA tel: +32-16-32.18.95
10, Kasteelpark Arenberg, B-3001 Heverlee fax: +32-16-32.19.85
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]