如何在 Ubuntu 14.04 中安装外星人?

如何在 Ubuntu 14.04 中安装外星人?

我有 Ubuntu 14.04,我想安装 Alien;我尝试过:

sudo apt-get install alien libaio1 unixodbc vim

结果是:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
alien is already the newest version.
libaio1 is already the newest version.
unixodbc is already the newest version.
vim is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 403 not upgraded.

当我尝试时:sudo apt-get 安装 alien

结果是

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

请帮忙安装alien

答案1

尝试在终端中运行以下命令。

sudo apt-get install alien dpkg-dev debhelper build-essential

运行以下命令来更改包的格式。

sudo alien filename.rpm

安装 .deb 包裹:

sudo dpkg -i filename.deb

另一种方式:- 安装格德比

sudo apt-get install gdebi 

现在右键单击.deb文件并打开gdebi

答案2

首先列出 alien 的输出。你可能想要使用sudo apt reinstall alien。这对我 80% 的问题都有帮助。

相关内容