My package manager has been corrupted. How do I re-install it from scrach without manually downloading all the dependencies?
Asked
Active
Viewed 1,225 times
2
-
1Use one of the methods in http://askubuntu.com/questions/974/how-can-i-install-software-or-packages-without-internet-offline, then `dpkg -i` the whole thing. – muru Nov 10 '15 at 15:55
-
1What version of Ubuntu are you using? – TellMeWhy Nov 10 '15 at 16:21
-
I am using 14.10 version. – George D Nov 10 '15 at 19:41
1 Answers
0
You can download apt from here and install it with
sudo dpkg -i package_name
The major difference to apt-get is of course, that you don't use apt-get: use just apt.
This give you a bit of information on apt.
TellMeWhy
- 17,124
- 39
- 95
- 141
-
Are you sure that the op should download the trusty version, vs the wily or vivid versions? – Charles Green Nov 10 '15 at 16:17
-
@CharlesGreen I suppose that he's using 14.04+ and the link covers that – TellMeWhy Nov 10 '15 at 16:22
-
I get dpkg: `dependency problems prevent configuration of apt: apt depends on libstdc++6 (>= 4.6); however: Package libstdc++6:amd64 is not configured yet.` – George D Nov 10 '15 at 19:51