AndronixOrigin icon indicating copy to clipboard operation
AndronixOrigin copied to clipboard

cant install some packages ( i think its caused by boot files)

Open qwerty65432 opened this issue 3 years ago • 1 comments

qwerty65432 avatar May 21 '21 21:05 qwerty65432

during apt package installing something went wrong. before this errors was cased by default language setting from dpkg activity, *gets error even with uninstalling i think fake system files makes errors. pleas help me.

root@localhost:~# apt install pythhon3.9Reading package lists... DoneBuilding dependency treeReading state information... Donepython3.9 is already the newest version (3.9.0-5~20.04).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n]Setting up initramfs-tools (0.136ubuntu6.5) ...update-initramfs: deferring update (trigger activated)Setting up flash-kernel (3.103ubuntu1~20.04.1) ...flash-kernel: deferring update (trigger activated)Processing triggers for initramfs-tools (0.136ubuntu6.5) ...ln: failed to access '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': Operation not permittedcp: cannot create regular file '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': File existsdpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Errors were encountered while processing: initramfs-toolsE: Sub-process /usr/bin/dpkg returned an error code (1)root@localhost:~# apt upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n]Setting up initramfs-tools (0.136ubuntu6.5) ...update-initramfs: deferring update (trigger activated)Processing triggers for flash-kernel (3.103ubuntu1~20.04.1) ...Unsupported platform.dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1Processing triggers for initroot@localhost:~# apt install python3.9Reading package lists... DoneBuilding dependency treeReading state information... Donepython3.9 is already the newest version (3.9.0-5~20.04).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n]Setting up initramfs-tools (0.136ubuntu6.5) ...update-initramfs: deferring update (trigger activated)Setting up flash-kernel (3.103ubuntu1~20.04.1) ...flash-kernel: deferring update (trigger activated)Processing triggers for initramfs-tools (0.136ubuntu6.5) ...ln: failed to access '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': Operation not permittedcp: cannot create regular file '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': File existsdpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Errors were encountered while processing: initramfs-toolsE: Sub-process /usr/bin/dpkg returned an error code (1)root@localhost:~# apt upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n]Setting up initramfs-tools (0.136ubuntu6.5) ...update-initramfs: deferring update (trigger activated)Processing triggers for flash-kernel (3.103ubuntu1~20.04.1) ...Unsupported platform.dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1Processing triggers for initramfs-tools (0.136ubuntu6.5) ...ln: failed to access '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': Operation not permittedcp: cannot create regular file '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': File existsdpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Errors were encountered while processing: flash-kernel initramfs-toolsE: Sub-process /usr/bin/dpkg returned an error code (1)ramfs-tools (0.136ubuntu6.5) ...ln: failed to access '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': Operation not permittedcp: cannot create regular file '/boot/initrd.img-5.8.0-53-generic.dpkg-bak': File existsdpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Errors were encountered while processing: flash-kernel initramfs-toolsE: Sub-process /usr/bin/dpkg returned an error code (1)

qwerty65432 avatar May 21 '21 22:05 qwerty65432