Bug#1042857: coinor-libcbc3.1: Fails to install, conflicts with coinor-libcbc3:amd64

2023-08-14 Thread Richard Winters
Package: coinor-libcbc3.1
Version: 2.10.10+really2.10.10+ds1-2
Followup-For: Bug #1042857
X-Debbugs-Cc: kirv...@gmail.com

Dear Maintainer,

I replied previously to confirm the bug, I was unable to resolve the issue at
the time, but did find a way to do so before you put ds1-3 into sid:

1. Using dpkg directly:

```bash
sudo dpkg -r coinor-libcbc3
```

2. Again, using dpkg directly after a successful removal of v3:

```bash
sudo dpkg -i /var/cache/apt/archives/coinor-
libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb
```

3. Finally, to fix the failed upgrade:

```bash
sudo apt-get --fix-broken install
```

The chain of broken dependencies for those of us that have gnome and standard-
tools installed wanted to uninstall gnome and friends if using apt and going up
the chain far enough:

```bash
rik@devrikx:~$ sudo apt-get remove coinor-libcbc3 -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 coinor-libcoinmp1v5 : Depends: coinor-libcbc3.1 (>= 2.10.10+really2.10.10+ds1)
but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).
rik@devrikx:~$ sudo apt-get remove coinor-libcoinmp1v5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-calc : Depends: coinor-libcoinmp1v5 (>= 1.8.3-3) but it is not
going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).
rik@devrikx:~$ sudo apt-get remove libreoffice-calc coinor-libcoinmp1v5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 gnome : Depends: libreoffice-calc but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).
```

So using dpkg directly was the only way to resolve it - perhaps aptitude could
have resolved it if it was already installed, but it wasn't possible to do so
with apt in the middle of a broken upgrade.

I see you pushed a fix, I just thought maybe this might help someone stuck in a
failed update before it moves from experimental to testing - given the
circumstances.

Here's the succeeded upgrade output:

