我在升级过程中关闭了计算机,该怎么办?

我在升级过程中关闭了计算机,该怎么办?

我正在将我的电脑从 Ubuntu 12.04 LTS 升级到 Ubuntu 14.04 LTS,但我在升级过程中关闭了电脑,我修复了这个问题,现在它完全回到了 12.04。然而,当我再次尝试升级时,它显示:

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f`

那么现在我该怎么做才能升级它?

答案1

它希望你在升级之前修复损坏或丢失的软件包。在终端运行:

sudo apt-get -f install
sudo apt-get update
sudo apt-get autoclean
sudo apt-get upgrade
sudo apt-get dist-upgrade

相关内容