View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003132 | Kali Linux | Kali Package Bug | public | 2016-03-10 05:05 | 2016-03-25 07:44 |
| Reporter | G3Cube | Assigned To | rhertzog | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2016.1 | ||||
| Summary | 0003132: Apt-get Upgrade produces errors | ||||
| Description | First it was only fuse, then it was also udev. BAsically, upgrade shows errors. I have attached a screen shot. | ||||
| Attached Files | udev error.txt (1,256 bytes)
root@kali:/var/lib/dpkg/info# dpkg --configure udev Setting up udev (229-2) ... + update_hwdb + systemd-hwdb --usr update + addgroup --system input addgroup: The group `input' already exists as a system group. Exiting. + [ -z 228-6 ] + upgrade_fixes configure 228-6 + dpkg --compare-versions 228-6 lt 204-1 + dpkg --compare-versions 228-6 lt 226-1 + dpkg --compare-versions 228-6 lt-nl 220-7~ + dpkg --compare-versions 228-6 lt-nl 226-2~ + chrooted + stat -c %d/%i / + stat -Lc %d/%i /proc/1/root + [ 20/9796 = 20/9796 ] + return 1 + can_start_udevd + [ ! -d /sys/class/ ] + return 0 + handle_service_rename + dpkg --compare-versions lt 204-1 + [ -d /run/systemd/system ] + systemctl stop udev.service udev-control.socket udev-kernel.socket + true + [ -d /run/systemd/system ] + systemctl daemon-reload + invoke-rc.d udev restart + update_initramfs + [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ] + update-initramfs -u update-initramfs: deferring update (trigger activated) cp: target ‘/lib/live/mount/medium/live/vmlinuz.new’ is not a directory dpkg: error processing package udev (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: udev | ||||
|
I should add: Running Live USB Encrypted Persistence 64-bit. |
|
|
Please attach an archive of the content of /etc/initramfs-tools: tar zcf initramfs-tools.tar.gz /etc/initramfs-tools And show us the content of /boot: ls -alR /boot Thank you. |
|
|
I have uploaded as you requested. Thanks for your help. |
|
|
Can you edit /var/lib/dpkg/info/udev.postinst and add "set -x" on the second line, and then run "dpkg --configure udev" and then send me the output? I know that the underlying problem is some code getting confused by the fact that you have two kernels installed but at the same time but I can't figure out what code that is... I was hoping that it would be some initramfs hook but apparently not. Can you also attach the tarball generated by "tar zcf kernel.tar.gz /etc/kernel" ? Thank you. |
|
|
Can you respond to my last queries? Thank you. |
|
|
Sorry, I replied to the email. I will attach the files here. |
|
|
udev.error.txt and kernel.tar.gz appear to be attached to this thread. |
|
|
So I understand your problem better now... the problem is that you do not have any initrd file for linux-image-4.4.0-kali1-amd64. I don't know why and how it happened. Do you have any idea? Was there an error when you installed that package? (You can try to lookup logs in /var/log/apt/*) The modified update-initramfs in live-tools finds a single initrd file and thus believes that there's a single kernel image installed when in fact you have two. To fix your issue you can try "apt --reinstall install linux-image-4.4.0-kali1-amd64" or simply "update-initramfs -c -k 4.4.0-kali1-amd64". |
|
|
Ping? Can you respond to my last queries? Thank you. |
|
|
Hi, sorry for the late reply. When I tried the first command, "apt --reinstall install linux-image-4.4.0-kali1-amd64" I received the following output: Reading package lists... Done When I tried the next command, "update-initramfs -c -k 4.4.0-kali1-amd64", I received the following output: update-initramfs: Generating /boot/initrd.img-4.4.0-kali1-amd64 I will try the "apt-get update" and "apt-get upgrade" commands when I get back from work! Talk to you later. |
|
|
Apt-get upgrade seemed to be fairly successful, although the last error quoted above repeated at the end of the upgrade: update-initramfs: Generating /boot/initrd.img-4.4.0-kali1-amd64 |
|
|
Please attach the content of /var/log/apt for inspection. tar zcf apt.tar.gz /var/log/apt |
|
|
Your command line returned the following output: root@kali:~# tar zcf apt.tar.gz /var/log/apt However, I opened a terminal window in the directory and ran a similar command. I will attach the file to this support thread. |
|
|
Thanks for the data, unfortunately there's nothing that explains why the initrd was gone missing for linux 4.4. So there's nothing to fix either. Closing the ticket. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-03-10 05:05 | G3Cube | New Issue | |
| 2016-03-10 05:05 | G3Cube | File Added: Error Upgrading 030916.png | |
| 2016-03-10 05:07 | G3Cube | Note Added: 0004834 | |
| 2016-03-10 08:13 | rhertzog | Note Added: 0004835 | |
| 2016-03-10 08:13 | rhertzog | Assigned To | => rhertzog |
| 2016-03-10 08:13 | rhertzog | Status | new => feedback |
| 2016-03-11 04:52 | G3Cube | File Added: boot.png | |
| 2016-03-11 04:53 | G3Cube | File Added: initramfs-tools.tar.gz | |
| 2016-03-11 04:54 | G3Cube | Note Added: 0004836 | |
| 2016-03-11 04:54 | G3Cube | Status | feedback => assigned |
| 2016-03-11 08:56 | rhertzog | Note Added: 0004837 | |
| 2016-03-15 00:30 | G3Cube | File Added: udev error.txt | |
| 2016-03-15 01:01 | G3Cube | File Added: kernel.tar.gz | |
| 2016-03-18 11:16 | rhertzog | Note Added: 0004983 | |
| 2016-03-18 11:16 | rhertzog | Status | assigned => feedback |
| 2016-03-18 12:28 | G3Cube | Note Added: 0004984 | |
| 2016-03-18 12:28 | G3Cube | Status | feedback => assigned |
| 2016-03-18 12:30 | G3Cube | Note Added: 0004985 | |
| 2016-03-18 13:24 | rhertzog | Note Added: 0004986 | |
| 2016-03-18 13:24 | rhertzog | Status | assigned => feedback |
| 2016-03-22 16:05 | rhertzog | Note Added: 0005006 | |
| 2016-03-23 12:30 | G3Cube | Note Added: 0005010 | |
| 2016-03-23 12:30 | G3Cube | Status | feedback => assigned |
| 2016-03-24 04:32 | G3Cube | Note Added: 0005012 | |
| 2016-03-24 09:50 | rhertzog | Note Added: 0005013 | |
| 2016-03-24 09:52 | rhertzog | Status | assigned => feedback |
| 2016-03-25 04:46 | G3Cube | Note Added: 0005018 | |
| 2016-03-25 04:46 | G3Cube | Status | feedback => assigned |
| 2016-03-25 04:46 | G3Cube | File Added: apt.tar.gz | |
| 2016-03-25 07:44 | rhertzog | Note Added: 0005019 | |
| 2016-03-25 07:44 | rhertzog | Status | assigned => closed |
| 2016-03-25 07:44 | rhertzog | Resolution | open => unable to reproduce |