LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-11-2017, 01:09 PM   #1
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Rep: Reputation: Disabled
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).
 
Old 09-11-2017, 03:08 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,226
Blog Entries: 7

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
Quote:
Originally Posted by KelsoJIm View Post
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.
 
Old 09-11-2017, 08:01 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,596

Rep: Reputation: 98
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.
 
Old 09-11-2017, 09:24 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,617
Blog Entries: 1

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
...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.
 
Old 09-12-2017, 02:48 AM   #5
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Original Poster
Rep: Reputation: Disabled
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)
 
Old 09-12-2017, 04:15 AM   #6
!!!
Member
 
Registered: Jan 2017
Posts: 666

Rep: Reputation: 289Reputation: 289Reputation: 289
I see 'disk full' errors. Can't be good for pkg mgmt!!!
 
Old 09-12-2017, 07:13 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,233
Blog Entries: 12

Rep: Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705Reputation: 2705
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:
  1. 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.
  2. 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.
  3. 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.
  4. 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.
Old 09-12-2017, 10:25 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,617
Blog Entries: 1

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
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.
 
Old 09-12-2017, 01:47 PM   #9
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-12-2017, 03:05 PM   #10
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-12-2017, 03:08 PM   #11
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 401
Blog Entries: 15

Rep: Reputation: Disabled
Can you paste the output of 'df -h' ?
 
Old 09-12-2017, 03:19 PM   #12
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-12-2017, 03:56 PM   #13
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,463

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
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.
 
Old 09-12-2017, 03:58 PM   #14
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-12-2017, 04:25 PM   #15
KelsoJIm
LQ Newbie
 
Registered: Sep 2017
Location: Scottish Borders
Distribution: Elementary
Posts: 10

Original Poster
Rep: Reputation: Disabled
Is this the problem here?

Code:
Filesystem                       Size  Used Avail Use% Mounted on
/dev/sdb2                        473M  471M     0 100% /boot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dependancies DanB_1983 Linux - Software 6 02-20-2007 09:47 PM
Dependancies DIGITAL39 General 5 10-02-2006 07:10 AM
Unmet Dependancies/Broken Packages - Can't apt-get Build-Install??? Xenoman1 Ubuntu 3 08-07-2006 04:38 AM
unmet dependancies upgrading to SID MaTrIx709 Debian 6 08-03-2005 02:17 AM
Dependancies dibblethewrecke Linux - Newbie 3 11-24-2003 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration