sudo apt-get remove wireplumber
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
fonts-cantarell libwireplumber-0.4-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
pipewire-media-session
The following packages will be REMOVED:
ubuntu-desktop ubuntu-desktop-minimal wireplumber
The following NEW packages will be installed:
pipewire-media-session
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 142 kB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
有没有办法避免这种情况并安全地移除 wireplumber,因为它会破坏音频,我恢复到了 pluseaudio。我正在使用 Ubuntu 23.04。提前致谢。
答案1
当您安装时wireplumber
,pipewire-media-session
由于两个软件包相互冲突而被删除...但是,任何一个包对于桌面功能都是必不可少的...因此,通过安装pipewire-media-session
,APT 应该wireplumber
像这样安全地删除:
$ sudo apt-get install pipewire-media-session
.
.
.
The following packages will be REMOVED:
wireplumber
The following NEW packages will be installed:
pipewire-media-session
.
.
.
Do you want to continue? [Y/n] y
ubuntu-desktop
是一个元包(多个包裹的“容器”) ... 其中一些软件包是必需的,不能删除,如果没有它们,DE 将无法正常运行... 因此,如果您删除其中任何一个软件包,它们ubuntu-desktop
也将被删除... 其中一些软件包可以用类似的软件包替代(就像上面提到的两个 pipewire 会话管理器),但即使这样也会引起问题...最好不要管他们(即没有移除/替换)。
安装pipewire-media-session
应该只删除wireplumber
...ubuntu-desktop
根本不应该被删除...但是,我不知道您对系统做了哪些其他包修改...所以在回答“是”之前,请小心并阅读 APT 打印的要删除的包。
但是,如果 APT 仍在尝试删除ubuntu-desktop
,则意味着缺少其他必需的软件包...因此,回答“否”并重新安装,ubuntu-desktop
如下所示:
sudo apt-get install --reinstall ubuntu-desktop
然后再试一次。