My package manager has been corrupted. How do I re-install it from scrach without manually downloading all the dependencies?
Asked
Active
Viewed 1,227 times
2
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,484
-
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
dpkg -i
the whole thing. – muru Nov 10 '15 at 15:55