最近,我的笔记本电脑断电了几次,现在,每当我尝试执行包操作时,我都会得到以下错误代码。我试着在论坛上寻找一个解决方案,但这些要么需要一个包操作,要么没有人回答。“'uname -r”告诉我,我的内核是3.11.0-17-泛型,但似乎我的内核标题是3.11.0-18-泛型。我尝试引导旧的内核版本来修复这个问题,但是我遇到了同样的错误。有人知道我能做什么吗?
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Do
我在ubuntu20.04焦点上安装了virtualbox (版本6.1.22 r144080 (Qt5.12.8))。在安装了虚拟盒之后,我在午餐VM时得到了这个错误。
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up
correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
如果您的系统启用
我不是一个经验丰富的C程序员,但有时我会编译一些C代码。
上一次我成功编译和运行C代码时,我是在与现在相同的系统上完成的(同一台机器上的操作系统完全相同,没有发生操作系统的卸载/重新安装)。大约两个月前我就这么做了。
现在,如果我试图编译一个非常简单的代码,比如:
#include <stdio.h>
main () {
printf("Hello");
return 0;
}
我得到:
gcc: error trying to exec 'cc1': execvp: No such file or director
我收到了这个错误
The following packages have unmet dependencies:
linux-image-oem-20.04b : Depends:
linux-image-5.10.0-1049-oem but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
我几乎什么都试过了,它不允许我安装、删除或更新任何东西,我也尝试过手动安装
每当我尝试安装任何东西时,我都会收到以下消息:
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:
clang : Depends: clang-3.4 (>= 3.4~rc3-1~) but it is not go
我想用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
我尝试通过今天出现的更新通知从Ubuntu15.04升级到15.10,但是在运行dpkg --configure时它被卡住了。以下是最后一条消息:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.2.0-18-generic
Found initrd image: /boot/initr
每次我尝试使用时,都会收到一条错误消息,上面写着“在修复包目录之前不能安装或删除项目”。当我试图修理时,它会说“安装或拆除一个包裹失败了”。
在细节部分,它说:
installArchives() failed: dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.2.0.38.46); however:
Version of linux-image-generic on system is 3.2.0.58.
我正试图在Ubuntu 17.10上安装这个ASUS ac56适配器。我已经从Ubuntu 17.04升级了。Github的驱动程序包以及设备附带的专有驱动程序都无法工作。下面附加了在make过程中遇到的错误。
^~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target '/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150
现在无法更新或安装任何东西,因为有几个软件包据称有未满足的依赖关系。
sudo apt-get upgrade:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-image-generic-hwe
当我在终端中使用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
当我从源代码设置铬时,我得到了以下错误。
当我运行gn gen out/Default时
gn gen out/Default
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir: /opt/apps/chromium/chromium_src/src
我有Ubuntu18.04LTS,我想安装Cuda 7.5 (因为这个版本与我的Nvidia GF820m显卡兼容)。我将gcc-4.8配置为默认gcc (因为它是Cuda7.5C编译器),并使用sudo ./cuda_7.5.18_linux.run安装运行文件。以下是我安装CUDA的终端输出:
-------------------------------------------------------------
Do you accept the previously read EULA? (accept/decline/quit): accespt
Do you accept
我想通过Visual代码测试,但我遇到了一个问题。
在我的VM (CentOS 8)上,我用很少的应用程序建立了早期工作的Apache。因此,他们正在与Laravel Mix合作。
现在,当Vite出现时,我试图“主持”这些项目,但是npm run dev没有工作。
Node version: v10.23.1
npm version: 6.14.10
当我尝试运行npm run dev或npm run build时出错
[user@server ssh-test-app]$ npm run dev
> @ dev /var/www/ssh-test-app
> vite
/