SOLVED - How can I reinstall essential packages?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
KIMW
Level 2
Level 2
Posts: 80
Joined: Sat Nov 12, 2016 1:43 pm

SOLVED - How can I reinstall essential packages?

Post by KIMW » Mon May 21, 2018 11:50 am

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 KIMW on Tue May 22, 2018 2:36 am, edited 1 time in total.
Distro: Linux Mint 18.1 KDE
Laptop: Dell Latitude-E7470. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..

User avatar
smurphos
Level 6
Level 6
Posts: 1148
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: How can I reinstall essential packages?

Post by smurphos » Mon May 21, 2018 12:10 pm

What does inxi -r report back? You appear to be missing some Ubuntu repos.

KIMW
Level 2
Level 2
Posts: 80
Joined: Sat Nov 12, 2016 1:43 pm

Re: How can I reinstall essential packages?

Post by KIMW » Mon May 21, 2018 12:15 pm

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 18.1 KDE
Laptop: Dell Latitude-E7470. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..

User avatar
smurphos
Level 6
Level 6
Posts: 1148
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: How can I reinstall essential packages?

Post by smurphos » Mon May 21, 2018 12:18 pm

Try opening the Software Sources application and then under Offical Repositories click on Restore the default settings and then on Update Cache.

KIMW
Level 2
Level 2
Posts: 80
Joined: Sat Nov 12, 2016 1:43 pm

Re: How can I reinstall essential packages?

Post by KIMW » Mon May 21, 2018 12:41 pm

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 18.1 KDE
Laptop: Dell Latitude-E7470. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..

KIMW
Level 2
Level 2
Posts: 80
Joined: Sat Nov 12, 2016 1:43 pm

Re: How can I reinstall essential packages?

Post by KIMW » Mon May 21, 2018 12:41 pm

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 18.1 KDE
Laptop: Dell Latitude-E7470. RAM 16GB. Dual core: Intel Core i7-6600U. Graphic Card: Intel Sky Lake..

User avatar
smurphos
Level 6
Level 6
Posts: 1148
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: How can I reinstall essential packages?

Post by smurphos » Tue May 22, 2018 12:06 am

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.

KIMW
Level 2
Level 2
Posts: 80
Joined: Sat Nov 12, 2016 1:43 pm

Re: How can I reinstall essential packages?

Post by KIMW » Tue May 22, 2018 2:37 am

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

Post Reply

Return to “Installation & Boot”