[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#220858: apt: apt-get build-dep can issue spurious complaints about broken installation



severity 220858 minor
thanks

On Sat, Nov 15, 2003 at 01:26:31AM -0500, Branden Robinson wrote:
> Package: apt
> Version: 0.5.14
> Severity: normal
> 
> redwald:~# apt-get build-dep subversion
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Some broken packages were found while trying to process build-dependencies for subversion.
> You might want to run `apt-get -f install' to correct these.
> redwald:~# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 
> I presume the problem is that subversion's build-dependencies are
> unsatisfiable, but that's not what apt is telling me; instead, it's telling me
> my system is busted, which by its own subsequent testimony is not the case.

The actual error message could probably be clearer, and it definitely
shouldn't suggest running apt-get -f install in this case.  I tried to
reproduce this to find out what the actual problem was, but I get a much
more helpful message:

E: Build-Depends dependency for subversion cannot be satisfied because no available versions of package apache2-dev can satisfy version requirements

Which is precisely accurate because apache2-dev is a virtual package.
Do you have an installed package providing apache2-dev?  Try
-o Debug::BuildDeps=true to find out what's going on.

-- 
 - mdz



Reply to: