:: Re: [DNG] Pipewire and PulseAudio: …
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Didier Kryn
Fecha:  
A: dng
Asunto: Re: [DNG] Pipewire and PulseAudio: apulse & firefox
Le 18/12/2021 à 14:55, Antony Stone a écrit :
> On Saturday 18 December 2021 at 14:43:30, Didier Kryn wrote:
>
>>     Aptitude why libpulse0 only lists xfce4-pulseaudio-plugin, but it
>> misses a lot, including indirectly xfce4.
> Yes, this is in my opinion one of the shortcomings of "aptitude why" - it only 
> goes "one level up", whereas I would like it to follow each dependency until 
> it finds something that was installed manually, or is a system-essential 
> component.

>
> So, you did "aptitude why libpulse0" and it said "xfce4-pulseaudio-plugin".
>
> However, was that:
>     "xfce4-pulseaudio-plugin Depends libpulse0" or
>     "xfce4-pulseaudio-plugin Recommends libpulse0" or
>     "xfce4-pulseaudio-plugin Suggests libpulse0" ?

    depends. This is obvious. the plugin needs at least to determine if
PA is installed. libpulse0 plays the same role as libsystemd0. And
package xfce4 is probably a virtual package which has no content but
only dependencies, one of them being xfce4-pulseaudio-plugin. The
problem is when you remove xfce4, all the useful stuff of xfce4 which
were installed automatically become "removable" and you need to turn
them one by one to "manually installed" to secure them.
>
> The next step is to do "aptitude why xfce4-pulseaudio-plugin" and keep
> following things until you discover which package that you installed manually,
> or which essential system component, ultimately means you ended up with
> libpulse0.
>
>> apt-get remove --purge libpulse0 wants to remove the following (which
>> includes gimp):
>>
>> The following packages will be REMOVED:
>> atril* audacious* audacious-plugins* blueman* ffmpeg* font-manager*
>> geeqie*
>> gimp* gstreamer1.0-libav* gstreamer1.0-plugins-good* libasound2-plugins*
>> libatrilview3* libavdevice58* libavfilter7* libffmpegthumbnailer4v5*
>> libfluidsynth2* libgegl-0.4-0* libgimp2.0* libopenscenegraph161*
>> libpocketsphinx3* libpulse-mainloop-glib0* libpulse0* libqt5multimedia5*
>> libsdl-image1.2* libsdl1.2debian* libsdl2-2.0-0* libsphinxbase3*
>> libwebkit2gtk-4.0-37* libyelp0* metacity* metacity-themes* pavucontrol*
>> qemu-system-gui* scribus* surf* vlc* vlc-plugin-base* xfce4*
>> xfce4-pulseaudio-plugin* yelp* zenity*
>> 0 upgraded, 0 newly installed, 41 to remove and 0 not upgraded.
> Do you get the same list of packages from "aptitude purge libpulse0"?

    Here it is: to preserve the dependent packages, aptitude recommends
to not do the requested action! It seems to stay in the middle of the
dependency tree because it misses some ultimately dependant packages.

(sda5)root@apcnb98:~# aptitude purge libpulse0
The following packages will be REMOVED: 
  libasyncns0{u} libpulse0{p}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 1,039 kB will be freed.
The following packages have unmet dependencies:
 libsphinxbase3 : Depends: libpulse0 (>= 0.99.1) but it is not going to
be installed
 libfluidsynth2 : Depends: libpulse0 (>= 0.99.1) but it is not going to
be installed
 audacious-plugins : Depends: libpulse0 (>= 0.99.1) but it is not going
to be installed
 libavdevice58 : Depends: libpulse0 (>= 0.99.1) but it is not going to
be installed
 libasound2-plugins : Depends: libpulse0 (>= 0.99.1-1~) but it is not
going to be installed
 pavucontrol : Depends: libpulse0 (>= 4.0) but it is not going to be
installed
 libpulse-mainloop-glib0 : Depends: libpulse0 (= 14.2-2) but it is not
going to be installed
 libqt5multimedia5 : Depends: libpulse0 (>= 0.99.1) but it is not going
to be installed
 gstreamer1.0-plugins-good : Depends: libpulse0 (>= 2.0) but it is not
going to be installed
 libsdl2-2.0-0 : Depends: libpulse0 (>= 0.99.1) but it is not going to
be installed
 libsdl1.2debian : Depends: libpulse0 (>= 0.99.1) but it is not going to
be installed
 xfce4-pulseaudio-plugin : Depends: libpulse0 (>= 0.99.1) but it is not
going to be installed
 qemu-system-gui : Depends: libpulse0 (>= 0.99.1) but it is not going to
be installed
 vlc-plugin-base : Depends: libpulse0 (>= 1.0) but it is not going to be
installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libasyncns0 [0.8-6+b2 (now, stable)]              
2)     libpulse0 [14.2-2 (now, stable)]




Accept this solution? [Y/n/q/?]