SOLVED - How can I reinstall essential packages?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
KIMW
Level 3
Level 3
Posts: 198
Joined: Sat Nov 12, 2016 1:43 pm
Location: Italy

SOLVED - How can I reinstall essential packages?

Post by KIMW »

How can I reinstall essential packages?
I've messed up my system and now I've message errors:

E: Package 'autoconf' has no installation candidate
E: Package 'automake' has no installation candidate
E: Package 'libpcre3-dev' has no installation candidate
E: Unable to locate package libnl-3-dev
E: Package 'libsqlite3-dev' has no installation candidate
E: Package 'libssl-dev' has no installation candidate
E: Package 'ethtool' has no installation candidate
E: Package 'build-essential' has no installation candidate
E: Unable to locate package libnl-genl-3-dev
E: Unable to locate package libgcrypt20-dev
E: Package 'libtool' has no installation candidate
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Distro: Linux Mint 20.3 Cinnamon 5.2.7
Laptop: Dell Latitude-9410. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: How can I reinstall essential packages?

Post by smurphos »

What does inxi -r report back? You appear to be missing some Ubuntu repos.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
KIMW
Level 3
Level 3
Posts: 198
Joined: Sat Nov 12, 2016 1:43 pm
Location: Italy

Re: How can I reinstall essential packages?

Post by KIMW »

Thanks for helping.

Code: Select all

$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/ubuntu-defaults.list
           deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ xenial main
Distro: Linux Mint 20.3 Cinnamon 5.2.7
Laptop: Dell Latitude-9410. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: How can I reinstall essential packages?

Post by smurphos »

Try opening the Software Sources application and then under Offical Repositories click on Restore the default settings and then on Update Cache.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
KIMW
Level 3
Level 3
Posts: 198
Joined: Sat Nov 12, 2016 1:43 pm
Location: Italy

Re: How can I reinstall essential packages?

Post by KIMW »

Excellent! It worked.
On Software Sources application I had previously clicked on: "Fix MergeList problems", etc, etc, on the Maintenance tab but it did not do anything. With your help it worked this time. Thank you.
Distro: Linux Mint 20.3 Cinnamon 5.2.7
Laptop: Dell Latitude-9410. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..
KIMW
Level 3
Level 3
Posts: 198
Joined: Sat Nov 12, 2016 1:43 pm
Location: Italy

Re: How can I reinstall essential packages?

Post by KIMW »

Something else I'd like to ask if you can help.
On Home folder I have lots of stuff (especially when I show Hidden Files) which remained there each I was trying an application. How can I know which ones I can keep and which ones I can delete. And then how can I delete/remove them properly?
Distro: Linux Mint 20.3 Cinnamon 5.2.7
Laptop: Dell Latitude-9410. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: How can I reinstall essential packages?

Post by smurphos »

Hi,

I wouldn't worry about them. The hidden files and folders in home are normally config or user specific data / cache files for your applications. You will occasionally end up with 'orphan' files in here but they do no harm and in general will take up very little disk-space. If you do spot something that from it's name you are sure relates to an app you have installed and emoved just delete the files/folders in the normal way. If you are not sure what something is for just leave it alone.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
KIMW
Level 3
Level 3
Posts: 198
Joined: Sat Nov 12, 2016 1:43 pm
Location: Italy

Re: How can I reinstall essential packages?

Post by KIMW »

Hi,
OK, thanks for your help again smurphos.
Bye.
Distro: Linux Mint 20.3 Cinnamon 5.2.7
Laptop: Dell Latitude-9410. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..
Locked

Return to “Installation & Boot”