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

Re: dpkg (without any --force) allows to break dependences



On Sat, Aug 23, 2003 at 10:49:46PM +0400, Nikita V. Youshchenko wrote:
> How to reproduse:
> 
> create test1_1.deb with package 'test1', version '1'
> creaet test1_2.deb with package 'test1', version '2'
> create test2.deb with package 'test2' that depends on test1 (>= 2)
> 
> dpkg -i test1_2.deb
> dpkg -i test2.deb
> dpkg -i test1_1.deb

IIRC from comments made by Ian a couple of years ago, failure to check
dependencies when downgrading is a very long-standing bug in dpkg. It
was filed as a bug in March 2000, although I think it's existed pretty
much since the original C implementation.

> Do I misunderstand something, or this is a serious bug in dpkg?

It's a bug, although I don't think it's a serious one (in the severity
sense).

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: