微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何强制降级Ubuntu(Karmic)上的软件包?

在对一堆pulseaudio包进行更新后,我的麦克风停止工作.这很好,毕竟Karmic还在Alpha.我已经向启动板报告了这个错误.

同时我想恢复pulseaudio包的更新.不幸的是,没有一个软件包允许我在Synaptic上选择“强制版本”选项.我想删除它们然后安装旧的软件包,但是删除脉冲意味着删除名为ubuntu-desktop的软件包,我担心它可能会更糟糕.我很难找到旧版本的软件包,但我最终将每个* .deb下载到我的机器上.

这些是根据Synaptic的历史更新.

libpulse-browse0 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
libpulse-mainloop-glib0 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
libpulse0 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-esound-compat (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-module-bluetooth (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-module-gconf (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-module-x11 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-module-zeroconf (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-utils (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1
pulseaudio-module-udev (1:0.9.16~test4-0ubuntu1)

建议?

如果你不害怕弄脏手,最好的方法是:

apt-cache show packagename

它将根据您的sources.list定义向您显示可以安装的所有不同版本的软件包.你会得到类似的东西(这就是它的样子):

root@shiny-desktop:/home/shiny# apt-cache show libpulse-browse0
Package: libpulse-browse0
Status: install ok installed
Priority: optional
Section: sound
Installed-Size: 100
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Source: pulseaudio
Version: 1:0.9.15-4ubuntu2~ppa1
Depends: libavahi-client3 (>= 0.6.16),libavahi-common3 (>= 0.6.16),libc6 (>= 2.4),libcap1,libdbus-1-3 (>= 1.0.2),libgdbm3,libice6 (>= 1:1.0.0),libpulse0 (= 1:0.9.15-4ubuntu2~ppa1),libsm6,libwrap0 (>= 7.6-4~),libx11-6,libxtst6
Description: pulseAudio client libraries (zeroconf support)
 pulseAudio,prevIoUsly kNown as polypaudio,is a sound server for POSIX and
 WIN32 systems. It is a drop in replacement for the ESD sound server with
 much better latency,mixing/re-sampling quality and overall architecture.
 .
 Client libraries used by applications that access a pulseAudio sound server
 via pulseAudio's native interface.
 .
 This package adds support for zeroconf (aka. Avahi,mdns) discovery of
 pulseAudio sinks and sources by client applications.
Homepage: http://www.pulseaudio.org
Original-Maintainer: pulseaudio maintenance team <pkg-pulseaudio-devel@lists.alioth.debian.org>

Package: libpulse-browse0
Priority: optional
Section: sound
Installed-Size: 144
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: pulseaudio maintenance team <pkg-pulseaudio-devel@lists.alioth.debian.org>
Architecture: i386
Source: pulseaudio
Version: 1:0.9.14-0ubuntu20.2
Depends: libavahi-client3 (>= 0.6.16),libcap2 (>= 2.11),libpulse0 (>= 0.9.14),libx11-6
Filename: pool/main/p/pulseaudio/libpulse-browse0_0.9.14-0ubuntu20.2_i386.deb
Size: 31522
MD5sum: d7bf325c04432507420551d7c4e04737
SHA1: 537037b6cdcf2e36ab91fff73a543b2bc9a9d2f6
SHA256: 25c9a83f669f3f14b0fdd59141fc048e3053ccdcae5817f338260342ae1164d0
Description: pulseAudio client libraries (zeroconf support)
 pulseAudio,mdns) discovery of
 pulseAudio sinks and sources by client applications.
Homepage: http://www.pulseaudio.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: ubuntu-desktop,kubuntu-dvd-live,edubuntu-desktop,xubuntu-live,mobile-mid,mobile-netbook-remix

Package: libpulse-browse0
Priority: optional
Section: sound
Installed-Size: 144
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: pulseaudio maintenance team <pkg-pulseaudio-devel@lists.alioth.debian.org>
Architecture: i386
Source: pulseaudio
Version: 1:0.9.14-0ubuntu20
Depends: libavahi-client3 (>= 0.6.16),libx11-6
Filename: pool/main/p/pulseaudio/libpulse-browse0_0.9.14-0ubuntu20_i386.deb
Size: 31516
MD5sum: 63d4937b22f83cff5cc5be101caa3f27
SHA1: bb436fa7bc14eaad31a9f3778f1a887d96e2521d
SHA256: 1f3a5e7a4376c0ee406f30a1c5ec03dc5f484dc059ceb61462516bb728c6c1c5
Description: pulseAudio client libraries (zeroconf support)
 pulseAudio,mobile-netbook-remix

只需查看可用的不同版本,然后执行以下操作:

apt-get install packagname=version

再次作为上面输出的示例:

apt-get install ibpulse-browse0=1:0.9.14-0ubuntu20

你可以看到我的pulseaudio来自启动板上的ppa,所以如果我想降级/恢复到由jaunty提供的原始版本,我将使用我安装的所有pulseaudio包进行上述操作.

原文地址:https://www.jb51.cc/ubuntu/348669.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