You are not logged in.
Pages: 1
$ sudo pacman -Rsn pipewire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: chromium: removing pipewire breaks dependency 'pipewire'
code 1
This package is only required for chromium in my system and has been installed with chromium .
$ sudo pacman -Rsn chromium
checking dependencies...
Package (6) Old Version Net Change
minizip 1:1.2.11-3 -0.08 MiB
re2 20190601-1 -0.46 MiB
snappy 1.1.7-1 -0.10 MiB
ttf-dejavu 2.37-2 -9.75 MiB
xdg-utils 1.1.3-3 -0.31 MiB
chromium 75.0.3770.100-1 -173.11 MiB
Total Removed Size: 183.82 MiB
:: Do you want to remove these packages? [Y/n] n
code 1
Why pipewire is not removed along with chromium?
P.S. I have observed this behavior also in some other cases.
Offline
Nope:
sudo pacman -Rds chromium
checking dependencies...
Package (4) Old Version Net Change
pipewire 0.2.6+1+g37613b67-1 -2.00 MiB
rtkit 0.12-1 -0.08 MiB
sbc 1.4-1 -0.25 MiB
chromium 75.0.3770.100-1 -173.11 MiB
Total Removed Size: 175.44 MiB
:: Do you want to remove these packages? [Y/n] ^C
Interrupt signal received
┌─[Shiv ~ 130]
└─╼ sudo pacman -Rsn chromium
checking dependencies...
Package (4) Old Version Net Change
pipewire 0.2.6+1+g37613b67-1 -2.00 MiB
rtkit 0.12-1 -0.08 MiB
sbc 1.4-1 -0.25 MiB
chromium 75.0.3770.100-1 -173.11 MiB
Total Removed Size: 175.44 MiB
:: Do you want to remove these packages? [Y/n] ^C
Offline
What can this behavior depend on?
Offline
Before I started playing with building chromium without pipewire, I was able to remove it just fine with a `pacman -Rs chromium`.
Last edited by graysky (2019-06-21 23:12:23)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Trying to figure it out I reinstalled chromium from Arch repo. And now...
$ sudo pacman -Rsn chromium
checking dependencies...
:: imagemagick optionally requires libwebp: WEBP support
:: libreoffice-fresh optionally requires gst-plugins-base-libs: for multimedia content, e.g. in Impress
:: mc optionally requires cdparanoia: audio extfs
:: python-pillow optionally requires libwebp: for webp images
:: sdl2 optionally requires jack: JACK audio driver
warning: dependency cycle detected:
warning: x264 will be removed after its ffmpeg dependency
Package (43) Old Version Net Change
aom 1.0.0-1 -10.19 MiB
cdparanoia 10.2-7 -0.17 MiB
ffmpeg 1:4.1.3-1 -29.05 MiB
graphene 1.8.6-1 -2.11 MiB
gsm 1.0.18-1 -0.09 MiB
gst-plugins-base 1.16.0-3 -0.91 MiB
gst-plugins-base-libs 1.16.0-3 -16.90 MiB
gstreamer 1.16.0-2 -17.95 MiB
jack 0.125.0-7 -2.78 MiB
l-smash 2.14.5-1 -1.04 MiB
lame 3.100-2 -0.97 MiB
libass 0.14.0-1 -0.26 MiB
libavc1394 0.5.4-3 -0.11 MiB
libbluray 1.1.2-1 -1.17 MiB
libiec61883 1.2.0-5 -0.15 MiB
libmodplug 0.8.9.0-2 -0.34 MiB
libraw1394 2.1.2-2 -0.16 MiB
libsoxr 0.1.3-1 -0.31 MiB
libssh 0.8.7-1 -0.63 MiB
libtheora 1.1.1-4 -1.74 MiB
libvisual 0.4.0-7 -0.47 MiB
libvpx 1.8.0-1 -4.72 MiB
libwebp 1.0.2-1 -1.06 MiB
libxv 1.0.11-2 -0.06 MiB
minizip 1:1.2.11-3 -0.08 MiB
opencore-amr 0.1.5-2 -0.25 MiB
opus 1.3.1-1 -1.71 MiB
orc 0.4.29-1 -1.05 MiB
pipewire 0.2.6+1+g37613b67-1 -2.00 MiB
re2 20190601-1 -0.46 MiB
rtkit 0.12-1 -0.08 MiB
sbc 1.4-1 -0.25 MiB
snappy 1.1.7-1 -0.10 MiB
ttf-dejavu 2.37-2 -9.75 MiB
v4l-utils 1.16.6-1 -4.16 MiB
vid.stab 1.1-2 -0.16 MiB
x264 2:157.r72db4377-1 -3.78 MiB
x265 3.0-1 -19.56 MiB
xdg-utils 1.1.3-3 -0.31 MiB
xvidcore 1.3.5-1 -0.71 MiB
zita-alsa-pcmi 0.3.2-1 -0.08 MiB
zita-resampler 1.6.2-1 -0.19 MiB
chromium 75.0.3770.100-1 -173.11 MiB
Total Removed Size: 311.13 MiB
:: Do you want to remove these packages? [Y/n] n
code 1
Kind of weird...
Offline
Note that your first post excluded the one relevant bit of data: output from `pacman -Qi pipewire`.
You showed that pipewire was a dependency of chromium but was not removed with chromium. There is nothing odd at all about those circumstances and they are bound to be encountered regularly. Pipewire may have been an optional dependency for something else that you already had installed.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
$ pacman -Qi pipewire
Name : pipewire
Version : 0.2.6+1+g37613b67-1
Description : Server and user space API to deal with multimedia pipelines
Architecture : x86_64
URL : https://pipewire.org
Licenses : LGPL2.1
Groups : None
Provides : None
Depends On : gstreamer gst-plugins-base sbc ffmpeg rtkit
Optional Deps : None
Required By : chromium
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 2.00 MiB
Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date : Sat 15 Jun 2019 01:44:57 UTC
Install Date : Sat 22 Jun 2019 11:01:14 UTC
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : Signature
Pipewire may have been an optional dependency for something else that you already had installed.
Nope: https://www.archlinux.org/packages/extr … /pipewire/.
pipewire required by 5 packages: chromium, gnome-remote-desktop, mutter, xdg-desktop-portal, xdg-desktop-portal-kde as a hard dependence. Only chromium is installed. Besides optional dependencies are specified when removing the package in the second case.
Turns out that pacman does not always correctly determine dependencies.
In the first case chromium was installed long ago and a new dependency (pipewire) was added later.
In the second case they were installed together.
Or something else maybe?
Offline
Given that there's no real evidence of a bug here, I'd think "something else maybe" would be correct. The -Qi output *now* is not so relevant. I was saying it was missing from the first post when you were in the state where you thought there was a problem. If pipewire had been explicitly installed, then the output you provided would be exactly what should be seen.
The problem is you have seen a given result. There are many causes that can lead to that result. Many of those causes are benign/normal, and one - the least parsimonious one at that - would be indicative of a bug in pacman. And from that you conclude that there is a bug in pacman?
Sure, it can't be ruled out. But there is no evidence of this present, and in the absence of evidence, jumping to that conclusion just seems silly.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I will watch and just ask other users to watch this too.
Offline
It is possible if pipewire was installed before chromium, so that it is not installed as chromium dependency.
Another possibility is pipewire removed using "pacman -Rdd" and reinstalled with "pacman -S".
Arch is home!
https://github.com/Docbroke
Offline
It is possible if pipewire was installed before chromium, so that it is not installed as chromium dependency.
It was the opposite.
Another possibility is pipewire removed using "pacman -Rdd" and reinstalled with "pacman -S".
It was the other way around.
Offline
[…]so that it is not installed as chromium dependency.
pacman doesn't care what a package was installed as a dependency for. If you uninstall a package with -Rs, pacman will uninstall all its dependencies (recursively) that are not required by any other package (optional dependencies are ignored; they simply lead to a warning message) [EDIT: and that are also not installed explicitly]
zsx, as Trilby has mentioned above, the -Qi output would have allowed us to understand the situation. But it was missing, and now (as per post #5), it is also no longer possible to understand what was going on at first (unless you manage to reproduce it).
Your pacman logs, OTOH, would help us understand what went on.
Last edited by ayekat (2019-06-23 12:13:16)
Offline
[sharad] (08:17 AM)-(Sun Jun 23) [~]
└───▶ pacrns netsurf
checking dependencies...
Package (5) Old Version Net Change
libhubbub 0.3.5-2 -0.34 MiB
libnsutils 0.0.5-3 -0.02 MiB
libparserutils 0.2.4-3 -0.15 MiB
libwapcaplet 0.4.1-2 -0.02 MiB
netsurf 3.8-2 -4.83 MiB
Total Removed Size: 5.37 MiB
:: Do you want to remove these packages? [Y/n] n
┌─[sharad] (08:17 AM)-(Sun Jun 23) !9985! [~]
└───▶ pacrdd libnsutils
Package (1) Old Version Net Change
libnsutils 0.0.5-3 -0.02 MiB
Total Removed Size: 0.02 MiB
:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing libnsutils [###############################################] 100%
┌─[sharad] (08:17 AM)-(Sun Jun 23) [~]
└───▶ pacs libnsutils
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change
community/libnsutils 0.0.5-3 0.02 MiB
Total Installed Size: 0.02 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [###############################################] 100%
(1/1) checking package integrity [###############################################] 100%
(1/1) loading package files [###############################################] 100%
(1/1) checking for file conflicts [###############################################] 100%
(1/1) checking available disk space [###############################################] 100%
:: Processing package changes...
(1/1) installing libnsutils [###############################################] 100%
┌─[sharad] (08:18 AM)-(Sun Jun 23) [~]
└───▶ pacrns netsurf
checking dependencies...
Package (4) Old Version Net Change
libhubbub 0.3.5-2 -0.34 MiB
libparserutils 0.2.4-3 -0.15 MiB
libwapcaplet 0.4.1-2 -0.02 MiB
netsurf 3.8-2 -4.83 MiB
Total Removed Size: 5.34 MiB
:: Do you want to remove these packages? [Y/n] n
As you can see in above example, is libnsutils, which if installed by itself not with netsurf, it will not be uninstalled with netsurf.
Arch is home!
https://github.com/Docbroke
Offline
It has nothing to do with whether it was installed with netsurf, as previously noted, pacman has no record of such information. All that is stored is whether it was explicitly installed or installed as a dependency.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I am trying to say the same thing, the bug OP has posted here can occure if pipewire is explicitly installed.
In below code same thing happens with libnsutis in netsurf example, that was seen with pipewire in OP's example.
┌─[sharad] (10:13 AM)-(Sun Jun 23) [~]
└───▶ pacrns libnsutils
[sudo] password for sharad:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: netsurf: removing libnsutils breaks dependency 'libnsutils>=0.0.5'
┌─[sharad] (10:13 AM)-(Sun Jun 23) !9987! [~]
└───▶ pacrns netsurf
checking dependencies...
Package (4) Old Version Net Change
libhubbub 0.3.5-2 -0.34 MiB
libparserutils 0.2.4-3 -0.15 MiB
libwapcaplet 0.4.1-2 -0.02 MiB
netsurf 3.8-2 -4.83 MiB
Total Removed Size: 5.34 MiB
:: Do you want to remove these packages? [Y/n] n
Last edited by Docbroke (2019-06-23 04:47:31)
Arch is home!
https://github.com/Docbroke
Offline
I am trying to say the same thing, the bug OP has posted here can occure if pipewire is explicitly installed.
That's not a bug, that's normal, expected behavior.
Offline
Pages: 1