Bug#591881: vlc-nox: package fails to upgrade properly from lenny
On Fr, 2010-08-06 at 15:33 -0400, Lucas Nussbaum wrote:
> severity 591881 serious
> On 06/08/10 at 14:55 -0400, Reinhard Tartler wrote:
> > reassing 591881 libavformat52,apt
> > thanks
> > On Fri, Aug 06, 2010 at 14:19:21 (EDT), Lucas Nussbaum wrote:
> > > On 06/08/10 at 13:13 -0400, Reinhard Tartler wrote:
> > >> reassign src:ffmpeg,apt
> > >> severity 591881 important
> > >> thanks
> > >>
> > >> [...]
> > >>
> > >> I agree, so I'm reassinging this bug.
> > >
> > > OK, but what's the reason for downgrading severity, too?
> > because it can be fixed by running the upgrade in several steps?
> > feel free to raise severity if you feel this is RC, but I wouldn't hold
> > up the release for this issue.
> I'd prefer to keep it RC until we identify the root issue: ok, this is
> on a simple case, but it might be caused by another issue in apt that
> could break many more upgrade cases.
If you move the Breaks from libavformat52 to libavcodec52 and depend on
the libavcodec52 with that breaks, it will work.
On the APT side, this patch can fix it; but I am not sure whether it
will break other cases of Breaks:
=== modified file 'apt-pkg/algorithms.cc'
--- apt-pkg/algorithms.cc 2010-06-09 09:51:21 +0000
+++ apt-pkg/algorithms.cc 2010-08-07 12:05:04 +0000
@@ -992,11 +992,12 @@ bool pkgProblemResolver::Resolve(bool Br
/* Try to fix the package under consideration rather than
fiddle with the VList package */
- if (Scores[I->ID] <= Scores[Pkg->ID] ||
+ if ((Scores[I->ID] <= Scores[Pkg->ID] ||
((Cache[Start] & pkgDepCache::DepNow) == 0 &&
End->Type != pkgCache::Dep::Conflicts &&
End->Type != pkgCache::Dep::DpkgBreaks &&
- End->Type != pkgCache::Dep::Obsoletes))
+ End->Type != pkgCache::Dep::Obsoletes)) &&
+ End->Type != pkgCache::Dep::DpkgBreaks )
// Try a little harder to fix protected packages..
if ((Flags[I->ID] & Protected) == Protected)
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.