Sta*_*ers 7 upgrade update-manager vmware
我正在尝试通过软件更新程序应用程序将我的 vmware 播放器 Ubuntu vm 更新为 Saucy Salamander。可悲的是,当它安装软件包时 vmware player 给出了我以前从未见过的非常奇怪的错误。我不记得那是什么,但我可以通过单击retry或pass onto vm或类似选项继续。该pass onto vm选项导致虚拟机完全崩溃。
在尝试vm再次启动时,我收到了这个奇怪的错误,说我可以使用take ownershipvm 或cancelboot. 真的很奇怪,但是获取所有权选项说它可能会损坏我的虚拟机。
我决定改为关闭 Windows 7。重新启动我的电脑后,我可以很好地启动我的虚拟机,虽然软件更新程序可以正常启动,但它在完成时一直变灰checking for updates。
通过运行从命令行启动软件更新程序
$ sudo update-manager
Run Code Online (Sandbox Code Playgroud)
显示正在发生这些错误:
Error loading .desktop file /usr/share/applications/gnomine.desktop: constructor returned NULL
Error loading .desktop file /usr/share/app-install/desktop/gnome-mines:gnome-mines.desktop: constructor returned NULL
Error loading .desktop file /usr/share/applications/gnome-sudoku.desktop: constructor returned NULL
Error loading .desktop file /usr/share/app-install/desktop/gnome-sudoku:gnome-sudoku.desktop: constructor returned NULL
Error loading .desktop file /usr/share/applications/mahjongg.desktop: constructor returned NULL
Error loading .desktop file /usr/share/app-install/desktop/gnome-control-center-signon:update-accounts.desktop: constructor returned NULL
Run Code Online (Sandbox Code Playgroud)
不知道如何继续,但这是我现在的第三次启动,这是同样的故事。
Ubuntu 运行良好,但软件更新程序/更新管理器完全被炸毁。有什么建议吗?Ubuntu nooby 在这里说话,但这是否意味着问题是肤浅的?这只是与GUI有关并且可以轻松修复?这不像是我为了善良而尝试任何精神上的事情。
这可以修复错误吗?
sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)
在我运行它之前,f标志究竟做了什么?
更新
让它运行大约 60 分钟,它自己解决了!它说我只能做一个partial update,而且这problem can be caused by damaged or unofficial software.是由之前的错误造成的损坏吗?完整信息:
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
* Inofficial software packages not provided by Ubuntu
* Normal changes of a pre-release version of Ubuntu
Partial Upgrade Close
Run Code Online (Sandbox Code Playgroud)
我应该担心吗?更新仍在进行中,所以我不知道我是否会再次遇到相同的错误。
小智 6
是的,请尝试运行
sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)
从--help用法文本我们发现
-f Attempt to correct a system with broken dependencies in place
Run Code Online (Sandbox Code Playgroud)
您可以使用
apt-get install --help
Run Code Online (Sandbox Code Playgroud)
另一种了解用法的好方法是使用手册页。apt-get 状态的手册页
-f, --fix-broken
Fix; attempt to correct a system with broken dependencies in place.
This option, when used with install/remove, can omit any packages
to permit APT to deduce a likely solution. If packages are
specified, these have to completely correct the problem. The option
is sometimes necessary when running APT for the first time; APT
itself does not allow broken package dependencies to exist on a
system. It is possible that a system's dependency structure can be
so corrupt as to require manual intervention (which usually means
using dselect(1) or dpkg --remove to eliminate some of the
offending packages). Use of this option together with -m may
produce an error in some situations. Configuration Item:
APT::Get::Fix-Broken.
Run Code Online (Sandbox Code Playgroud)
运行部分升级没有任何问题,顺便说一下,它通常以打包方式修复问题。如果您之后继续遇到这些问题,请告诉我。此致
| 归档时间: |
|
| 查看次数: |
10414 次 |
| 最近记录: |