Error - pkgs with unmet dependencies

atanere

Well-Known Member
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
 


Christina

Active Member
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
 

atanere

Well-Known Member
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.
 

Christina

Active Member
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:

[email protected]:~$ 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
[email protected]:~$
 

atanere

Well-Known Member
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.
 

Christina

Active Member
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.
 

atanere

Well-Known Member
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.
 

atanere

Well-Known Member
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.
 

Christina

Active Member
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?
 

atanere

Well-Known Member
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.
 

Christina

Active Member
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:

Christina

Active Member
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
 

nuna

Member
@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:

Christina

Active Member
@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
[email protected]:~$ 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!
 


Members online

No members online now.

Latest posts

Top