4

我正在使用 Linux Mint 11 64 位。我需要一些软件包来安装最新的软件,并在 ubuntu 存储库中找到了它们。

为此,我添加了

deb http://security.ubuntu.com/ubuntu oneiric-security main 
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ oneiric main 

对我

/etc/apt/sources.list.

我自动进行了 sudo apt-get update + sudo apt-get upgrade 并从该存储库安装了约 900 个软件包(并删除了我的一些 Mint ......)。我的系统更改为类似 Ubuntu 的 dist,安装了新的图形界面 - 可能是 GNOME3(我非常喜欢我的 GNOME2..)。我现在根本无法启动 GNOME2。

有什么方法可以撤消这些更改?我已经从sources.list中删除了这些行,试过了

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
但这没有帮助。

谢谢。

4

2 回答 2

3

You can use ppa-purge - install with sudo apt-get install ppa-purge

See this article for more info

That will roll back your packages so it is safe to remove the repo and keep the software and your system wont blow up.

EDIT (based on user1131467's comment): for full-blown repositories, these answers will help, but it is much more manual:

https://askubuntu.com/a/3675/38901 and

https://superuser.com/a/195071/110574

于 2012-03-29T06:46:32.603 回答
0

不,对不起,你很糟糕。您现在拥有大多数软件包的更新版本,因此即使您删除了 oneiric repo,它仍然会选择保留新版本。

最好的选择是备份并重新安装。

于 2012-03-29T00:14:12.390 回答