```bash
rik@devrikx:~$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  docker-scan-plugin g++-12 gcc-12-base:i386 gir1.2-gtkclutter-1.0 libamd2
libatk-wrapper-java libatk-wrapper-java-jni libavutil57:i386 libblockdev-
crypto2
  libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2
libblockdev-swap2 libblockdev-utils2 libblockdev2 libcamd2 libccolamd2
libcholmod3
  libcodec2-1.0:i386 libcolamd2 libdecor-0-0:i386
libdecor-0-plugin-1-cairo:i386 libdigest-md5-file-perl libdmapsharing-3.0-2
libdraco7 libexecs0 libgdal32
  libgeos3.11.1 libhttp-cookiejar-perl libixml10 libjavascriptcoregtk-5.0-0
liblc3-0 libmetis5 libossp-uuid-perl libossp-uuid16 libraw20 libre2-9
  libsdl-image1.2 libsdl2-2.0-0:i386 libstdc++-12-dev libsuitesparseconfig5
libswitch-perl libumfpack5 libupnp13 libusb-1.0-0:i386 libwayland-cursor0:i386
  libwayland-egl1:i386 libwebkit2gtk-5.0-0 libxcursor1:i386 libxdamage1:i386
libxi6:i386 libxkbcommon0:i386 libxrandr2:i386 libxt-dev
  linux-headers-6.1.0-3-amd64 linux-headers-6.1.0-3-common linux-
headers-6.1.0-5-amd64 linux-headers-6.1.0-5-common linux-headers-6.1.0-6-amd64
  linux-headers-6.1.0-6-common linux-headers-6.1.0-7-amd64 linux-
headers-6.1.0-7-common linux-headers-6.1.0-9-amd64 linux-headers-6.1.0-9-common
  linux-image-6.1.0-3-amd64 linux-image-6.1.0-5-amd64 linux-image-6.1.0-6-amd64
linux-image-6.1.0-7-amd64 linux-image-6.1.0-9-amd64 linux-kbuild-6.1
  python3-renderpm python3-reportlab-accel steam-devices steam-libs:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 85 not upgraded.
564 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libpipewire-0.3-common (0.3.76-1) ...
Setting up libboost-chrono1.74.0:amd64 (1.74.0+ds1-22) ...
Setting up libgoa-1.0-common (3.48.0-2) ...
Setting up media-types (10.1.0) ...
Installing new version of config file /etc/mime.types ...
Setting up libboost-system1.74.0:amd64 (1.74.0+ds1-22) ...
Setting up python3-more-itertools (10.0.1-1) ...
Setting up bzip2-doc (1.0.8-5) ...
Setting up gcc-11-base:amd64 (11.4.0-2) ...
Setting up libwayland-server0:amd64 (1.22.0-2) ...
Setting up bat (0.23.0-4) ...
Setting up 

Bug#1042857: coinor-libcbc3.1: Fails to install, conflicts with coinor-libcbc3:amd64

2023-08-02 Thread Pierre Gruet
On Tue, 1 Aug 2023 23:21:52 +0200 Samuel Thibault  
wrote:

> Package: coinor-libcbc3.1
> Version: 2.10.10+really2.10.10+ds1-2
> Severity: serious
> Justification: Fails to install
>
> Hello,
>
> While upgrading testing today:
>
> Preparing to unpack 
.../coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb ...

> Unpacking coinor-libcbc3.1:amd64 (2.10.10+really2.10.10+ds1-2) ...
> dpkg: error processing archive 
/var/cache/apt/archives/coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb 
(--unpack):
> trying to overwrite '/usr/lib/x86_64-linux-gnu/libCbc.so.3.10.10', 
which is also in package coinor-libcbc3:amd64 2.10.10+ds1-1

> Errors were encountered while processing:
> 
/var/cache/apt/archives/coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb

> needrestart is being skipped since dpkg has failed
>
> I guess there should be some breaks+replace or some renaming?
>
> Samuel
>
> -- System Information:
> Debian Release: trixie/sid
> APT prefers testing
> APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 
'oldstable-proposed-updates'), (500, 'oldoldstable-proposed-updates'), 
(500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), 
(500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 
'buildd-experimental'), (1, 'experimental')

> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, arm64
>
> Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE not set

> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages coinor-libcbc3.1 depends on:
> ii coinor-libcgl1 0.60.3+repack1-4
> ii coinor-libclp1 1.17.6-3
> ii coinor-libcoinutils3v5 2.11.4+repack1-2
> ii coinor-libosi1v5 0.108.6+repack1-2
> ii libc6 2.37-6
> ii libgcc-s1 13.1.0-6
> ii libstdc++6 13.1.0-6
>
> coinor-libcbc3.1 recommends no packages.
>
> coinor-libcbc3.1 suggests no packages.
>
>



Bug#1042857: coinor-libcbc3.1: Fails to install, conflicts with coinor-libcbc3:amd64

2023-08-01 Thread Samuel Thibault
Package: coinor-libcbc3.1
Version: 2.10.10+really2.10.10+ds1-2
Severity: serious
Justification: Fails to install

Hello,

While upgrading testing today:

Preparing to unpack .../coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb 
...
Unpacking coinor-libcbc3.1:amd64 (2.10.10+really2.10.10+ds1-2) ...
dpkg: error processing archive 
/var/cache/apt/archives/coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb 
(--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libCbc.so.3.10.10', which is 
also in package coinor-libcbc3:amd64 2.10.10+ds1-1
Errors were encountered while processing:
 /var/cache/apt/archives/coinor-libcbc3.1_2.10.10+really2.10.10+ds1-2_amd64.deb
needrestart is being skipped since dpkg has failed

I guess there should be some breaks+replace or some renaming?

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 
'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages coinor-libcbc3.1 depends on:
ii  coinor-libcgl1  0.60.3+repack1-4
ii  coinor-libclp1  1.17.6-3
ii  coinor-libcoinutils3v5  2.11.4+repack1-2
ii  coinor-libosi1v50.108.6+repack1-2
ii  libc6   2.37-6
ii  libgcc-s1   13.1.0-6
ii  libstdc++6  13.1.0-6

coinor-libcbc3.1 recommends no packages.

coinor-libcbc3.1 suggests no packages.