我运行的是 Ubuntu 13.04,使用 Rhythmbox 2.98。这个版本有很多错误,我想降级到 2.97 或更早版本
我该怎么做?谢谢
这是我的来源列表
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring universe
deb http://fr.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu raring partner
# deb-src http://archive.canonical.com/ubuntu raring partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu raring main
答案1
要降级任何软件包,您必须做两件事:
- 安装旧
deb
文件。 - 禁止从存储库将包更新到最新版本。
如果你使用过旧版本,也许你可以deb
在 中找到安装文件/var/cache/apt/archives
。如果没有,请尝试在packages.ubuntu.com或其他网站。例如,您可以尝试这个包:2.97-1ubuntu6.1。
然后,打开文件/etc/apt/preferences
(root
如果文件尚不存在则创建该文件)并添加以下行:
Package: rhythmbox
Pin: version 2.97-1ubuntu6.1
Pin-Priority: 1001
(替换2.97-1ubuntu6.1
为您安装的确切版本。)
这将强制apt-get
和aptitude
所有此类实用程序将 Rhythmbox 保留在此版本,即使存储库有更新的版本。如果您需要安装其他一些软件包的旧版本(例如节奏盒数据或者可能是一些库),将类似的三行添加到同一个文件中,每个“段落”之间有一行。您可以找到有关/etc/apt/preferences
语法的更多信息这里。
更新:
我建议您rhythmbox
使用单个控制台命令一次性安装所有必需的软件包。我刚刚尝试这样做,所以这是您所需要的:
- 删除您当前安装的 Rhythmbox(如果由于其他依赖关系而无法做到这一点,您可以尝试跳过此步骤并稍后忽略一些警告)。
- 从以下位置下载软件包
quantal
:rhythmbox_2.97-1ubuntu5,libmusicbrainz5-0,librhythmbox-core6,节奏盒数据,gir1.2-rb-3.0. 将它们全部放在一个目录中。 - 打开终端,
cd
进入目录并运行sudo dpkg -i *.deb
。这应该会安装旧的 Rhythmbox。
之后,只需查看 Synaptic 或其他地方有哪些更新,然后按照/etc/apt/preferences
我上面所写的方式添加这些包。
答案2
从 2.98 降级:
sudo apt-get purge rhythmbox gir1.2-rb-3.0 librhythmbox-core5 rhythmbox-mozilla rhythmbox-data rhythmbox-plugin-zeitgeist rhythmbox-plugin-magnatune rhythmbox-plugin-cdrecorder librhythmbox-core6 rhythmbox-plugins
也就是说,ppa-purge
没有完全清理并且一些库仍处于其 v2.98 版本。
最后更新你的源代码:
sudo apt-get update && sudo apt-get upgrade
并安装旧版本的 rhytmbox:
sudo add-apt-repository ppa:fossfreedom/rhythmbox
sudo apt-get update && sudo apt-get install rhythmbox
这将为您保留默认且稳定的 Rhythmbox 2.97。