我正在尝试升级openssl,但遇到了以下问题--请您提供一些关于这里有什么问题的建议吗?
# sudo apt-get install openssl libssl1.0.0
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.
linu
我试图在Ubuntu14.04上安装3.16内核。我按照http://askubuntu.com/questions/506956/how-can-i-install-3-16-kernel-on-ubuntu-14-04的指令安装内核。我发现了这些错误:
Setting up linux-image-3.16.0-031600-lowlatency (3.16.0-031600.201408031935) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /i
上一次更新之前显示了以下警告:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
上一次更新显示了从这一点开始的错误:
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libwnck-3-co
当更新grub时,手动或运行apt升级时都会出现错误。这是输出:
{
Generating grub configuration file ...
Configuration setting "types" invalid. It's not part of any section.
Configuration setting "types" invalid. It's not part of any section.
Configuration setting "types" invalid. It's no
在干净更新的Debian 4.19.67上安装了Docker19.03之后,我遇到了aufs包的一些问题,这是一个依赖项。
我甚至重新安装了Debian服务器,并从头开始尝试。有趣的是,码头安装工作正常。这是日志的关键部分/结束部分,即使我是根用户,也可以使用以下响应获得以下响应:Error! You must be root to use this command.:
Setting up docker-ce (5:19.03.5~3-0~debian-buster) ...
Created symlink /etc/systemd/system/multi-user.target.want
我该怎么解决这个警告呢?
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Setting up grub-common (2.02~beta2-36ubuntu3.21) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting u
我有一个Ubuntu18.10双引导与Windows 10。我认为,由于错误,我的Ubuntu崩溃/挂起了很多最近在重新启动/启动。
$ sudo apt-get --with-new-pkgs 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.18.0-1
我在linux中将这个settings.conf文件定义为:
Section A
first-setting = value
# second-setting = off
third-setting = value
Section B
first-setting = value
# second-setting = off
third-setting = value
我只想取消A节的# second-setting = off注释(第一次出现),并将值设置为on。
到目前为止,我有这样的想法:
cat settings.conf | sed '/^# secon
这是apt-get upgrade输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not
cat 没有 -n
user@linux:~$ cat /etc/sysctl.conf | head -4
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
user@linux:~$
在-n命令中有cat选项来显示文件的行号。
user@linux:~$ cat -n /etc/sysctl.conf | head
我在Windows 10 PC上使用Ubuntu18.04LTS,打开Linux的Windows子系统,这样我就可以在PC上运行Linux。然后我试着使用Gstreamer-1.0。
运行该行时:
gst-launch-1.0 videotestsrc ! autovideoconvert ! autovideosink
我知道错误:
error: XDG_RUNTIME_DIR not set in the environment.
然后它什么也做不了。我该怎么做才能解决这个问题?
关于额外的信息,这里是完整的‘代码’:
gst-launch-1.0 videotestsrc ! au
我正在尝试使用sudo apt update和sudo apt upgrade更新我的ubuntu包,我得到了以下消息。
Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.
FATAL ERROR:
Both /lib/x86_64-linux-gnu/libc.so.6 and /usr/lib/x86_64-linux-gnu/libc.so.6 exist.
You can try correcting the er
例如,当我"sudo apt install libmemcache0“时,我得到了:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmemcache0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this oper
NodeJS (最新)。
我有下面的代码。为什么第一个IF语句不像预期的那样工作?控件不会先进入IF语句。
我看到以下代码中第一行的有效console.log输出,并期望第一个IF语句也会执行其代码。但事实并非如此;第二个IF语句有效。
console.log("-- inside create IP() qData['osType'] is set to :: " + qData['osType'])
//--
if ( qData['osType'] == 'undefined' ) {
c
我有一个运行14.04的虚拟服务器,由hosted托管。我想使用snap安装Nextcloud。但是,安装snapd失败:
$ sudo apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cgroup-lite crda dmsetup grub-common grub-gfxpayload-lists grub-pc
grub-
我无意中删除了/boot的内容。
我试过了
apt-get purge linux-generic linux-image-generic
apt-get install linux-generic linux-image-generic
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
linux-generic linux-image-generic
0 upgraded, 2 newly installed,
即使我是以root身份登录的,下面是我在执行升级时遇到的冲突:
root@:/home/frederic# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After thi
我不能通过使用powerpc64-linux-gnu-gcc-10 build命令来构建cpp文件。我得到了错误powerpc64-linux-gnu-gcc-10: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory。
$ sudo apt-get install gcc-10-powerpc64-linux-gnu build-essential
Reading package lists... Done
Building dependency tree
Reading state
dpkg: error processing linux-generic,在sudo apt-get install -f时遇到依赖错误
Setting up linux-image-generic (3.2.0.60.71) ...
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.2.0.58.69); however:
Version of linux-image-generic on system i
我已经在Linux和Windows7上安装了Sweave包和针织器,它在上运行良好,但在Linux中使用rstudio时却失败了。安装pkgs之后,我编写了一个简单的dw.Rnw,如下所示:
\documentclass{article}
\begin{document}
The regression model is as follows
<<echo=TRUE>>=
pop=read.table("pop.txt",header=TRUE)
attach(pop)
lm.sol=lm(y~year)
summary(lm.sol)
@
\e
首先,我认为我应该说我刚刚安装了Ubuntu18.04LTS,所以我基本上什么都不知道。
我今天正在安装python3空闲,并列举了一个错误:
dpkg: error processing package linux-modules-4.15.0-22-generic (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error mes
对于Ubuntu桌面18:04更新,我使用:
sudo apt更新
数独apt升级
但对后者来说,现在突然出现了这样的情况:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
所以执行我得到的命令:
sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-generic-hwe-18.04:
linux-generic-hwe-