Ken*_*chi 20 updates update-manager package-management apt
我正在使用 Ubuntu 14.04 LTS。当我尝试更新我的系统时,我收到以下错误消息:
软件更新程序 - 并非所有更新都可以安装
我用谷歌搜索,有些人建议使用sudo apt-get install -f
. 但这对我不起作用。
当我使用apt-get upgrade
这是我收到的消息:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages have been kept back:
gir1.2-rb-3.0 gir1.2-totem-1.0 librhythmbox-core8 libtotem-plparser18 libva1
libvlc5 libvncserver0 linux-generic-lts-utopic
linux-headers-generic-lts-utopic linux-image-generic-lts-utopic rhythmbox
rhythmbox-data rhythmbox-mozilla rhythmbox-plugin-cdrecorder
rhythmbox-plugin-magnatune rhythmbox-plugins smplayer smplayer-themes totem
totem-common totem-mozilla totem-plugins vlc vlc-data vlc-nox
vlc-plugin-libde265 vlc-plugin-notify vlc-plugin-pulse
The following packages will be upgraded:
google-chrome-stable mkvtoolnix mkvtoolnix-gui
3 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Need to get 53.3 MB of archives.
After this operation, 6,539 kB disk space will be freed.
Do you want to continue? [Y/n] Abort.
Run Code Online (Sandbox Code Playgroud)
我不明白的是为什么 linux 内核映像有这个名称linux-image-generic-lts-utopic
(为什么它包含这个词utopic
,即使代号是trusty
)?我也看了看/etc/apt/sources.list
。里面没有出现这个词utopic
。
apt-get install -f
apt-get autoremove && apt-get clean && apt-get update
我该怎么做才能使系统更新程序正常工作?提前致谢
Ken*_*chi 38
运行后问题解决sudo apt-get dist-upgrade
。
从apt-get
手册页:
dist-upgrade
除了执行升级功能外,还可以智能处理新版本软件包的依赖关系变化;apt-get
有一个“智能”的冲突解决系统,它会在必要时尝试升级最重要的软件包,而牺牲不太重要的软件包。dist-upgrade
因此,该命令可能会删除一些包。
归档时间: |
|
查看次数: |
12065 次 |
最近记录: |