The officially official Devuan Forum!

You are not logged in.

#1 2020-10-27 16:11:19

Excalibur
Member
Registered: 2019-03-07
Posts: 10  

To permanently block installation of Pulseaudio.

When installing multimedia software pulseaudio can be pulled in as a dependency or as a recommends. This can be blocked by using APT pinning. Place a file in /etc/apt/preferences.d containing the following: -

                              Package: pulseaudio
                              Pin: release n=beowulf
                              Pin-Priority: -10

Any software you do not want installed can be blocked in a similar way.

I use a Perl script to generate an avoid-pkgName file.

Offline

#2 2020-10-27 22:32:28

zapper
Member
Registered: 2017-05-29
Posts: 141  

Re: To permanently block installation of Pulseaudio.

Excalibur wrote:

When installing multimedia software pulseaudio can be pulled in as a dependency or as a recommends. This can be blocked by using APT pinning. Place a file in /etc/apt/preferences.d containing the following: -

                              Package: pulseaudio
                              Pin: release n=beowulf
                              Pin-Priority: -10

Any software you do not want installed can be blocked in a similar way.

I use a Perl script to generate an avoid-pkgName file.

Sounds good!


Black Lives Matter!  I am white, but I prefer equality over hatred.
Haughtiness comes before a fall, pride before destruction.
Peace be with you!

Offline

Board footer