[Pkg-ia32-libs-maintainers] Bug#535035: Bug#535035: ia32-apt-get tries to overwrite /usr/bin/apt-get

Goswin von Brederlow goswin-v-b at web.de
Mon Jun 29 09:21:32 UTC 2009


Iacopo Spalletti <segnalazioni at nephila.it> writes:

> Package: ia32-apt-get
> Version: 18
> Severity: grave
> Justification: renders package unusable
>
> I cannot install ia32-apt-get due to the following error
> Preparing to replace ia32-apt-get 18 (using .../ia32-apt-get_18_all.deb) ...
> Unpacking replacement ia32-apt-get ...
> dpkg: error processing /var/cache/apt/archives/ia32-apt-get_18_all.deb (--unpack):
>  trying to overwrite `/usr/bin/apt-get', which is also in package apt
> Errors were encountered while processing:
>  /var/cache/apt/archives/ia32-apt-get_18_all.deb

Fixed in 19. Diversions are created even on update if missing.

> Package cannot be removed because prerm tries to cancel diversions that don't exist
>
> Removing ia32-apt-get ...
> No diversion `diversion of /usr/bin/apt-get to /usr/bin/apt-get.real by ia32-apt-get', none removed
> No diversion `diversion of /usr/bin/dpkg-deb to /usr/bin/dpkg-deb.real by ia32-apt-get', none removed
> rm: cannot remove `/usr/share/ia32-apt-get/dists/transitional/Release.gpg': No such file or directory
> dpkg: error processing ia32-apt-get (--purge):
>  subprocess installed post-removal script returned error exit status 1
> Errors were encountered while processing:
>  ia32-apt-get

Also fixed in 19. The attempt to remove the diversions actualy is not
the problem. The rm is. If you touch
/usr/share/ia32-apt-get/dists/transitional/Release.gpg
you should be able to purge ia32-apt-get and then reinstall.


As a matter of interest why did you cancel the initial install of
ia32-apt-get half way through? This only happens when you stop it at a
bad place.

MfG
        Goswin





More information about the Pkg-ia32-libs-maintainers mailing list