Closed grahamperrin closed 7 years ago
Possibly distinguishing this issue from more recent https://github.com/trueos/trueos-core/issues/230:
– note that above, I responded n
to deinstalling, so I do not (yet) know whether the end result would have been an OS that will not boot.
In both cases the keyword for @kmoore134 is pkg and he asked me to e-mail him with reference to the issue(s), I guess that it suffices to @ mention his name (less noisy than e-mail).
Based on the man
pages, I actually believe this is correct pkg
behaviour. The resolver doesn't leave dangling dependencies.
The way to do this without removing other packages is with the -f
flag. Here I use it in combination with -n
which is a dry-run:
$ sudo pkg remove -nf pulseaudio
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
pulseaudio-9.0_3
Number of packages to be removed: 1
The operation will free 6 MiB.
Thanks. There remains the likelihood of users not predicting that with TrueOS as it is, simply allowing AppCafe to clean something can clean away the entire desktop environment, including AppCafe, which is (ahem) a tad too clean :smile_cat:
We have been talking about this today. It is a priority after the holidays to provide some ways to disable, and remove this.
Ok I have checked, and pulseaudio is not getting installed by trueos-desktop. Unfortunately it is pulled in by other programs which build with it on. Such as firefox, thunderbird, virtualbox, quassel. qt multimedia required by Lumina. Once it's been turned on globally for all apps removing it will remove all of that apps. We can't enable support for pulse without doing this. So there is no way for us to allow removing this. We can only allow disabling it. Which we have already done.