You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



broken dependencies on TurboPrint attempted install

Author (Read 3992 times)

0 Members and 1 Guest are viewing this topic.

Re: broken dependencies on TurboPrint attempted install
« Reply #11 on: June 21, 2018, 11:09:14 AM »
 

MarRic

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: i7-8550U 1.80GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 Kabylake GT2

  • Kernel: 5.x
In case anyone else is having this same issue, I am back to let you know what I did to resolve this. After MANY hours/days/months of searching and reading through support posts on-line, I gave up and spoke to a repair technician, which I opted not to do because of the cost. I resorted to reinstalling Linux Lite 3.4 and then upgraded to 3.8.  I turned on the my Canon MP600 printer and it took about 2 seconds for it to install, I printed the test page, it works just fine! Drawback of course is I  then had to set up all preferences in Linux Lite, Firefox and Thunderbird again, Ugh! But, it's done now and I intend to try deleting the old kernels myself each time a new one is installed (now that I know this is not done automatically). I hope it works to prevent this problem from happening again.
 

Re: broken dependencies on TurboPrint attempted install
« Reply #10 on: February 12, 2018, 10:43:36 AM »
 

MarRic

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: i7-8550U 1.80GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 Kabylake GT2

  • Kernel: 5.x
Thanks bitsnpcs, I tried what you suggested, got:

:~$ sudo apt autoremove
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-113-generic : Depends: linux-image-4.4.0-113-generic but it is not installed
 linux-image-extra-4.4.0-97-generic : Depends: linux-image-4.4.0-97-generic but it is not installed
 linux-image-generic : Depends: linux-image-4.4.0-113-generic but it is not installed
E: Unmet dependencies. Try using -f.


So I tried 'sudo apt-get -f install' again, same thing, no room.

I also tried 'sudo apt autoremove -f' got:

:~$ sudo apt autoremove -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-image-4.4.0-113-generic linux-image-4.4.0-97-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-113-generic linux-image-4.4.0-97-generic
0 upgraded, 2 newly installed, 0 to remove and 267 not upgraded.
6 not fully installed or removed.
Need to get 0 B/80.5 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 486167 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-113-generic_4.4.0-113.136_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-113-generic (4.4.0-113.136) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-113-generic_4.4.0-113.136_amd64.deb (--unpack):
 cannot copy extracted data for './boot/vmlinuz-4.4.0-113-generic' to '/boot/vmlinuz-4.4.0-113-generic.dpkg-new': failed to write (No space left on device)
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-113-generic /boot/vmlinuz-4.4.0-113-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-113-generic /boot/vmlinuz-4.4.0-113-generic
Preparing to unpack .../linux-image-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-97-generic (4.4.0-97.120) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-97-generic_4.4.0-97.120_amd64.deb (--unpack):
 cannot copy extracted data for './boot/System.map-4.4.0-97-generic' to '/boot/System.map-4.4.0-97-generic.dpkg-new': failed to write (No space left on device)
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-97-generic /boot/vmlinuz-4.4.0-97-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.4.0-113-generic_4.4.0-113.136_amd64.deb
 /var/cache/apt/archives/linux-image-4.4.0-97-generic_4.4.0-97.120_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I duck'd it, got:
Sub-process /usr/bin/dpkg returned an error code 1:
Looks like your sources file is corrupted and there are broken packages. Remove the corrupted source file by pressing Ctrl + Alt + T to open a terminal, and type in:
sudo rm /etc/apt/sources.list
Then, type in
sudo software-properties-gtk
Tried both commands, got:

:~$ sudo rm /etc/apt/sources.list
:~$ sudo rm /etc/apt/sources.list
rm: cannot remove '/etc/apt/sources.list': No such file or directory
:~$ sudo software-properties-gtk
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gdk, Gtk, Gio, GLib
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gdk, Gtk, Gio, GLib
WARNING:root:could not open file '/etc/apt/sources.list'
WARNING:root:could not open file '/etc/apt/sources.list'
(software-properties-gtk:3606): IBUS-WARNING **: The owner of /home/name/.config/ibus/bus is not root!


This feels like a vicious circle...there are unmet dependencies, which can't be added because there is no room on the partition (I think). To make room on the partition I need to remove old Kernels, but I can't remove old kernels because of the unmet dependencies (I think). ???? and I've maybe done more damage trying commands without knowing what I'm doing?  :-\
 

