Control: forcemerge 20471 -1

Hi!

On Sun, 2022-12-18 at 14:43:05 +0100, Rene Engelhard wrote:
> Package: dpkg
> Version: 1.21.12
> Severity: important

> libuno-cppuhelpergcc3-3 has
> 
> Depends: ${misc:Depends}, ${shlibs:Depends}, uno-libs-private (= 
> ${binary:Version})
> 
> which then boils down to (uninteresting stuff stripped):
> 
> # apt-cache show libuno-cppuhelpergcc3-3
> Package: libuno-cppuhelpergcc3-3
> Architecture: amd64
> Version: 1:7.5.0~beta1-1
> [...]
> Depends: uno-libs-private (= 1:7.5.0~beta1-1), libc6 (>= 2.32), libgcc-s1 (>= 
> 3.3.1), libstdc++6 (>= 11), libuno-cppu3 (>= 4.4.0~alpha), libuno-sal3 (>= 
> 5.1.0~alpha), libuno-salhelpergcc3-3 (>= 1.4.0)
> [...]
> Package: libuno-cppuhelpergcc3-3
> Source: libreoffice
> Version: 1:7.4.3-2
> [...]
> Depends: uno-libs-private (= 1:7.4.3-2), libc6 (>= 2.32), libgcc-s1 (>= 
> 3.3.1), libstdc++6 (>= 11), libuno-cppu3 (>= 4.4.0~alpha), libuno-sal3 (>= 
> 5.1.0~alpha), libuno-salhelpergcc3-3 (>= 1.4.0)
> [...]
> 
> So as we see the = dependency on uno-libs-private is there.
> 
> Now (tried during finding out whether I need bumped depends/conflicts)
> try to upgrade it alone ("thanks" to apt now upgrading all packages in a
> source package manually with dpkg):
> 
> # dpkg -l libuno-cppuhelpergcc3-3 uno-libs-private
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                    Version      Architecture Description
> +++-=======================-============-============-============================================================================
> ii  libuno-cppuhelpergcc3-3 1:7.4.3-2    amd64        LibreOffice UNO runtime 
> environment -- CPPU helper library
> ii  uno-libs-private        1:7.4.3-2    amd64        LibreOffice UNO runtime 
> environment -- private libraries used by public ones
> # dpkg -i 
> /var/cache/apt/archives/uno-libs-private_1%3a7.5.0~beta1-1_amd64.deb 
> (Reading database ... 519340 files and directories currently installed.)
> Preparing to unpack .../uno-libs-private_1%3a7.5.0~beta1-1_amd64.deb ...
> Unpacking uno-libs-private (1:7.5.0~beta1-1) over (1:7.4.3-2) ...
> Setting up uno-libs-private (1:7.5.0~beta1-1) ...
> Processing triggers for libreoffice-common (1:7.4.3-2) ...
> # dpkg -l libuno-cppuhelpergcc3-3 uno-libs-private
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                    Version         Architecture Description
> +++-=======================-===============-============-============================================================================
> ii  libuno-cppuhelpergcc3-3 1:7.4.3-2       amd64        LibreOffice UNO 
> runtime environment -- CPPU helper library
> ii  uno-libs-private        1:7.5.0~beta1-1 amd64        LibreOffice UNO 
> runtime environment -- private libraries used by public ones
> 
> Shouldn't dpkg complain and refuse to do that unless I actually also
> upgrade libuno-cppuhelpergcc3-3?
> 
> This combo causes
> 
> $ lowriter
> Failed to open display
> Warning: failed to launch javaldx - java may not function correctly
> /usr/lib/libreoffice/program/soffice.bin: symbol lookup error: 
> /usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3: undefined symbol: 
> _ZN9xmlreader9XmlReaderC1ERKN3rtl8OUStringE
> 
> (there's more stuff here breaking (also in libmerged.so in
> libreofice-core) but uno-libs-private gets Breaks and
> libreoffice-core gets Depends, but still.
> For this case I worked around
> with 
> https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/69d4c143847a02a0b147fd061bdb010c36ce5d05
> of which at least the Breaks: against libuno-cppuhelpergcc3-3 (<< 1:7.5.0~),
> should not be needed at all given the = dependency.)
> 
> apt rightfully complains about Unmet dependencies afterwards when
> installing some random package ...
> 
> # apt install less
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> less is already the newest version (590-1).
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
>  libuno-cppuhelpergcc3-3 : Depends: uno-libs-private (= 1:7.4.3-2) but 
> 1:7.5.0~beta1-1 is to be installed
>  ure : Depends: uno-libs-private (= 1:7.4.3-2) but 1:7.5.0~beta1-1 is to be 
> installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
> specify a solution).
> #

Yeah, a known issue, which is currently tricky to fix AFAIR. Merging
with the others.

Thanks,
Guillem

Reply via email to