Error - pkgs with unmet dependencies

Okay, I think the Ubuntu Tweak Tool would be even better. I'm looking for the simpler way to delete all those old kernels, or at least most of them. After successfully deleting and freeing up space, then the update/upgrade/dist-upgrade will work, I hope. So, let's get the tweak tool:

Code:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
 


If the above does not install the tweak tool, I see another place to download it.
 
Okay, I think the Ubuntu Tweak Tool would be even better. I'm looking for the simpler way to delete all those old kernels, or at least most of them. After successfully deleting and freeing up space, then the update/upgrade/dist-upgrade will work, I hope. So, let's get the tweak tool:

Code:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

Ok, before I do the last command does this look ok? It is not all of it but:

Screenshot from 2018-01-28 15-40-51.png
 
With the file downloaded, paste this into a terminal:
Code:
sudo dpkg -i ~/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb

If it reports dependency problems during the installation, then also enter this in the terminal afterwards:
Code:
sudo apt-get -f install

This should fix a dependency problem, but because of the kernel dependency issues, it makes me a bit nervous. So if you have to use the command above and it doesn't seem to work, we'll try one more thing with that.
 
With the file downloaded, paste this into a terminal:
Code:
sudo dpkg -i ~/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb

If it reports dependency problems during the installation, then also enter this in the terminal afterwards:
Code:
sudo apt-get -f install

This should fix a dependency problem, but because of the kernel dependency issues, it makes me a bit nervous. So if you have to use the command above and it doesn't seem to work, we'll try one more thing with that.

It just doesn't want to cooperate lol:

christina@christina-K53U:~$ sudo dpkg -i ~/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb
[sudo] password for christina:
dpkg: error processing archive /home/christina/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/home/christina/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb
christina@christina-K53U:~$
 
Hmmm. Are we having fun yet? You can try to use your file manager and browse to your Download folder to see if its there. And if its there, try to double-click on it.

I said earlier to store where ever you wanted to, but the command needed it to be in the Downloads folder. Oops.
 
Hmmm. Are we having fun yet? You can try to use your file manager and browse to your Download folder to see if its there. And if its there, try to double-click on it.

I said earlier to store where ever you wanted to, but the command needed it to be in the Downloads folder. Oops.

It is in Downloads folder, checked that.
 
Okay, well, the error says "no such file or directory"... so something misfired. If your terminal was also in the Downloads folder, it might fail for that reason. Just hit "cd" and Enter (no quotes) and it puts you in your home folder. Then try the install command one more time.

If not, we'll go back to synaptic. But it will take you longer.
 
Before we forget, let's clean up the PPA that we started with too... that we were going to get the Tweak Tool with. Open up your "Software & Updates" app. When it's open, click on the "Other Software" tab. Find the one that shows "tualatrix" ... check the box for that one, and then click on the Remove button to get rid of it.
 
Okay, well, the error says "no such file or directory"... so something misfired. If your terminal was also in the Downloads folder, it might fail for that reason. Just hit "cd" and Enter (no quotes) and it puts you in your home folder. Then try the install command one more time.

If not, we'll go back to synaptic. But it will take you longer.

The install command? The only one I did was
sudo dpkg -i ~/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb
so, should I do the install command?
 
The install command? The only one I did was
sudo dpkg -i ~/Downloads/ubuntu-tweak_0.8.7-1~getdeb2~xenial_all.deb
so, should I do the install command?

That is the install command. (the -i means to install). So if it failed, there is something wrong.
 
I've got to leave for a bit, maybe an hour or so. Can you get back on here then? This is going to be tedious for you to use Synaptic to delete these old kernels one at a time. But it seems the safest way to go. I'm finding some cryptic commands that might delete all at once, but if I can't understand them, I'm too afraid to suggest them to you.
 
Before we forget, let's clean up the PPA that we started with too... that we were going to get the Tweak Tool with. Open up your "Software & Updates" app. When it's open, click on the "Other Software" tab. Find the one that shows "tualatrix" ... check the box for that one, and then click on the Remove button to get rid of it.

It won't let me lol! Not an option, only 'add'
[Image removed for privacy reasons]
 
Last edited by a moderator:
I've got to leave for a bit, maybe an hour or so. Can you get back on here then? This is going to be tedious for you to use Synaptic to delete these old kernels one at a time. But it seems the safest way to go. I'm finding some cryptic commands that might delete all at once, but if I can't understand them, I'm too afraid to suggest them to you.

I will try to be but if I am not I will be back soon
 
It won't let me lol! Not an option, only 'add'
[Image removed for privacy reasons]

Oh me... the fun never stops. OK, we'll try to remember this later too. (Help remind me!) :D

I'll be back soon. Maybe the break will help me to think of an easier way.
 
Last edited:
@atanere, @Christina, if you don't mind I chime in for a bit...
@Christina, for the Remove button to be active you have to select the entry you want to remove.

To check if the /boot partition is almost full can you provide the output of this command?
Code:
df -h /boot
 
Last edited:
@atanere, @Christina, if you don't mind I chime in for a bit...
@Christina, for the Remove button to be active you have to select the entry you want to remove.

To check if the /boot partition is almost full can you provide the output of this command?
Code:
du -h /boot

christina@christina-K53U:~$ du -h /boot
2.3M /boot/grub/fonts
2.5M /boot/grub/i386-pc
140K /boot/grub/locale
7.2M /boot/grub
444M /boot

And, yes, when I clicked on the words instead of box the remove command is there lol, thanks!
 
Sorry, I misstyped the last command, I corrected the post. It should be:
Code:
df -h /boot
 

Members online


Top