Re: broken dependencies on TurboPrint attempted install
« Reply #9 on: February 10, 2018, 11:42:48 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Can you try

Open your terminal and type -

Code: [Select]
sudo apt autoremove
press enter
type your password when asked
press enter again.

After it completes (you may get a prompt to reboot).

Afterwards run the kernel removal tool again and see if still asks you to install the dependencies.
« Last Edit: February 10, 2018, 11:45:18 PM by bitsnpcs »
 

Re: broken dependencies on TurboPrint attempted install
« Reply #8 on: February 10, 2018, 10:49:36 PM »
 

MarRic

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: i7-8550U 1.80GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 Kabylake GT2

  • Kernel: 5.x
Thank you for that extra information bitsnpcs! I found the current kernel and made sure it wasn't in the list before remove them, but...I got an error which suggested I post it here (italicized)...

===========================
Kernel Remover Error log
===========================
An error occurred while removing selected kernels.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.
============ Log ===========
Removing kernels: linux-headers-4.4.0-113 linux-headers-4.4.0-113-generic linux-headers-4.4.0-70 linux-headers-4.4.0-70-generic linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic linux-headers-4.4.0-85 linux-headers-4.4.0-85-generic linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-headers-4.4.0-89 linux-headers-4.4.0-89-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-headers-4.4.0-93 linux-headers-4.4.0-93-generic linux-headers-4.4.0-97 linux-headers-4.4.0-97-generic linux-image-4.4.0-70-generic linux-image-4.4.0-83-generic linux-image-4.4.0-85-generic linux-image-4.4.0-87-generic linux-image-4.4.0-89-generic linux-image-4.4.0-91-generic linux-image-4.4.0-92-generic linux-image-4.4.0-93-generic linux-image-extra-4.4.0-113-generic linux-image-extra-4.4.0-70-generic linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-85-generic linux-image-extra-4.4.0-87-generic linux-image-extra-4.4.0-89-generic linux-image-extra-4.4.0-91-generic linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic linux-image-extra-4.4.0-97-generic
# Reading package lists...
# Building dependency tree...
# Reading state information...
# You might want to run 'apt-get -f install' to correct these:
# The following packages have unmet dependencies:
#  linux-headers-generic : Depends: linux-headers-4.4.0-113-generic but it is not going to be installed
#  linux-image-generic : Depends: linux-image-4.4.0-113-generic but it is not going to be installed
#                        Depends: linux-image-extra-4.4.0-113-generic but it is not going to be installed


What should I do next?
 

Re: broken dependencies on TurboPrint attempted install
« Reply #7 on: February 10, 2018, 10:20:58 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Hello,

yes I would delete all of the kernels no longer in use.
There is another tool in Lite Tweaks "kernel Installer", if you wanted to add any kernels at a future time.
Kernel updates and upgrades to the one being used occur when doing -

Menu>Favorites>Install Updates

I see from your edits you know these are the kernels for removing.
If at any time you wanted to know which Kernel you are using, or any specifics about your system, you can do this -

Menu>System>System Information

At the Top of the GUI there is a button that can be used to Generate a System Report.
Clicking the one in the left column named "Operating System" tells you information about which Kernel version you are using.

There are quite a lot of options to look at, some statistic tools and benchmark tools.
I really only use Operating System and Boots, but I have looked at the others only to see what they were, I know some members do use other ones quite often as they are more familiar with them.
« Last Edit: February 10, 2018, 10:32:06 PM by bitsnpcs »
 

Re: broken dependencies on TurboPrint attempted install
« Reply #6 on: February 10, 2018, 09:24:27 PM »
 

MarRic

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: i7-8550U 1.80GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 Kabylake GT2

  • Kernel: 5.x
bitsnpcs thank you for the direction. I ran a bunch of the "safe" items, hoping that might help my system some. Now for the kernels - there are over 30 - yikes!! how do I know which ones to delete, and should I only be keeping 1 - and which one if so?
"
edit...just noticed, it says kernels "available" for removal - so is it only showing kernels no longer in use and I should delete them all?
« Last Edit: February 10, 2018, 09:26:40 PM by MarRic »
 

Re: broken dependencies on TurboPrint attempted install
« Reply #5 on: February 10, 2018, 08:51:33 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Hello MarRic,

you can access Lite Tweaks by do -

Menu>System>Lite Tweaks

It is one of the custom software for LL, it is made by the creators of Linux Lite :)


 
« Last Edit: February 10, 2018, 08:55:10 PM by bitsnpcs »
 

Re: broken dependencies on TurboPrint attempted install
« Reply #4 on: February 10, 2018, 08:48:35 PM »
 

MarRic

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: i7-8550U 1.80GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 Kabylake GT2

  • Kernel: 5.x
Trinidad,
Thank you, I searched for Lite Tweaks, I didn't find anything to download, could you direct me to it please?
 

Re: broken dependencies on TurboPrint attempted install
« Reply #3 on: February 10, 2018, 08:19:20 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
Use Lite tweaks to remove your old kernels first.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: broken dependencies on TurboPrint attempted install
« Reply #2 on: February 10, 2018, 07:29:59 PM »
 

supergamer

  • Forum Regular
  • ***
  • 163
    Posts
  • Reputation: 27
  • Linux Lite Member
    • View Profile

  • CPU: AMD Phenom 565

  • MEMORY: 12Gb

  • VIDEO CARD: 550 ti
You do not have enough space on your partition to install.

/dev/sda1           495M  493M     0 100% /boot
« Last Edit: February 10, 2018, 07:34:33 PM by supergamer »
 

broken dependencies on TurboPrint attempted install
« Reply #1 on: February 10, 2018, 06:57:55 PM »
 

MarRic

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: i7-8550U 1.80GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 Kabylake GT2

  • Kernel: 5.x
  Hello,
I downloaded turboprint_2.45-1_amd64.deb trial, hoping it will enable me to use my Canon Pixma MP600. I right clicked on the downloaded file and selected "open with Gdebi package installer", I got a message about broken dependencies:
 
linux-image-extra-4.4.0-97-generic -- Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-113-generic -- Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-generic -- Generic Linux kernel image
 
I followed the instruction to run "sudo apt-get install -f" from terminal. It did not work.
 
I went to the Synaptic Package Manager and using help found broken dependencies and "applied" to fix them, this is the detail from the error box:
 
E: /var/cache/apt/archives/linux-image-4.4.0-113-generic_4.4.0-113.136_amd64.deb: cannot copy extracted data for './boot/vmlinuz-4.4.0-113-generic' to '/boot/vmlinuz-4.4.0-113-generic.dpkg-new': failed to write (No space left on device)
E: /var/cache/apt/archives/linux-image-4.4.0-97-generic_4.4.0-97.120_amd64.deb: cannot copy extracted data for './boot/System.map-4.4.0-97-generic' to '/boot/System.map-4.4.0-97-generic.dpkg-new': failed to write (No space left on device)
 
I should probably tell you, I tried many different things to try to fix it myself, from online searching and a couple of different Linux forum archives, but nothing works and I hope I have not totally messed up my system. If you tell me I just need to reload a fresh copy of Linux Lite, I guess I can, just not looking forward to tweeking Firefox and Thunderbird again.
 
At one point it said there was "no more room" but I figure I just did something wrong, because this is a new computer & I am a novice Linux user. I found another command to find how my hard drive is being used, this was the result:
 
:~$ df -H
Filesystem                  Size  Used Avail Use% Mounted on
udev                        6.3G     0  6.3G   0% /dev
tmpfs                       1.3G   42M  1.3G   4% /run
/dev/mapper/linux--vg-root  972G   28G  895G   3% /
tmpfs                       6.3G  308k  6.3G   1% /dev/shm
tmpfs                       5.3M  4.1k  5.3M   1% /run/lock
tmpfs                       6.3G     0  6.3G   0% /sys/fs/cgroup
/dev/sda1                   495M  493M     0 100% /boot
cgmfs                       103k     0  103k   0% /run/cgmanager/fs
tmpfs                       1.3G   46k  1.3G   1% /run/user/1000
 
I searched this forum and found this thread "Re: Broken packages linux kernel".  I found the person had tried many of the commands I did, in the end it looks like the instructions said "Here is what we will do next. We will use dpgk instead. This is a little drastic and can be dangerous at times". Do I dare try these steps myself?
 
Help please.
 
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section