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

Bug#270545: dpkg -i doesn't honor dependencies of the form <pkg> (>= X), <pkg> (<< X+1)



merge 217862 270545 170825
thanks

On Tue, 2004-09-07 at 23:17 +0200, Matthias Klose wrote:

> g++-3.4 (3.4.1-7) has a dependency of the form
> 
> 	gcc-3.4 (>= 3.4.1-7), gcc-3.4 (<< 3.4.2)
> 
> to ensure that the g++ driver (/usr/bin/g++-3.4) can find files in the
> gcclibdir (/usr/lib/gcc/<arch>/3.4.1 or /usr/lib/gcc/<arch>/3.4.2).
> 
> Having installed all of gcc-3.4 3.4.1-7 binaries, and installing new
> gcc-3.4-base, cpp-3.4, gcc-3.4, libcpp1 (all 3.4.2-1) using dpkg -i
> succeeds, leaving a broken g++-3.4:
> 
If you install g++-3.4 3.4.1-7 binaries at the same time you try to
install gcc-3.4 3.4.2-1 binaries, this fails.  It's only the upgrade
that's not failing.

This is just a symptom of the "dpkg doesn't recheck versioned
dependencies" bug, merging with that.  It's a good test case for it.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: