Results 1 to 2 of 2

Thread: Apt-get is not working properly

  1. #1

    Apt-get is not working properly

    When I run apt-get update or apt-get upgrade or apt-get dist-upgrade I get the following errors:
    Code:
    Preparing to replace linux-image-3.14-kali1-amd64 3.14.4-1kali1 (using .../linux-image-3.14-kali1-amd64_3.14.5-1kali2_amd64.deb) ...
    Unpacking replacement linux-image-3.14-kali1-amd64 ...
    /etc/kernel/postrm.d/zz-extlinux:
    P: Checking for EXTLINUX directory... found.
    P: Writing config for /boot/vmlinuz-3.14-kali1-amd64...
    P: Updating /boot/extlinux/linux.cfg...
    P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
    run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.14-kali1-amd64.postrm line 207, <STDIN> line 2.
    dpkg: warning: subprocess old post-removal script returned error exit status 2
    dpkg: trying script from the new package instead ...
    /etc/kernel/postrm.d/zz-extlinux:
    P: Checking for EXTLINUX directory... found.
    P: Writing config for /boot/vmlinuz-3.14-kali1-amd64...
    P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
    run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 207, <STDIN> line 2.
    dpkg: error processing /var/cache/apt/archives/linux-image-3.14-kali1-amd64_3.14.5-1kali2_amd64.deb (--unpack):
     subprocess new post-removal script returned error exit status 2
    /etc/kernel/postrm.d/zz-extlinux:
    P: Checking for EXTLINUX directory... found.
    ls: cannot access vmlinuz-*: No such file or directory
    P: Updating /boot/extlinux/linux.cfg...
    P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
    run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 207, <STDIN> line 2.
    dpkg: error while cleaning up:
     subprocess new post-removal script returned error exit status 2
    Errors were encountered while processing:
     /var/cache/apt/archives/linux-image-3.14-kali1-amd64_3.14.5-1kali2_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I have tried apt-get clean and I have to right sources in my list. Could it have anything to do with using the LVM encrypted partition?

  2. #2
    Join Date
    2013-Mar
    Posts
    2
    Same issue as of today. No LVM encryption on my partition.

Similar Threads

  1. Terminal not working properly.
    By Pankaj_m in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-07-18, 02:59

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •