在 Ubuntu 10.10 中安装了 digiKam:
sudo apt-add-repository ppa:philip5/extra
sudo apt-add-repository ppa:philip5/kubuntu-backports
sudo apt-add-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install digikam2 kipi-plugins2
运行更新管理器时,我收到以下信息:
Not all updates can be installed
Run a partial upgrade, to install as many updates as possible
This can be caused by:
* A previous upgrade which didn't complete
* Problems with some of the installed software
* Unofficial software packages no provided by Ubuntu
* Normal changes of a pre-release version of Ubuntu
我点击“关闭”而不是“部分升级”,然后我可以选择要安装哪些更新。但是,有些更新是灰色的,包括一些“重要的安全更新”:完整的通用 Linux 内核、通用 Linux 内核头文件和通用 Linux 内核映像。此外,来自另一个 PPA 的 tortoisehg PPA 更新也是灰色的。
我应该如何确保核心 Ubuntu 系统和通过 PPA 安装的其他软件包得到更新,同时仍然安装 digiKam(最好也通过 PPA 更新)?
我已经使用 Ubuntu 有一段时间了,但并不熟悉包管理的所有细节。
如果我应该包含 apt-get 的输出,请告诉我。谢谢。
编辑:使用终端输出更新:
sudo apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
kdebase-runtime (4.5.1-0ubuntu3.1 => 4.6.1-0ubuntu1~maverick1~ppa1)
ksysguard (4.5.1-0ubuntu8 => 4.6.1-0ubuntu1~maverick1~ppa1)
ksysguardd (4.5.1-0ubuntu8 => 4.6.1-0ubuntu1~maverick1~ppa1)
libksgrd4 (4.5.1-0ubuntu8 => 4.6.1-0ubuntu1~maverick1~ppa1)
libksignalplotter4 (4.5.1-0ubuntu8 => 4.6.1-0ubuntu1~maverick1~ppa1)
libprocessui4a (4.5.1-0ubuntu8 => 4.6.1-0ubuntu1~maverick1~ppa1)
linux-generic (2.6.35.27.35 => 2.6.35.28.36)
linux-headers-generic (2.6.35.27.35 => 2.6.35.28.36)
linux-image-generic (2.6.35.27.35 => 2.6.35.28.36)
plasma-scriptengine-javascript (4.5.1-0ubuntu3.1 => 4.6.1-0ubuntu1~maverick1~ppa1)
tortoisehg (1.1.1-1 => 2.0+repack-0ppa1~maverick1)
tortoisehg-nautilus (1.1.1-1 => 2.0+repack-0ppa1~maverick1)
vlc (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
vlc-nox (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
vlc-plugin-notify (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
vlc-plugin-pulse (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
The following packages will be upgraded:
akonadi-server (1.5.0-0ubuntu1~maverick1~ppa1 => 1.5.1-0ubuntu1~maverick1~ppa1)
gtk2-engines-equinox (1.30-ubuntu3 => 1.40)
kompare (4.5.1-0ubuntu3 => 4.6.1-0ubuntu1~maverick1~ppa1)
libakonadiprotocolinternals1 (1.5.0-0ubuntu1~maverick1~ppa1 => 1.5.1-0ubuntu1~maverick1~ppa1)
libgpg-error0 (1.6-1ubuntu2 => 1.10-0ubuntu2~maverick1~ppa1)
liborc-0.4-0 (0.4.11-1~maverick1 => 0.4.11-maverick~ppa1)
libschroedinger-1.0-0 (1.0.10-1~maverick1 => 1.0.10-maverick~ppa1)
libvlc5 (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
libvlccore4 (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
nvidia-current (260.19.06-0ubuntu1 => 260.19.36-maverick~ppa1)
nvidia-current-modaliases (260.19.06-0ubuntu1 => 260.19.36-maverick~ppa1)
nvidia-settings (260.19.06-0ubuntu1 => 260.19.29-maverick~ppa1)
policykit-1-gnome (0.96-2ubuntu4 => 0.99-1ubuntu1~maverick1~ppa1)
qapt-batch (1.0.3-0ubuntu2 => 1.1.1-0ubuntu1~maverick2)
transmission-common (2.04-0ubuntu2 => 2.22-maverick~ppa1)
vlc-data (1.1.4-1ubuntu1.4 => 1.1.8-maverick~ppa1)
16 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Need to get 57.9MB of archives.
After this operation, 5,988kB disk space will be freed.
Do you want to continue [Y/n]?
屏幕截图中的前五个软件包呈灰色。似乎我添加的 digiKam PPA 中的软件包正在阻止原本会更新的软件包。理想情况下,我希望仅将与 digiKam 相关的 PPA 用于 digiKam 本身(及其实际依赖项),而不用于其他软件包(例如 nVidia 驱动程序和传输等),并允许正常使用 Ubuntu 10.10 中的其他标准软件包。
答案1
问题是 philip5-extra PPA 不仅包含 Digikam,还包含其他重要软件包的反向移植。如果您信任该存储库,则升级应该没问题。
答案2
只要进行部分升级就可以了,而且会更新。我遇到过类似的情况,部分升级后就没问题了。