昨天折腾了一下,不知道动了哪儿,造成deb安装包无法通过双击打开安装了(双击后无反应,也不知道到哪儿去看错误),还有也发现software manager无法通过菜单中的点击打开了。
下载了virtualbox-4.3_4.3.14-95030~Ubuntu~precise_amd64.deb, 需要更新一下virtualbox,无法通过双击安装。
后来使用命令安装了
sudo dpkg -i virtualbox-4.3_4.3.14-95030~Ubuntu~precise_amd64.deb
(Reading database ... 183831 files and directories currently installed.) Preparing to replace virtualbox-4.3 4.3.12-93733~Ubuntu~precise (using virtualbox-4.3_4.3.14-95030~Ubuntu~precise_amd64.deb) ... Stopping VirtualBox kernel modules ...done. Unpacking replacement virtualbox-4.3 ... Setting up virtualbox-4.3 (4.3.14-95030~Ubuntu~precise) ... Installing new version of config file /etc/init.d/vboxdrv ... addgroup: The group `vboxusers‘ already exists as a system group. Exiting. Stopping VirtualBox kernel modules ...done. Uninstalling old VirtualBox DKMS kernel modules ...done. Trying to register the VirtualBox kernel modules using DKMS ...done. Starting VirtualBox kernel modules ...done. Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Processing triggers for shared-mime-info ... Processing triggers for desktop-file-utils ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for gnome-menus ... Processing triggers for hicolor-icon-theme ...
目前没有解决通过GUI的deb installer安装deb文件
试试命令:
sudo apt-get remove --purge gdebi-core # 编译python的时候,gdbm需要 sudo apt-get install libgdbm-dev
可以双击deb文件打开了,不过打开的默认程序是Archive Manager
https://apps.ubuntu.com/cat/applications/precise/gdebi/
sudo apt-get install gdebi-core
ls -hl $(which gdebi)
执行 gdebi --help
发现出错
Traceback (most recent call last):
File "DebPackage.py", line 23, in <module>
import apt
ImportError: No module named apt
to fix ImportError, please try to install this
https://pypi.python.org/pypi/apt
临时解决ubuntu上deb安装包无法双击打开的问题,布布扣,bubuko.com
时间: 2024-10-08 10:03:54