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

Re: dpkg error

On Thu, Mar 27, 2008 at 8:43 PM, Jude DaShiell <jdashiel@shellworld.net> wrote:
> This is one dpkg failed to recover from; just the relevant lines of the
>  script file follow:
>  Selecting previously deselected package libdjvulibre21.
>  Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
>  dpkg: error processing /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
>   trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in package libdjvulibre15

If you've gotten to that point, presumably you have partially updated
packages that depend on those (such as evince).  What worked for me
was to do a
$ dpkg -r libdjvulibre15
followed by a normal run of aptitude.  Removing the old library
doesn't cause evince to be removed, because the new version is already
there, just broken.


Michael A. Marsh

Reply to: