Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
09-11-2017, 01:09 PM
|
#1
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Rep:
|
Unmet Dependancies
HI All,
I am running Elementary Linux(elementary OS 0.4.1 Loki,Built on "Ubuntu 16.04.2 LTS" Linux 4.4.0-66-generic)
When I try to install software from the app store or via command line I get errors a typical message is shown below.
Any assistance would be very welcome.
ou might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-79-generic : Depends: linux-image-4.4.0-79-generic but it is not going to be installed
linux-image-extra-4.4.0-81-generic : Depends: linux-image-4.4.0-81-generic but it is not going to be installed
linux-image-extra-4.4.0-83-generic : Depends: linux-image-4.4.0-83-generic but it is not going to be installed
linux-image-extra-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic but it is not going to be installed
linux-image-extra-4.4.0-91-generic : Depends: linux-image-4.4.0-91-generic but it is not going to be installed
linux-image-extra-4.4.0-92-generic : Depends: linux-image-4.4.0-92-generic but it is not going to be installed
linux-image-extra-4.4.0-93-generic : Depends: linux-image-4.4.0-93-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-93-generic but it is not going to be installed
linux-signed-image-4.4.0-79-generic : Depends: linux-image-4.4.0-79-generic (= 4.4.0-79.100) but it is not going to be installed
linux-signed-image-4.4.0-81-generic : Depends: linux-image-4.4.0-81-generic (= 4.4.0-81.104) but it is not going to be installed
linux-signed-image-4.4.0-83-generic : Depends: linux-image-4.4.0-83-generic (= 4.4.0-83.106) but it is not going to be installed
linux-signed-image-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic (= 4.4.0-87.110) but it is not going to be installed
linux-signed-image-4.4.0-91-generic : Depends: linux-image-4.4.0-91-generic (= 4.4.0-91.114) but it is not going to be installed
linux-signed-image-4.4.0-92-generic : Depends: linux-image-4.4.0-92-generic (= 4.4.0-92.115) but it is not going to be installed
linux-signed-image-4.4.0-93-generic : Depends: linux-image-4.4.0-93-generic (= 4.4.0-93.116) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
|
|
|
09-11-2017, 03:08 PM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by KelsoJIm
E: Unmet dependencies. Try 'apt-get -f install' with no packages
|
did you read this? it is written in plain english, therefore it is meant to be read by humans (and acted upon). also please use code tags next time you post code to the forums.
|
|
|
09-11-2017, 08:01 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
No clue on what they are doing most likely going to end up with dead system if that is any indication of the packing skills if you ever get to install anything, that said try this.
Code:
apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 for 64-bit PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64
linux-headers-4.9.0-0.bpo.3-amd64 - Header files for Linux 4.9.0-0.bpo.3-amd64
linux-headers-4.9.0-0.bpo.3-rt-amd64 - Header files for Linux 4.9.0-0.bpo.3-rt-amd64
linux-image-4.9.0-0.bpo.3-amd64 - Linux 4.9 for 64-bit PCs
linux-image-4.9.0-0.bpo.3-amd64-dbg - Debug symbols for linux-image-4.9.0-0.bpo.3-amd64
linux-image-4.9.0-0.bpo.3-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-0.bpo.3-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-0.bpo.3-rt-amd64
linux-headers-4.9.0-2-grsec-amd64 - Header files for Linux 4.9.0-2-grsec-amd64
linux-image-4.9.0-2-grsec-amd64 - Linux 4.9 for 64-bit PCs, Grsecurity protection
linux-image-grsec-amd64 - Linux image meta-package, grsec featureset
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
linux-image-4.9.0-0.bpo.2-amd64 - Linux 4.9 for 64-bit PCs (signed)
linux-image-4.9.0-0.bpo.2-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT (signed)
linux-image-3.2.0-4-amd64 - Linux 3.2 for 64-bit PCs
This will show you what is available to install use similar to this for the name of the package you need/want to install.
Code:
root@SeedBox1:/home/seeder1# apt-get -s install linux-image-rt-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-image-rt-amd64 : Depends: linux-image-4.9.0-0.bpo.3-rt-amd64 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@SeedBox1:/home/seeder1# apt-get -s install linux-image-4.9.0-0.bpo.3-rt-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-image-4.9.0-0.bpo.3-rt-amd64 : Depends: linux-base (>= 4.3~) but 3.5 is to be installed
E: Unable to correct problems, you have held broken packages.
root@SeedBox1:/home/seeder1# apt-cache policy linux-base
linux-base:
Installed: 3.5
Candidate: 3.5
Version table:
4.3~bpo8+1 0
100 http://ftp.debian.org/debian/ jessie-backports/main amd64 Packages
*** 3.5 0
500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
root@SeedBox1:/home/seeder1# apt-get -s -t jessie-backports install linux-base linux-image-4.9.0-0.bpo.3-rt-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libuuid-perl
Use 'apt-get autoremove' to remove it.
Suggested packages:
linux-doc-4.9 debian-kernel-handbook
The following NEW packages will be installed:
linux-image-4.9.0-0.bpo.3-rt-amd64
The following packages will be upgraded:
linux-base
1 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
Inst linux-base [3.5] (4.3~bpo8+1 Debian Backports:jessie-backports [all])
Inst linux-image-4.9.0-0.bpo.3-rt-amd64 (4.9.30-2+deb9u2~bpo8+1 Debian Backports:jessie-backports [amd64])
Conf linux-base (4.3~bpo8+1 Debian Backports:jessie-backports [all])
Conf linux-image-4.9.0-0.bpo.3-rt-amd64 (4.9.30-2+deb9u2~bpo8+1 Debian Backports:jessie-backports [amd64])
As you can see quite the fun time getting stuff like that installed, you would need to remove the -s from the install line for it to install.
|
|
|
09-11-2017, 09:24 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
...run 'apt-get -f install' to correct these...
copy and pasted from your origianl post. Plus mentioned in previous posts.
$ sudo apt-get update
$ sudo apt-get -d dist-upgrade
$ sudo apt-get dist-upgrade
My usual update path. The -d for download only so I can do the first two a couple of times if I have a lot to get and there's new updates before the previous updates finish downloading.
|
|
|
09-12-2017, 02:48 AM
|
#5
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Original Poster
Rep:
|
Quote:
did you read this? it is written in plain english, therefore it is meant to be read by humans (and acted upon). also please use code tags next time you post code to the forums.
|
I did read that thanks and acted upon it. I did however forget to show the results.
Code:
~$ sudo apt-get -f install
[sudo] password for jim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libmircommon5 libvala-0.34-0 linux-headers-4.4.0-79 linux-headers-4.4.0-79-generic linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic linux-headers-4.4.0-83
linux-headers-4.4.0-83-generic linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-headers-4.4.0-91 linux-headers-4.4.0-91-generic linux-headers-4.4.0-92
linux-headers-4.4.0-92-generic linux-image-4.4.0-79-generic linux-image-4.4.0-81-generic linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic linux-image-4.4.0-91-generic
linux-image-4.4.0-92-generic linux-image-extra-4.4.0-79-generic linux-image-extra-4.4.0-81-generic linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic
linux-image-extra-4.4.0-91-generic linux-image-extra-4.4.0-92-generic linux-signed-image-4.4.0-79-generic linux-signed-image-4.4.0-81-generic linux-signed-image-4.4.0-83-generic
linux-signed-image-4.4.0-87-generic linux-signed-image-4.4.0-91-generic linux-signed-image-4.4.0-92-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-image-4.4.0-72-generic linux-image-4.4.0-75-generic linux-image-4.4.0-77-generic linux-image-4.4.0-78-generic linux-image-4.4.0-79-generic linux-image-4.4.0-81-generic
linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic linux-image-4.4.0-91-generic linux-image-4.4.0-92-generic linux-image-4.4.0-93-generic
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
The following NEW packages will be installed:
linux-image-4.4.0-72-generic linux-image-4.4.0-75-generic linux-image-4.4.0-77-generic linux-image-4.4.0-78-generic linux-image-4.4.0-79-generic linux-image-4.4.0-81-generic
linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic linux-image-4.4.0-91-generic linux-image-4.4.0-92-generic linux-image-4.4.0-93-generic
0 upgraded, 11 newly installed, 0 to remove and 202 not upgraded.
90 not fully installed or removed.
Need to get 0 B/385 MB of archives.
After this operation, 735 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 802382 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
Done.
Unpacking linux-image-4.4.0-93-generic (4.4.0-93.116) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-93-generic' to '/boot/System.map-4.4.0-93-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
Examining /etc/kernel/postrm.d .
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
Preparing to unpack .../linux-image-4.4.0-72-generic_4.4.0-72.93_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
Done.
Unpacking linux-image-4.4.0-72-generic (4.4.0-72.93) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-72-generic_4.4.0-72.93_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-72-generic' to '/boot/vmlinuz-4.4.0-72-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
Preparing to unpack .../linux-image-4.4.0-75-generic_4.4.0-75.96_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-75-generic /boot/vmlinuz-4.4.0-75-generic
Done.
Unpacking linux-image-4.4.0-75-generic (4.4.0-75.96) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-75-generic_4.4.0-75.96_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-75-generic' to '/boot/System.map-4.4.0-75-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-75-generic /boot/vmlinuz-4.4.0-75-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-75-generic /boot/vmlinuz-4.4.0-75-generic
Preparing to unpack .../linux-image-4.4.0-77-generic_4.4.0-77.98_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Done.
Unpacking linux-image-4.4.0-77-generic (4.4.0-77.98) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-77-generic_4.4.0-77.98_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-77-generic' to '/boot/System.map-4.4.0-77-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Preparing to unpack .../linux-image-4.4.0-78-generic_4.4.0-78.99_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
Done.
Unpacking linux-image-4.4.0-78-generic (4.4.0-78.99) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-78-generic_4.4.0-78.99_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-78-generic' to '/boot/vmlinuz-4.4.0-78-generic.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
No apport report written because MaxReports is reached already
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
Preparing to unpack .../linux-image-4.4.0-79-generic_4.4.0-79.100_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-79-generic /boot/vmlinuz-4.4.0-79-generic
Done.
Unpacking linux-image-4.4.0-79-generic (4.4.0-79.100) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-79-generic_4.4.0-79.100_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-79-generic' to '/boot/vmlinuz-4.4.0-79-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-79-generic /boot/vmlinuz-4.4.0-79-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-79-generic /boot/vmlinuz-4.4.0-79-generic
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../linux-image-4.4.0-81-generic_4.4.0-81.104_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-81-generic /boot/vmlinuz-4.4.0-81-generic
Done.
Unpacking linux-image-4.4.0-81-generic (4.4.0-81.104) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-81-generic_4.4.0-81.104_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-81-generic' to '/boot/System.map-4.4.0-81-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-81-generic /boot/vmlinuz-4.4.0-81-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-81-generic /boot/vmlinuz-4.4.0-81-generic
Preparing to unpack .../linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Done.
Unpacking linux-image-4.4.0-83-generic (4.4.0-83.106) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-83-generic' to '/boot/vmlinuz-4.4.0-83-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Preparing to unpack .../linux-image-4.4.0-87-generic_4.4.0-87.110_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-87-generic /boot/vmlinuz-4.4.0-87-generic
Done.
Unpacking linux-image-4.4.0-87-generic (4.4.0-87.110) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-87-generic_4.4.0-87.110_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-87-generic' to '/boot/System.map-4.4.0-87-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-87-generic /boot/vmlinuz-4.4.0-87-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-87-generic /boot/vmlinuz-4.4.0-87-generic
Preparing to unpack .../linux-image-4.4.0-91-generic_4.4.0-91.114_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-91-generic /boot/vmlinuz-4.4.0-91-generic
Done.
Unpacking linux-image-4.4.0-91-generic (4.4.0-91.114) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-91-generic_4.4.0-91.114_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-91-generic' to '/boot/System.map-4.4.0-91-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-91-generic /boot/vmlinuz-4.4.0-91-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-91-generic /boot/vmlinuz-4.4.0-91-generic
Preparing to unpack .../linux-image-4.4.0-92-generic_4.4.0-92.115_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
Done.
Unpacking linux-image-4.4.0-92-generic (4.4.0-92.115) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-92-generic_4.4.0-92.115_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-92-generic' to '/boot/vmlinuz-4.4.0-92-generic.dpkg-new': failed to write (No space left on device)
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-72-generic_4.4.0-72.93_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-75-generic_4.4.0-75.96_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-77-generic_4.4.0-77.98_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-78-generic_4.4.0-78.99_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-79-generic_4.4.0-79.100_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-81-generic_4.4.0-81.104_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-87-generic_4.4.0-87.110_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-91-generic_4.4.0-91.114_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-92-generic_4.4.0-92.115_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
|
|
|
09-12-2017, 04:15 AM
|
#6
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
I see 'disk full' errors. Can't be good for pkg mgmt!!!
|
|
|
09-12-2017, 07:13 AM
|
#7
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,900
|
Hi KelsoJIm and welcome to LQ.
!!! has it correct, and unfortunately this indicator was not present in your first post. Meanwhile, post # 5 includes these things.
The first one indicating how much space you should expect to need to install these packages:
Code:
After this operation, 735 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Next it goes to fetch the packages, however fails, as indicated by !!!:
Code:
(Reading database ... 802382 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
Done.
Unpacking linux-image-4.4.0-93-generic (4.4.0-93.116) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-93-generic' to '/boot/System.map-4.4.0-93-generic.dpkg-new':
failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
It is usually helpful to review what the output says. I realize it seems like a great deal of information, however some key things are: - If you are prompted, it usually is for a reason, therefore when it tells you about disk space and asks you if you wish to proceed, it is helpful to just be aware of what it is saying, which may or may not be relevant. Such as if you have hundreds of Gigabytes of free disk space, using up less than 1 Gig of space is no big deal. However this does not seem to be the case here.
- Many of the tedious reports, sometimes you see at the start of a line any of, E: W: (E) or (W) perhaps also C: and (C) where the capital E means ERROR, the capital W means Warning and maybe not so bad, and the capital C means Critical. But scanning through the detailed output, if you see these pre-pended at the start of lines, they could indicate where the problem occurred.
- Finally, the last few statements when something has failed are helpful. Many times things fail, and in fact the failure may be far back in the output, however it continues to fail, because it tried one thing, failed, so moved onto the next thing and continued to fail. Therefore the remainder of the log may also indicate the problem.
- Once again, I know these outputs can be tedious or overwhelming, sometimes I copy and paste all of it from the terminal and into an editor and then just search for error, warning or fail, that also helps.
After all that ... how bad is your disk space? Do you knowingly have a lot of stuff on it? Or do you need advice about how to learn where the space is used and what you can consider to do about it?
|
|
1 members found this post helpful.
|
09-12-2017, 10:25 AM
|
#8
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
No space left on device
You definitely need to deal with that. Various routes for quick space by removing -doc packages or removing downloaded .deb files from /var/cache/apt/archives/. Otherwise you need to allocate more space or otherwise move /xyz/ things to other space.
|
|
|
09-12-2017, 01:47 PM
|
#9
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Original Poster
Rep:
|
Hi All,
Firstly thanks for taking the time to assist. Much appreciated.
I have read a bit and ran the following:
dpkg -l | tail -n +6 | grep -E 'linux-image-[0-9]+' | grep -Fv $(uname -r)
to show up my old linux images in order to remove them to free up space.
Last edited by KelsoJIm; 09-12-2017 at 03:03 PM.
|
|
|
09-12-2017, 03:05 PM
|
#10
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Original Poster
Rep:
|
I got this list of Linux images and would like to delete the old ones to free up space.
Any suggestions to safely remove these would be appreciated.
Thanks
Code:
jim@silver:~$ uname -r
4.4.0-66-generic
jim@silver:~$ dpkg -l | tail -n +6 | grep -E 'linux-image-[0-9]+' | grep -Fv $(uname -r)
rc linux-image-4.4.0-36-generic 4.4.0-36.55 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-47-generic 4.4.0-47.68 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-57-generic 4.4.0-57.78 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-59-generic 4.4.0-59.80 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-62-generic 4.4.0-62.83 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-63-generic 4.4.0-63.84 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-64-generic 4.4.0-64.85 amd64 Linux kernel i
|
|
|
09-12-2017, 03:08 PM
|
#11
|
Member
Registered: Apr 2012
Location: California
Posts: 422
Rep:
|
Can you paste the output of 'df -h' ?
|
|
|
09-12-2017, 03:19 PM
|
#12
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Original Poster
Rep:
|
Code:
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 9.7M 1.6G 1% /run
/dev/mapper/elementary--vg-root 213G 129G 74G 64% /
tmpfs 7.8G 108M 7.7G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sdb2 473M 471M 0 100% /boot
/dev/sdb1 511M 3.5M 508M 1% /boot/efi
tmpfs 1.6G 0 1.6G 0% /run/user/123
tmpfs 1.6G 60K 1.6G 1% /run/user/1000
/dev/sda1 118G 56G 56G 50% /media/jim/57ff8467-8e32-4d43-8baf-d5b3f4b954da
|
|
|
09-12-2017, 03:56 PM
|
#13
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
Here is a relatively safe command to free up space by deleting old packages that your system doesn't think it needs any more:
Code:
sudo apt autoremove
I can see from the output in post #5 that this should delete some of the old 'linux-image' packages.
|
|
|
09-12-2017, 03:58 PM
|
#14
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Original Poster
Rep:
|
autoremove gives this.
Code:
$ sudo apt autoremove
[sudo] password for jim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-extra-4.4.0-72-generic : Depends: linux-image-4.4.0-72-generic but it is not installed
linux-image-extra-4.4.0-75-generic : Depends: linux-image-4.4.0-75-generic but it is not installed
linux-image-extra-4.4.0-77-generic : Depends: linux-image-4.4.0-77-generic but it is not installed
linux-image-extra-4.4.0-78-generic : Depends: linux-image-4.4.0-78-generic but it is not installed
linux-image-extra-4.4.0-79-generic : Depends: linux-image-4.4.0-79-generic but it is not installed
linux-image-extra-4.4.0-81-generic : Depends: linux-image-4.4.0-81-generic but it is not installed
linux-image-extra-4.4.0-83-generic : Depends: linux-image-4.4.0-83-generic but it is not installed
linux-image-extra-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic but it is not installed
linux-image-extra-4.4.0-91-generic : Depends: linux-image-4.4.0-91-generic but it is not installed
linux-image-extra-4.4.0-92-generic : Depends: linux-image-4.4.0-92-generic but it is not installed
linux-image-extra-4.4.0-93-generic : Depends: linux-image-4.4.0-93-generic but it is not installed
linux-image-generic : Depends: linux-image-4.4.0-93-generic but it is not installed
linux-signed-image-4.4.0-79-generic : Depends: linux-image-4.4.0-79-generic (= 4.4.0-79.100) but it is not installed
linux-signed-image-4.4.0-81-generic : Depends: linux-image-4.4.0-81-generic (= 4.4.0-81.104) but it is not installed
linux-signed-image-4.4.0-83-generic : Depends: linux-image-4.4.0-83-generic (= 4.4.0-83.106) but it is not installed
linux-signed-image-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic (= 4.4.0-87.110) but it is not installed
linux-signed-image-4.4.0-91-generic : Depends: linux-image-4.4.0-91-generic (= 4.4.0-91.114) but it is not installed
linux-signed-image-4.4.0-92-generic : Depends: linux-image-4.4.0-92-generic (= 4.4.0-92.115) but it is not installed
linux-signed-image-4.4.0-93-generic : Depends: linux-image-4.4.0-93-ge
|
|
|
09-12-2017, 04:25 PM
|
#15
|
LQ Newbie
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10
Original Poster
Rep:
|
Is this the problem here?
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 473M 471M 0 100% /boot
|
|
|
All times are GMT -5. The time now is 10:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|