On Thu, Oct 13, 2011 at 05:00:53PM -0400, James Cloos wrote:
> With the rename, I now get this when upgrading:
> 
> 
> The following packages have unmet dependencies:
>  bison : Depends: libbison-dev (= 1:2.5.dfsg-2) but it is not installed
> 
> ...
> 
> Unpacking libbison-dev (from .../libbison-dev_1%3a2.5.dfsg-2_i386.deb) ...
> dpkg: error processing 
> /var/cache/apt/archives/libbison-dev_1%3a2.5.dfsg-2_i386.deb (--unpack):
>  trying to overwrite '/usr/lib/i386-linux-gnu/liby.a', which is also in 
> package liby-dev 1:2.5.dfsg-1
> configured to not write apport reports
>                                       dpkg-deb: error: subprocess paste was 
> killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/libbison-dev_1%3a2.5.dfsg-2_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> And there doesn't seem to be any way around this using apt.

Workaround for this bug:
dpkg -i --force-overwrite 
/var/cache/apt/archives/libbison-dev_1%3a2.5.dfsg-2_i386.deb

> The suggested apt-get -f install dies the same was as upgrade, and
> neither remove nor purge can remove the liby-dev package.
> 
> One must 'dpkg --purge liby-dev' in order to install libbison-dev.

A "Replaces: liby (= 1:2.5.dfsg-1)" should fix that bug properly.

Unrelated:
yiff should get an epoch in the version number, so that it's liby-dev to 
get a higher version number than the bison one.

> -JimC

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




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

Reply via email to