Bug 487794 - Cannot perform anny updates due to on broken package
Summary: Cannot perform anny updates due to on broken package
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: Updates (other bugs)
Version First Reported In: 6.0.4
Platform: Neon Linux
: HI major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-30 14:14 UTC by kristian.olofsson
Modified: 2024-06-03 08:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kristian.olofsson 2024-05-30 14:14:36 UTC
SUMMARY
i have 50+ updates in Discover, if try to update all i get an error with the following text:

<html>Package failed to install:<br/><br/>Error while installing package: trying to overwrite &apos;/usr/share/man/man7/libpipewire-module-access.7.gz&apos;, which is also in package pipewire-bin 1.0.7-1~ubuntu22.04</html>

if i only try to update a non pipwire package i get the same result i.e. i cannot update anything using Discover...

STEPS TO REPRODUCE
1. Try to update
2. 
3. 

OBSERVED RESULT
Fail on any update

EXPECTED RESULT
Success when updating

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i7-1260P
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: XPS 9320

ADDITIONAL INFORMATION
Comment 1 Gaël de Chalendar (aka Kleag) 2024-05-31 15:56:03 UTC
I have the same problem since the same moment:

```
The following packages have unmet dependencies:
 libpipewire-0.3-modules : Depends: libpipewire-0.3-0 (= 1.0.7-1~ubuntu22.04) but 1.0.7-3~ubuntu22.04 is installed
 pipewire-alsa : Depends: libpipewire-0.3-0 (= 1.0.7-1~ubuntu22.04) but 1.0.7-3~ubuntu22.04 is installed
 pipewire-bin : Depends: libpipewire-0.3-0 (= 1.0.7-1~ubuntu22.04) but 1.0.7-3~ubuntu22.04 is installed
 pipewire-jack : Depends: libpipewire-0.3-0 (= 1.0.7-1~ubuntu22.04) but 1.0.7-3~ubuntu22.04 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
```

Here is the output when trying `apt --fix-broken install`:
```
root@brezhoneg:/etc/apt/sources.list.d# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following package was automatically installed and is no longer required:
  libkf5iconthemes-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libpipewire-0.3-modules pipewire pipewire-alsa pipewire-bin pipewire-jack pipewire-pulse
Suggested packages:
  libpipewire-module-x11-bell
The following packages will be upgraded:
  libpipewire-0.3-modules pipewire pipewire-alsa pipewire-bin pipewire-jack pipewire-pulse
6 upgraded, 0 newly installed, 0 to remove and 109 not upgraded.
39 not fully installed or removed.
Need to get 0 B/1478 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 654288 files and directories currently installed.)
Preparing to unpack .../libpipewire-0.3-modules_1.0.7-3~ubuntu22.04_amd64.deb ...
Unpacking libpipewire-0.3-modules:amd64 (1.0.7-3~ubuntu22.04) over (1.0.7-1~ubuntu22.04) ...
dpkg: error processing archive /var/cache/apt/archives/libpipewire-0.3-modules_1.0.7-3~ubuntu22.04_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man7/libpipewire-module-access.7.gz', which is also in package pipewire-bin 1.0.7-1~ubuntu22.04
Errors were encountered while processing:
 /var/cache/apt/archives/libpipewire-0.3-modules_1.0.7-3~ubuntu22.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

```

Note that I have this in a apt list file:
```
deb https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu/ jammy main
```
Comment 2 Harald Sitter 2024-06-03 08:51:50 UTC
That's apt behavior, nothing to do with discover. Please contact the PPA maintainer about the bug.