Vit*_*lla 39 software-center 16.04
当我尝试使用“Ubuntu 软件”安装 .deb 文件时,它永远保持“等待安装”。
小智 26
从终端安装 .deb 包:
$ sudo dpkg -i <path/to/deb.deb>
$ sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)
来自手册页的 apt-get install -f 背后的原因:
-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 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)
信用:Mohit Rajan 的评论
1 - 在新的“Ubuntu 软件”中下载旧的“Ubuntu 软件中心”。
2 -unity --reset-icons或重新启动计算机(删除“等待安装”)
3 - 使用刚刚安装的“Ubuntu 软件中心”打开 .deb 文件
4 - 安装它
| 归档时间: |
|
| 查看次数: |
108036 次 |
| 最近记录: |