我的设置:
Operating system Ubuntu Linux 16.04.1
Linux 4.4.0-62-generic on x86_64
root@myserv1:~# sudo apt-get -f install fail2ban
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The f
如何安装Kali Linux头?我使用了这个命令apt-get update && apt-get install -y linux-headers-$(uname -r),但是它显示了下面的错误
E:unable to locate package linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by glob 'linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by regex 'l
我有一个Dockerfile,它基于Ubuntu22.04编译自定义linux内核。直到今天早上,它一直运行得很好,但是现在运行apt-get update && apt-get build-dep -y linux linux-signed的步骤失败了,从而产生了以下错误:
The following packages have unmet dependencies:
builddeps:linux-signed : Depends: linux-generate (= 5.15.0-60.66) but it is not installable
我在我的apt源代码中没
我运行了这个命令sudo apt-get install tor-browser并得到了这个输出。我是否应该像上面提到的那样应用自动删除?
sudo apt-get install tor-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
sudo apt-get -f install linux-firmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool
Use 'apt-get autoremove' to rem
当我运行Update并尝试安装某件东西时,当它启动时,它会说:“准备包”而什么也不会发生。
有什么想法吗?
这种情况发生在我选择的任何包中。
ubuntu版本: 10.04
例如
sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-header
我想用apt-get设置一个git服务器。下面是它的运行过程:
# apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-4.4.0-53-generic
Use 'apt autoremove' to remov
在尝试卸载php7.0时,我得到了以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'php7.0' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-92 linux-headers-4.4.
我无法在我的Ubuntu机器上安装任何东西。它显示了以下错误:
montichandra@montichandra-HP-ProBook-430-G3:~$ **sudo apt-get install sshfs**
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages h
apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.9.0-kali3-amd64
E: Couldn't find any package by glob 'linux-headers-4.9.0-kali3-amd64'
E: Couldn't find any pa
我试图使用命令sudo pip install scrapy安装scrapy,但是我收到了一条错误消息,其结尾如下:
build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
--------------------------
这是关于Ubuntu18.04 LTS的。我试图通过删除不需要的Linux内核来节省空间,但看起来它仍然会安装其他“未签名”的内核映像。为什么会这样呢?
这是日志:
root@ubuntu18:~# apt-get remove linux-image-4.18.0-15-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-image
我遵循这个链接http://www.pymolwiki.org/index.php/User:Tlinnet/Linux_安装来安装pymol。我需要libfreetype6-dev作为依赖项,但不能安装它。
fmp@eva03:~/Bins$ sudo apt-get install libfreetype6-dev
[sudo] password for fmp:
Reading package lists... Done
Building dependency tree Reading state information... Done
The following package
当我在终端中使用sudo apt-get -f install时,会发生以下情况:
Do you want to continue? [Y/n] y
(Reading database ... 237694 files and directories currently installed.)
Preparing to unpack .../linux-tools-3.16.0-31_3.16.0-31.41_amd64.deb ...
Unpacking linux-tools-3.16.0-31 (3.16.0-31.41) ...
dpkg: error processing archi
我似乎无法安装任何更新。我一直在犯以下错误。我该怎么解决这个问题?
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-44-generic linux-headers-3.2.0-44
linux-image-3.
我已经看到了这些答案,所以请不要把它们与解决方案联系起来:
我已经为ubuntu16.04添加了所需的存储库
当我运行sudo apt-get install -y mongodb-org时,它会抛出错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages
我有一个即将升级的系统,但是我和apt-get -f install有冲突
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
login sysvinit-utils util-linux
Suggested packages:
kbd util-l
我可以从我的Linux 16转到Linux 17.3 64位版本,这是期待已久的迁移。
在迁移到LinuxMint17.3之后,我无法安装python3-venv模块,据说它是python3.x中的virtualenv的替代品。在我的linux 16中,我可以访问pyvenv-3.4工具。我不知道我什么时候在Linux 16中安装了这个模块。
有人面临这个问题吗?
python -m venv test
The virtual environment was not created successfully because ensurepip is not
available. On Debi
我正在我的Linux机器上安装mySql 5.6。
我试过了
>apt-get install mysql-server-5.6
但我得到了以下错误:
mysql-server-5.6 : Depends: mysql-common (>= 5.6.22-1~) but 5.5.50-0+deb8u1 is to be installed
Depends: mysql-server-core-5.6 (= 5.6.30-1~bpo8+1) but it is not going to be installed
E:
我刚跑了:
sudo apt-get update && sudo apt-get dist-upgrade
这是我从第二个命令中得到的输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed
linux-headers-4.4.0-38 linux-headers-4.4.0-38-gen