APT problems (416 error and "uncaught exception")

I'm having problems with updating/installing with aptitude, on a mixed
Etch/Sid system. When running "aptitude update", the output ends with
the following:

Err http://ftp.debian.org sid/main Packages
416 Requested Range Not Satisfiable

Then when I try to install/dist-upgrade, I get the following output:

Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
Uncaught exception:
../../../src/generic/problemresolver/problemresolver.h:2216:
generic_problem_resolver::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.

If I try to use apt-get instead of aptitude, I get a pile of
dependency errors apparently involving almost every package on the
system. Sample output follows (issued command was "apt-get install
galternatives"):

xutils: Depends: libfontenc1 but it is not going to be installed
Depends: libfs6 but it is not going to be installed
Depends: xfonts-utils but it is not going to be installed
Depends: xutils-dev but it is not going to be installed
PreDepends: x11-common (>= 1:7.0.0) but it is not going to
be installed
yelp: Depends: libxul0d but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

However, when I comment out the Sid repo, the problem goes away. This
seems to suggest it's a Sid problem rather than a bug. Is anyone else
suffering this? Any idea what the problem is/when it may be resolved?

Thanks,

John

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

APT problems (416 error and "uncaught exception")

On 12/28/06, John Halton wrote:
> I'm having problems with updating/installing with aptitude, on a mixed
> Etch/Sid system. When running "aptitude update", the output ends with
> the following:
>
> Err http://ftp.debian.org sid/main Packages
> 416 Requested Range Not Satisfiable
>
> Then when I try to install/dist-upgrade, I get the following output:
>
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
> Building tag database... Done
> Uncaught exception:
> ../../../src/generic/problemresolver/problemresolver.h:2216:
> generic_problem_resolver::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.
>
> If I try to use apt-get instead of aptitude, I get a pile of
> dependency errors apparently involving almost every package on the
> system. Sample output follows (issued command was "apt-get install
> galternatives"):
>
>
> xutils: Depends: libfontenc1 but it is not going to be installed
> Depends: libfs6 but it is not going to be installed
> Depends: xfonts-utils but it is not going to be installed
> Depends: xutils-dev but it is not going to be installed
> PreDepends: x11-common (>= 1:7.0.0) but it is not going to
> be installed
> yelp: Depends: libxul0d but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
>
> However, when I comment out the Sid repo, the problem goes away. This
> seems to suggest it's a Sid problem rather than a bug. Is anyone else
> suffering this? Any idea what the problem is/when it may be resolved?

As an update, the "unresolved exception" problem has now recurred even
with the Sid repo commented out. The 416 error has not reappeared
though.

--

APT problems (416 error and "uncaught exception") (RESOLVED)

John Halton wrote:
> On 12/28/06, John Halton wrote:
>> I'm having problems with updating/installing with aptitude, on a mixed
>> Etch/Sid system. When running "aptitude update", the output ends with
>> the following:
>>
>> Err http://ftp.debian.org sid/main Packages
>> 416 Requested Range Not Satisfiable
>>
>> Then when I try to install/dist-upgrade, I get the following output:
>>
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading extended state information
>> Initializing package states... Done
>> Writing extended state information... Done
>> Reading task descriptions... Done
>> Building tag database... Done
>> Uncaught exception:
>> ../../../src/generic/problemresolver/problemresolver.h:2216:
>> generic_problem_resolver::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.
>>
>> If I try to use apt-get instead of aptitude, I get a pile of
>> dependency errors apparently involving almost every package on the
>> system. Sample output follows (issued command was "apt-get install
>> galternatives"):
>>
>>
>> xutils: Depends: libfontenc1 but it is not going to be installed
>> Depends: libfs6 but it is not going to be installed
>> Depends: xfonts-utils but it is not going to be installed
>> Depends: xutils-dev but it is not going to be installed
>> PreDepends: x11-common (>= 1:7.0.0) but it is not going to
>> be installed
>> yelp: Depends: libxul0d but it is not going to be installed
>> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
>> specify a solution).
>>
>> However, when I comment out the Sid repo, the problem goes away. This
>> seems to suggest it's a Sid problem rather than a bug. Is anyone else
>> suffering this? Any idea what the problem is/when it may be resolved?
>
> As an update, the "unresolved exception" problem has now recurred even
> with the Sid repo commented out. The 416 error has not reappeared
> though.

This appears to be resolved. I removed the E17 repo and all E17 packages
and now everything appears to be working normally

--

APT problems (416 error and "uncaught exception")

On Thu, Dec 28, 2006 at 04:53:32PM +0000, John Halton wrote:
> On 12/28/06, John Halton wrote:
> ...
> >Uncaught exception:
> >../../../src/generic/problemresolver/problemresolver.h:2216:
> >generic_problem_resolver::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.

I've encountered this, starting just a couple of days ago.
On a totally standard etch system. Just before I saw this for
the first time, I noticed some activity on the network, with quick
fingers to run top I discovered that apt or apt-get was downloading
something. This was the first time I had seen this, before I even
ran aptitude. Previously only typing u in aptitude did this.
In any case, after that, aptitude never worked. It is kind of
disquieting that etch seems to download things on its own. An
apt virus? nah...

Furthermore, the behavior is different depending how aptitude is
run. When running it from a konsole (after su), under kernel 2.6.18,
I get the above message. When running it from a text console (ie F1)
aptitude just hangs after displaying: "Building tag database 100%"
It is possible to ^C out of aptitude then, but if left alone it just
hangs there. In a text console under kernel 2.6.17, I get the message
above.

> >If I try to use apt-get instead of aptitude, I get a pile of
> >dependency errors apparently involving almost every package on the
> >system. Sample output follows (issued command was "apt-get install
> >galternatives"):

I have resisted using apg-get as I know the aptitude databases would
then be out of sync.

I would certainly like to know how to get aptitude back, as I was
considering a total re-installation. This is a test system and has
no user data. BTW, this is the first problem I've encountered, before
this, everything went perfectly and the installation was very easy.
HW: IBM thinkpad 600E. Ah yes, http_proxy is set to point to another
machine on the local net running privoxy, so aptitude goes through it.
This has never been a problem before.

A.

--

APT problems: it magically works again...

Mmm... I started digging into /etc/apt, didn't see anything obvious
and thus didn't change anything, but the next time I started up aptitude
it worked. Strange...

A.

--

APT problems (416 error and "uncaught exception")

A. F. Cano wrote:
> On Thu, Dec 28, 2006 at 04:53:32PM +0000, John Halton wrote:
>
> [...]
>
> I have resisted using apg-get as I know the aptitude databases would
> then be out of sync.
>
> [...]

You could try the magic bullet "aptitude keep-all" to restore sane
behaviour after using apt-get. See
http://newbiedoc.berlios.de/wiki/Aptitude_-_using_together_with_Synaptic_and_Apt-get

--
Chris.

--

APT problems ("uncaught exception"): workaround

Bug #400560 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400560
) has been filed for this failure.

It seems to be associated with some sort of earlier
failure (power failure in one case, ``failed update'' in the
other). I had a failed update earlier, but don't remember
the circumstances.

The second reporter suggests emptying sources.list and
reloading. I'm using Synaptic, and did the equivalent:
in Settings > Repositories, uncheck everything, then do an
update. That went through, and when I rechecked the
repositories, it worked just fine.

--

Best wishes,

Max Hyre

--

Syndicate content