retitle 568566 dpkg: Versioned Replaces do not work when downgrading
thanks

Hi!

On Sat, 2010-02-06 at 12:53:09 -0800, William Estrada wrote:
> 1.
> >dpkg -l base-files
> >Desired=Unknown/Install/Remove/Purge/Hold
> >| 
> >Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> >|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> >||/ Name           Version        Description
> >+++-==============-==============-============================================
> >ii  base-files     5.0.0          Debian base system miscellaneous files

Ok, after checking around found out this version and all 5.0.x actually
contains the origin files, so this is from testing and not stable.

> 2. Tried to install the latest Xemacs and got this:

Try downgrading base-files and dpkg to the version in stable, after
that you should be able to install xemacs21.

You shoudl be able to do so with something like:

  # apt-get install base-files=5lenny5 dpkg=1.14.28
  # apt-get install xemacs21

> Then this:
> ># aptitude install xemacs22

This packages does not actually exist.

> Guillem Jover wrote:
> > On Fri, 2010-02-05 at 13:31:30 -0800, william estrada wrote:
> > > Writing extended state information... Done
> > > dpkg: warning: downgrading dpkg from 1.15.5.6 to 1.14.28.
> > > (Reading database ... 157978 files and directories currently installed.)
> > > Preparing to replace dpkg 1.15.5.6 (using 
> > > .../archives/dpkg_1.14.28_i386.deb) ...
> > > Unpacking replacement dpkg ...
> > > dpkg: error processing /var/cache/apt/archives/dpkg_1.14.28_i386.deb 
> > > (--unpack):
> > >   trying to overwrite '/etc/dpkg/origins/debian', which is also in 
> > > package base-files 0:5.0.0
> >
> > ... this seems very strance as base-files 5.0.0 should not be shipping
> > /etc/dpkg/origins/debian at all. Could you check in your logs [0] if you
> > have upgraded base-files recently? Also output from 'dpkg -l base-files'
> > would be useful.

So as I've said above, base-files is fine, and it has a versioned
Replaces, which does not work in this case. I found the broken
code yesterday and have a patch, but want to test it first, and will
be producing some test cases for the functional test suite as well.

thanks,
guillem



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to