当我尝试安装一些应用程序时,我会收到一条信息:
linux-headers-generic-lts-quantal : Depend: linux-headers-3.5.0-32-generic but it is not installable
不名-a
Linux ubuntus 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:56 UTC 2013 i686 i686 i386 GNU/Linux
dpkg -l \ grep linux-映像
ii linux-image-3.5.0-23-generic
无论我尝试做什么,无论是安装新软件,还是尝试sudo apt-获得升级。
有时我总是出错:(当我尝试sudo apt升级时)
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 have unmet dependencies:
linux-image-generic-hwe
我删除了旧内核(使用dpkg -P),现在我尝试安装的许多包都抱怨丢失了旧的(删除的)内核作为依赖项。
如果我按建议做一个"apt-get安装-f“,我的旧内核就会重新安装.
sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
synaptic is already the newest version (0.83).
You might want to run 'apt-get
这些是我的raspberry pi OS、内核版本和架构配置 Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 5.10.52-v7l+
Architecture: arm 当我尝试运行他们的脚本(https://brew.sh/)时: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 我得到了 Homebrew on Linux is only support
我正在使用Ubuntu 18.04
我使用buildroot构建了一个mips交叉编译器,但是当我尝试测试它是否工作时,我得到了以下消息
/home/daisy/repos/repo/buildroot/output/host/bin/../libexec/gcc/mipsel-buildroot-linux-uclibc/9.3.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
我寻找解决办法,其中之一说:
s
我的测试代码test.cpp
#include <iostream>
using namespace std;
int main(){
cout<<"hello"<<endl;
return 0;
}
当我通过g++ test.cpp编译它时,我收到以下错误:
fatal error: iostream: No such file or directory
我的环境:
#g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc
我在我的AWS Ubuntu t2微系统上得到了这个错误。我是Ubuntu/Linux的新手。在安装nodejs软件包时,它建议我运行sudo apt-get -f install。任何帮助都将不胜感激。
$sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed
我试图使用apt-get upgrade进行升级,并得到了以下错误消息:
insserv: Starting DbSecuritySpt depends on monit and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on monit and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt
我正在尝试从git安装一个新的Django项目,我使用python3(版本: 3.8.5)创建了一个新的虚拟环境。当我尝试在requirements.txt中安装所需的库时,我得到cffi==1.11.5包的以下错误。 Building wheels for collected packages: cffi
Building wheel for cffi (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/jessica/Documents/FreelancePro
我试图从anaconda更新或安装新的软件包,最近,出现了以下消息:
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- conda-forge/linux-64::liblapacke==3.8.0=12_openblas
- conda-forge/linux-64::libblas==3.8.0=12_openblas
- conda-forge/linux-64::li
我试图卸载nvidia-390驱动程序,它失败了,现在我没有满足依赖项。当我尝试sudo apt --fix-broken install时,这就是我所看到的:
The following additional packages will be installed:
libnvidia-gl-390 libnvidia-gl-390:i386
The following NEW packages will be installed:
libnvidia-gl-390 libnvidia-gl-390:i386
0 upgraded, 2 newly installed, 0 to remove