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

Re: apt upgrade problem with libgcc4 and libgcc-s4



Hi Frank!

Long time no see.

On 3/9/20 8:33 PM, Frank Scheiner wrote:
> ```
> [...]
> Unpacking libgcc-s4:hppa (10-20200222-1) ...
> dpkg: error processing archive
> /var/cache/apt/archives/libgcc-s4_10-20200222-1_hppa.deb (--unpack):
>  trying to overwrite '/lib/hppa-linux-gnu/libgcc_s.so.4', which is also
> in package libgcc4:hppa 1:8.3.0-3
> Errors were encountered while processing:
>  /var/cache/apt/archives/libgcc-s4_10-20200222-1_hppa.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> [...]
> ```
> 
> ...which I was unable to solve with `apt`.
> (...)
> Did anybody else run into this issue?
There were some breaking changes in the gcc packages [1]. You can fix this
with apt with:

$ apt install -f -o Dpkg::Options::="--force-overwrite" [2]

Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950525
> [2] https://raphaelhertzog.com/2011/08/01/understanding-dpkgs-file-overwrite-error/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: