Masatran, R. Deepak wrote:
In my up-to-date Testing system, Aptitude suddenly says that many packages are
broken! It also says that many packages are unused and wants to remove them!
Apt-get gives similar errors. I did not do anything recently; I have no idea
what caused this. Kindly help.
$ sudo aptitude install smartmontools
...
0 packages upgraded, 1 newly installed, 117 to remove and 45 not upgraded.
...
$ sudo aptitude install
...
Uncaught exception: ../../../src/generic/problemresolver/problemresolver.h:2216:
generic_problem_resolver<PackageUniverse>::generic_problem_resolver(int, int, int, int,
unsigned int, int, const PackageUniverse&) [with PackageUniverse = aptitude_universe]:
Assertion "bd.broken_under(solution::root_node(initial_broken, universe, weights))"
failed.
1. The Aptitude package removal problem ("117 to remove") might be
resolved using Florian's magic bullet:
# aptitude keep-all
(see
http://newbiedoc.berlios.de/wiki/Aptitude_-_using_together_with_Synaptic_and_Apt-get)
2. The broken packages might be fixed using aptitude with the "-f"
switch (see man 8 aptitude):
# aptitude -f install
--
Chris.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]