I have received no updates for several weeks on Ubuntu Mate 18.04, this is unusual.
It is possible something error in my /etc/apt/sources.list, how to restore all to default settings?
I have received no updates for several weeks on Ubuntu Mate 18.04, this is unusual.
It is possible something error in my /etc/apt/sources.list, how to restore all to default settings?
How are you upgrading? If just waiting for "Software Updater" there can be some time.
Otherwise open a terminal and type
sudo apt-get update
and then
sudo apt-get upgrade
to upgrade the whole system
sudo apt-get dist-upgrade
no work for me, my kernel is Linux 5.3.0-42-generic, is the newest?
My system is running
Ubuntu, with Linux 4.15.0-91-generic
I do not upgrade my kernel except when Ubuntu Mate upgrades it.
apt-get upgrade VS apt-get dist-upgrade
Which would be better?
The patches from later command is not recommended by Ubuntu Mate?!
Many warnnings when apt update, just like
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:13
You have most than one config in file /etc/apt/sources.list
Proceed backup /etc/apt/sources.list:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
Copy file to your personal folder (directory) and enter inside:
cp /etc/apt/sources.list ~/ ; cd ~
Remove duplicate lines (can use 'awk'):
awk '!x[$0]++' sources.list > sources-revised.list
Look in if all is fine:
more sources-revised.list
Copy file to /etc/apt/:
sudo cp sources-revised.list /etc/apt/sources.list
Try to update system:
sudo apt-get update
Cheers!
Generally do apt-get upgrade. If you do upgrade and it tells you "packages have been held back' and then lists a new kernel, you then do apt-get dist-upgrade to get the newer kernel.
Someone says the risk with apt-get dist-upgrade is this may lead to the removal of some packages.
So whats risks on security?
This is an excellent description of upgrade vs dist-upgrade
The article does not mention about the security of newer or older kernels, between this two commands, upgrading with dist-upgrade are easier to erase the security settings, but does the older version also contains some problem?