今天 (20140703) 我收到了可用更新的通知,和往常一样,我使用以下方法检查了内容apt-get -s upgrade
(不是以 root 身份进行双重安全检查):
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
libgps21
Use 'apt-get autoremove' to remove it.
The following packages have been kept back:
akonadiconsole akregator ark baloo cantor cantor-backend-kalgebra
cantor-backend-maxima cantor-backend-octave cantor-backend-python
cantor-backend-r cantor-backend-scilab dolphin grub-common grub-pc
grub-pc-bin grub2-common kaddressbook kate katepart kde-baseapps-bin
kde-baseapps-data kde-config-pimactivity kde-runtime kdepasswd
kdepim-kresources kdepim-runtime kdepim-runtime-dbg kdepimlibs-dbg
kdepimlibs-kio-plugins kdepimlibs5-dev kfind kgpg kmail kmix knotes
konqueror konqueror-nsplugins konsole kontact korganizer kwalletmanager
libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4
libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4 libakonadi-socialutils4
libakonadi-xml4 libastro-dev libastro1 libbaloocore4 libbaloofiles4
libbaloopim4 libbalooxapian4 libcalendarsupport4 libeventviews4 libgpgme++2
libincidenceeditorsng4 libkabc4 libkactivities-bin libkactivities-dev
libkactivities-models1 libkactivities6 libkalarmcal2
libkasten2controllers2abi1 libkasten2core2 libkasten2gui2
libkasten2okteta1controllers1abi1 libkasten2okteta1core1
libkasten2okteta1gui1 libkateinterfaces4 libkatepartinterfaces4 libkblog4
libkcal4 libkcalcore4 libkcalutils4 libkcompactdisc4 libkdepim4
libkdepimdbusinterfaces4 libkdgantt2-0 libkfilemetadata4 libkholidays4
libkimap4 libkldap4 libkleo4 libkmanagesieve4 libkmbox4 libkmime4
libkonq-common libkonq5abi1 libkonqsidebarplugin4a libkontactinterface4
libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkresources4
libksieve4 libksieveui4 libktnef4 libkxmlrpcclient4 libmailcommon4
libmailimporter4 libmailtransport4 libmarble-dev libmarblewidget18
libmessagecomposer4 libmessagecore4 libmessagelist4 libmessageviewer4
libmicroblog4 libnepomukcleaner4 libnepomukcore4abi1 libnoteshared4
libokteta1core1 libokteta1gui1 libokularcore4 libpimactivity4 libpimcommon4
libqgpgme1 libsendlater4 libsyndication4 libtemplateparser4 marble
marble-plugins marble-qt nepomuk-core-dev nepomuk-core-ffmpegextractor
nepomuk-core-runtime okular okular-dev okular-extra-backends
plasma-runners-addons plasma-scriptengine-javascript
plasma-widget-folderview plasma-widget-lancelot zfs-initramfs
The following packages will be upgraded:
akonadi-facebook freespacenotifier gnome-settings-daemon
gnome-settings-daemon-schemas kate-data kde-runtime-data kde-style-oxygen
kde-wallpapers kde-wallpapers-default kde-window-manager
kde-window-manager-common kde-workspace kde-workspace-bin kde-workspace-data
kde-workspace-kgreet-plugins kdebase-runtime kdepim-dbg kdm khelpcenter4
kinfocenter klipper kmenuedit ksysguard ksysguardd ktimetracker
libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libkdecorations4abi1
libkephal4abi1 libkonq5-templates libkscreensaver5 libksgrd4
libksignalplotter4 libkwineffects1abi4 libkwinglesutils1 libkwinglutils1abi3
libkworkspace4abi2 libnm-gtk-common libnm-gtk0 libnspr4 libnspr4-0d
libplasma-geolocation-interface4 libplasmaclock4abi4 libplasmagenericshell4
libprocesscore4abi1 libprocessui4a libtaskmanager4abi5 libweather-ion6
nautilus-data nepomuk-core-data plasma-dataengines-addons
plasma-dataengines-workspace plasma-desktop plasma-netbook
plasma-scriptengine-webkit plasma-widget-kimpanel plasma-widgets-addons
plasma-widgets-workspace systemsettings
60 upgraded, 0 newly installed, 0 to remove and 139 not upgraded.
嗯,我的系统上唯一被阻止的软件包是 4 个 grub 软件包和 zfs-initramfs,与显示为被阻止的其余软件包完全无关。或者我希望如此,但在不需要特定 ZFS 相关引导加载程序软件包的第二台主机上检查时,显示相同的其他软件包被阻止。更糟糕的是,apt-get -s dist-upgrade
显示了许多重要的软件包,这些软件包已移除(大概是为了能扣留更少的包裹):
The following packages will be REMOVED:
akonadiconsole kaddressbook kde-baseapps-bin kdepasswd kdepim-dbg
kdepimlibs-dbg kdepimlibs5-dev kmail konqueror kubuntu-desktop libksieveui4
libmarble-dev
The following packages have been kept back:
grub-common grub-pc grub-pc-bin grub2-common kdepim-runtime-dbg kgpg
libastro-dev libcalendarsupport4 libeventviews4 libkdgantt2-0 libkleo4
libkpgp4 libsendlater4 plasma-runners-addons plasma-scriptengine-javascript
zfs-initramfs
我的 /etc/apt/sources.list 的内容:
deb http://fr.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty restricted multiverse universe main #Added by software-properties
deb http://fr.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty-updates restricted multiverse universe main #Added by software-properties
deb http://fr.archive.ubuntu.com/ubuntu/ trusty universe
deb http://fr.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security restricted multiverse universe main #Added by software-properties
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
这是怎么回事?存储库是否“处于不断变化中”,并且在接下来的几个小时内会出现与被阻止的软件包相对应的其他更新软件包吗?
答案1
更新的形式可能需要更改:尝试
apt-get -s dist-upgrade
“upgrade”选项尝试仅升级已安装的软件包,而 dist-upgrade 适用于已安装的软件包及其依赖项。这部分内容请参见debian-administration.org以及询问Ubuntu
答案2
今天早上我遇到了这个错误。卸载 knotes、rekonq 和其他程序后无法修复该问题。然后我注意到另一个 Kubuntu 14.04 系统(带有 KDE 4.13.2 更新)建议使用相同的疯狂更新。这次没有安装它!我刚刚更新了源代码,看起来现在已经修复了(还没有尝试过)。请参阅讨论https://www.kubuntuforums.net/showthread.php?65831-what-s-up-with-today-s-upgrade。
答案3
随着巨大的本次更新中的软件包数量,只是尚未将所有软件包发布到所有服务器。请稍等片刻,再次更新软件包列表 (sudo apt-get update),然后查看服务器上所有完整软件包集可用后它是否正常工作。