Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 58

Thread: Errors during autoremove

  1. #31
    Join Date
    Mar 2007
    Beans
    78

    Re: Errors during autoremove

    Code:
    sudo apt purge linux-{headers,image}-4.15.0-{76,88,91,96,99,101.106}.*
    https://pastebin.com/ceeseFPW
    Code:
    sudo apt -f install
    https://pastebin.com/bfcVBaqD
    Reboot
    Code:
    sudo apt update
    Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:2 http://repos.interior.edu.uy/ubuntu bionic InRelease
    Hit:3 http://repos.interior.edu.uy/ubuntu bionic-updates InRelease
    Hit:4 http://linux.teamviewer.com/deb stable InRelease
    Hit:5 http://repos.interior.edu.uy/ubuntu bionic-backports InRelease
    Hit:6 http://repos.interior.edu.uy/ubuntu bionic-security InRelease
    Hit:7 http://ppa.launchpad.net/hluk/copyq/ubuntu bionic InRelease
    Hit:8 https://deb.opera.com/opera-stable stable InRelease
    Hit:9 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    1 package can be upgraded. Run 'apt list --upgradable' to see it.
    Code:
    apt list --upgradable
    copyq/bionic 3.12.0~bionic amd64 [upgradable from: 3.11.1~bionic]
    N: There are 2 additional versions. Please use the '-a' switch to see them.
    Code:
    apt list --upgradable -a
    copyq/bionic 3.12.0~bionic amd64 [upgradable from: 3.11.1~bionic]
    copyq/now 3.11.1~bionic amd64 [installed,upgradable to: 3.12.0~bionic]
    copyq/bionic 3.2.0-1 amd64
    Code:
    sudo apt upgrade
    https://pastebin.com/cfuWEUhx
    Code:
    apt list --upgradable -a
    Listing... Done
    Code:
    sudo dpkg -C
    The following packages have been unpacked but not yet configured.
    They must be configured using dpkg --configure or the configure
    menu option in dselect for them to work:
    linux-generic Complete Generic Linux kernel and headers
    linux-image-generic Generic Linux kernel image
    linux-signed-generic Complete Signed Generic Linux kernel and headers (dummy t

    The following packages are only half configured, probably due to problems
    configuring them the first time. The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
    initramfs-tools generic modular initramfs generator (automation)
    linux-firmware Firmware for Linux kernel drivers
    linux-image-4.15.0-108-generic Signed kernel image generic
    linux-image-4.15.0-109-generic Signed kernel image generic
    linux-image-4.15.0-91-generic Signed kernel image generic

  2. #32
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,643
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Errors during autoremove

    marciano#1 - progress made - but
    Huh ??
    linux-image-4.15.0-91-generic Signed kernel image generic
    Wonder how this got re-installed,
    Try again:
    Code:
    ls -al /usr/src/
    ls -al /lib/modules/
    ls -al /boot/
    get rid of that 91 kernel then we address linux-generic .

    sometimes I wonder
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #33
    Join Date
    Mar 2007
    Beans
    78

    Re: Errors during autoremove

    Code:
    ls -al /usr/src/
    total 28
    drwxr-xr-x 7 root root 4096 jul 6 21:20 .
    drwxr-xr-x 11 root root 4096 ago 13 2019 ..
    drwxr-xr-x 25 root root 4096 jul 2 10:37 linux-headers-4.15.0-108
    drwxr-xr-x 8 root root 4096 jul 2 10:37 linux-headers-4.15.0-108-generic
    drwxr-xr-x 25 root root 4096 jul 6 19:53 linux-headers-4.15.0-109
    drwxr-xr-x 8 root root 4096 jul 6 19:53 linux-headers-4.15.0-109-generic
    drw-r-xr-x 8 root root 4096 mar 1 21:12 rtl8192eu-4.4

    Code:
    ls -al /lib/modules/
    total 16
    drwxr-xr-x 4 root root 4096 jul 12 16:44 .
    drwxr-xr-x 21 root root 4096 abr 30 2018 ..
    drwxr-xr-x 5 root root 4096 jul 12 18:44 4.15.0-108-generic
    drwxr-xr-x 5 root root 4096 jul 12 18:44 4.15.0-109-generic
    Code:
    ls -al /boot/
    total 180704
    drwxr-xr-x 4 root root 4096 jul 12 18:45 .
    drwxr-xr-x 24 root root 4096 jul 6 19:54 ..
    -rw-r--r-- 1 root root 512 feb 13 20:21 boot.0800
    -rw-r--r-- 1 root root 512 feb 13 20:21 boot.0820
    -rw-r--r-- 1 root root 512 feb 13 20:21 boot.0830
    -rw-r--r-- 1 root root 512 jun 21 09:42 boot.0840
    -rw-r--r-- 1 root root 113162 feb 13 20:21 coffee.bmp
    -rw-r--r-- 1 root root 217473 jun 19 08:07 config-4.15.0-108-generic
    -rw-r--r-- 1 root root 217473 jun 22 23:07 config-4.15.0-109-generic
    -rw-r--r-- 1 root root 22466 feb 13 20:21 debian.bmp
    -rw-r--r-- 1 root root 22560 feb 13 20:21 debian-de.bmp
    -rw-r--r-- 1 root root 31628 feb 13 20:21 debianlilo.bmp
    drwx------ 3 root root 4096 dic 31 1969 efi
    drwxr-xr-x 5 root root 4096 jul 6 21:20 grub
    -rw-r--r-- 1 root root 39456928 jul 12 18:45 initrd.img-4.15.0-108-generic
    -rw-r--r-- 1 root root 39457411 jul 6 19:54 initrd.img-4.15.0-108-generic.dpkg-bak
    -rw-r--r-- 1 root root 39464656 jul 12 18:45 initrd.img-4.15.0-109-generic
    -rw-r--r-- 1 root root 39464031 jul 12 18:45 initrd.img-4.15.0-109-generic.dpkg-bak
    -rw-r--r-- 1 root root 22578 feb 13 20:21 inside.bmp
    -rw------- 1 root root 961024 feb 19 06:32 map
    -rw-r--r-- 1 root root 182704 ene 28 2016 memtest86+.bin
    -rw-r--r-- 1 root root 184380 ene 28 2016 memtest86+.elf
    -rw-r--r-- 1 root root 184840 ene 28 2016 memtest86+_multiboot.bin
    -rw-r--r-- 1 root root 6878 feb 13 20:21 onlyblue.bmp
    -rw------- 1 root root 4073353 jun 19 08:07 System.map-4.15.0-108-generic
    -rw------- 1 root root 4073543 jun 22 23:07 System.map-4.15.0-109-generic
    -rw-r--r-- 1 root root 33192 feb 13 20:21 tuxlogo.bmp
    -rw------- 1 root root 8380064 jun 19 08:08 vmlinuz-4.15.0-108-generic
    -rw------- 1 root root 8380064 jun 22 23:15 vmlinuz-4.15.0-109-generic
    Code:
    locate 4.15.0-91
    /boot/System.map-4.15.0-91-generic
    /boot/config-4.15.0-91-generic
    /boot/initrd.img-4.15.0-91-generic
    /boot/initrd.img-4.15.0-91-generic.dpkg-bak
    /boot/vmlinuz-4.15.0-91-generic
    /lib/modprobe.d/blacklist_linux_4.15.0-91-generic.conf
    /lib/modules/4.15.0-91-generic
    /usr/lib/linux/triggers/4.15.0-91-generic
    /usr/share/doc/linux-image-4.15.0-91-generic
    /usr/share/doc/linux-image-unsigned-4.15.0-91-generic
    /usr/share/doc/linux-modules-4.15.0-91-generic
    /usr/share/doc/linux-modules-extra-4.15.0-91-generic
    /usr/share/doc/linux-image-4.15.0-91-generic/changelog.Debian.gz
    /usr/share/doc/linux-image-4.15.0-91-generic/copyright
    /usr/share/doc/linux-modules-4.15.0-91-generic/changelog.Debian.gz
    /usr/share/doc/linux-modules-4.15.0-91-generic/copyright
    /usr/share/doc/linux-modules-extra-4.15.0-91-generic/changelog.Debian.gz
    /usr/share/doc/linux-modules-extra-4.15.0-91-generic/copyright
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.list
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.md5sums
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.postinst
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.postrm
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.preinst
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.prerm
    /var/lib/dpkg/info/linux-image-4.15.0-91-generic.triggers
    /var/lib/dpkg/info/linux-modules-4.15.0-91-generic.list
    /var/lib/dpkg/info/linux-modules-4.15.0-91-generic.md5sums
    /var/lib/dpkg/info/linux-modules-4.15.0-91-generic.postinst
    /var/lib/dpkg/info/linux-modules-4.15.0-91-generic.postrm
    /var/lib/dpkg/info/linux-modules-extra-4.15.0-91-generic.list
    /var/lib/dpkg/info/linux-modules-extra-4.15.0-91-generic.md5sums
    /var/lib/dpkg/info/linux-modules-extra-4.15.0-91-generic.postinst
    /var/lib/dpkg/info/linux-modules-extra-4.15.0-91-generic.postrm
    /var/lib/dpkg/triggers/linux-update-4.15.0-91-generic
    /var/lib/initramfs-tools/4.15.0-91-generic
    Last edited by marciano#1; 3 Weeks Ago at 11:52 PM.

  4. #34
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,643
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Errors during autoremove

    marciano#1; Humm ...

    The find results from what is present in memory ? As we can see the -91 files no longer exist in the respective directories.
    Maybe roll our sleeves up and find out what debian.bmp is all about ?

    What results if you reboot the machine and then run all those above "looking" commands again ?

    got to be a reason
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #35
    Join Date
    Mar 2007
    Beans
    78

    Re: Errors during autoremove

    1) Reboot
    2)
    Code:
     sudo apt purge linux-{headers,image}-4.15.0-{76,88,91,96,99,101.106}.*
    https://pastebin.com/z4uvDvH8
    3)
    Code:
    sudo apt -f install
    https://pastebin.com/yvFpsVGR
    4)
    Code:
    sudo apt autoremove
    https://pastebin.com/aDdie1wC
    5)
    Code:
    sudo apt update
    Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:2 https://deb.opera.com/opera-stable stable InRelease
    Hit:3 http://linux.teamviewer.com/deb stable InRelease
    Hit:4 http://repos.interior.edu.uy/ubuntu bionic InRelease
    Hit:5 http://repos.interior.edu.uy/ubuntu bionic-updates InRelease
    Hit:6 http://repos.interior.edu.uy/ubuntu bionic-backports InRelease
    Hit:7 http://repos.interior.edu.uy/ubuntu bionic-security InRelease
    Hit:8 http://ppa.launchpad.net/hluk/copyq/ubuntu bionic InRelease
    Hit:9 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    6)
    Code:
    sudo apt upgrade
    https://pastebin.com/P2V0JVuZ
    7)
    Code:
    sudo dpkg -C
    The following packages have been unpacked but not yet configured.
    They must be configured using dpkg --configure or the configure
    menu option in dselect for them to work:
    linux-generic Complete Generic Linux kernel and headers
    linux-image-generic Generic Linux kernel image
    linux-signed-generic Complete Signed Generic Linux kernel and headers (dummy t

    The following packages are only half configured, probably due to problems
    configuring them the first time. The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
    initramfs-tools generic modular initramfs generator (automation)
    linux-firmware Firmware for Linux kernel drivers
    linux-image-4.15.0-108-generic Signed kernel image generic
    linux-image-4.15.0-109-generic Signed kernel image generic
    8)
    Code:
    sudo dpkg --configure linux-image-4.15.0-109-generic
    Setting up linux-image-4.15.0-109-generic (4.15.0-109.110) ...
    Processing triggers for linux-image-4.15.0-109-generic (4.15.0-109.110) ...
    /etc/kernel/postinst.d/dkms:
    * dkms: running auto installation service for kernel 4.15.0-109-generic

    Kernel preparation unnecessary for this kernel. Skipping...
    applying patch Fix-build-for-4.4.patch...patching file hal/hal_btcoex.c
    patching file hal/hal_com.c
    patching file hal/hal_com_phycfg.c
    patching file include/hal_com.h
    patching file include/rtw_debug.h
    patching file Makefile
    patching file os_dep/linux/usb_intf.c


    Building module:
    cleaning build area...
    'make' KVER=4.15.0-109-generic...(bad exit status: 2)
    ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8192eu-dkms.0.crash'
    Error! Bad return status for module build on kernel: 4.15.0-109-generic (x86_64)
    Consult /var/lib/dkms/rtl8192eu/4.4/build/make.log for more information.
    ...done.
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-4.15.0-109-generic
    /etc/kernel/postinst.d/zz-runlilo:
    Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory
    run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
    dpkg: error processing package linux-image-4.15.0-109-generic (--configure):
    installed linux-image-4.15.0-109-generic package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    linux-image-4.15.0-109-generic
    9)
    Code:
    sudo dpkg --configure linux-image-4.15.0-108-generic
    Setting up linux-image-4.15.0-108-generic (4.15.0-108.109) ...
    Processing triggers for linux-image-4.15.0-108-generic (4.15.0-108.109) ...
    /etc/kernel/postinst.d/dkms:
    * dkms: running auto installation service for kernel 4.15.0-108-generic

    Kernel preparation unnecessary for this kernel. Skipping...
    applying patch Fix-build-for-4.4.patch...patching file hal/hal_btcoex.c
    patching file hal/hal_com.c
    patching file hal/hal_com_phycfg.c
    patching file include/hal_com.h
    patching file include/rtw_debug.h
    patching file Makefile
    patching file os_dep/linux/usb_intf.c


    Building module:
    cleaning build area...
    'make' KVER=4.15.0-108-generic...(bad exit status: 2)
    ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8192eu-dkms.0.crash'
    Error! Bad return status for module build on kernel: 4.15.0-108-generic (x86_64)
    Consult /var/lib/dkms/rtl8192eu/4.4/build/make.log for more information.
    ...done.
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-4.15.0-108-generic
    /etc/kernel/postinst.d/zz-runlilo:
    Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory
    run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
    dpkg: error processing package linux-image-4.15.0-108-generic (--configure):
    installed linux-image-4.15.0-108-generic package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    linux-image-4.15.0-108-generic
    10)
    Code:
    sudo dpkg --configure linux-firmware
    Setting up linux-firmware (1.173.19) ...
    update-initramfs: Generating /boot/initrd.img-4.15.0-109-generic
    Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory
    run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1
    dpkg: error processing package linux-firmware (--configure):
    installed linux-firmware package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    linux-firmware
    11)
    Code:
    sudo dpkg --configure initramfs-tools
    Setting up initramfs-tools (0.130ubuntu3.9) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
    update-initramfs: Generating /boot/initrd.img-4.15.0-109-generic
    Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory
    run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1
    dpkg: error processing package initramfs-tools (--configure):
    installed initramfs-tools package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    initramfs-tools

  6. #36
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,643
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Errors during autoremove

    marciano#1; Ouch - My Bad
    "Starting with a certain release number (maybe 4.15.*) the "extra modules" package is no longer named linux-image-extra-xxx but linux-modules-extra-xxx," I plumb missed these.

    Let's see if:
    Code:
    sudo apt purge linux-{headers,image,modules,modules-extra}-4.15.0-{76,88,91,96,99,101,106}.*
    will purge the pesky 4.15.0-91-generic and 4.15.0-76-generic components as well as any other remnants on the system.

    sometimes I do not see the tree at all
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #37
    Join Date
    Mar 2007
    Beans
    78

    Re: Errors during autoremove

    Don't worry!
    Here we go.
    Code:
    sudo apt purge linux-{headers,image}-4.15.0-{76,88,91,96,99,101.106}.*
    https://pastebin.com/W18FJ9aV
    Code:
    sudo apt update
    Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:2 https://deb.opera.com/opera-stable stable InRelease
    Hit:3 http://linux.teamviewer.com/deb stable InRelease
    Hit:4 http://repos.interior.edu.uy/ubuntu bionic InRelease
    Hit:5 http://repos.interior.edu.uy/ubuntu bionic-updates InRelease
    Hit:6 http://repos.interior.edu.uy/ubuntu bionic-backports InRelease
    Hit:7 http://repos.interior.edu.uy/ubuntu bionic-security InRelease
    Hit:8 http://ppa.launchpad.net/hluk/copyq/ubuntu bionic InRelease
    Hit:9 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    Code:
    sudo apt upgrade
    https://pastebin.com/rDmGUR3M
    Code:
    sudo dpkg -C
    The following packages have been unpacked but not yet configured.
    They must be configured using dpkg --configure or the configure
    menu option in dselect for them to work:
    linux-generic Complete Generic Linux kernel and headers
    linux-image-generic Generic Linux kernel image
    linux-signed-generic Complete Signed Generic Linux kernel and headers (dummy t

    The following packages are only half configured, probably due to problems
    configuring them the first time. The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
    initramfs-tools generic modular initramfs generator (automation)
    linux-firmware Firmware for Linux kernel drivers
    linux-image-4.15.0-108-generic Signed kernel image generic
    linux-image-4.15.0-109-generic Signed kernel image generic
    Code:
    sudo dpkg --configure linux-image-4.15.0-109-generic
    https://pastebin.com/0JHT3EE8

  8. #38
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,643
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Errors during autoremove

    marciano#1; nope -

    Note the changed purge command:
    Code:
    sudo apt purge linux-{headers,image,modules,modules-extra}-4.15.0-{76,88,91,96,99,101,106}.*
    (also has a typo correction for a period vice comma).

    We are making progress. But, there are a couple of items to find resolution.
    Reboot after the purge completes and post back:
    Code:
    dpkg -l | grep linux-
    see now what we have to direct the package manager to conduct.

    we can do - Yes !
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  9. #39
    Join Date
    Mar 2007
    Beans
    78

    Re: Errors during autoremove

    Code:
    dpkg -l | grep linux -
    https://pastebin.com/h8ahnyqz

  10. #40
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,643
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Errors during autoremove

    marciano#1; Huh ?

    Why of why - where does -91 keep getting installed from ?

    Can we get some hints as to what is going on from:
    Code:
    sudo apt --purge linux-image-4.15.0-91-generic
    sudo apt --purge linux-modules-4.15.0-91-generic
    sudo apt --purge linux-modules-extra-4.15.0-91-generic
    and still to deal with is linux-firmware, linux-generic, linux-signed-generic. and linux-image-generic 4.15.0.109.97. Which at some point we will have the package manager cope with them.

    A process in learning
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 4 of 6 FirstFirst ... 23456 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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