在 /home// 中,包括以下条目。谁能告诉我这些“未知”文件类型是什么?他们合法吗?
.ICEauthority 2.4kB unknown
.profile 675 bytes plain text document
.pulse-cookie 256 bytes unknown
.Xauthority 48 bytes unknown
.xsession-errors 28.5 kB plain text document
.xsession-errors.old 7.9 kB backup file
Run Code Online (Sandbox Code Playgroud)
该文件.Xauthority包含一行无意义的(对我而言)字母和符号。
该文件 .pulse-cookie 在 gedit 中包含如下字符,其中大部分以红色突出显示:
\EC\BD\C8\D5\ED\C2\EC\AF#\B6v\EE\83\F7\C2\C8vnr\EA
Run Code Online (Sandbox Code Playgroud)
.ICEauthority 包含大部分可读的短语,几乎都是这样的,并且大部分以红色突出显示:
unix/Pax:/tmp/.ICE-unix/1494\00#MIT-MAGIC-COOKIE-\00
local/Pax:@/tmp/.ICE-unix/1494\00#MIT-MAGIC-COOKIE-1\00
Run Code Online (Sandbox Code Playgroud)
这两行中显示的路径有什么区别?具体地说,这个例子中的@ 符号是什么意思?
我已经读到这些文件具有安全功能,这就是我担心的原因。我是 Ubuntu 的新手,不知道“未知”文件类型在 Ubuntu 中是否与在 Windows 中一样不祥。我的计算机没有与任何其他人联网,创建这些文件时也没有连接到 Internet。
这些“未知”文件是否表明我的系统遭到入侵或劫持?有什么我应该担心的吗?
无法安装新软件,因为当前安装的软件有问题。您现在想修复吗?
打Repair
Package operation failed
The installation or removal of a software package failed.
Details => installArchives()failed:Could not exec dpkg!
Error in function
(synaptic:12725): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
A package failed to install. Trying to recover:
sh: 1: dpkg: not found
Run Code Online (Sandbox Code Playgroud) 我尝试安装升级或某些软件包,但收到错误
E: Sub-process /usr/bin/dpkg returned an error code (1)
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement du paquet util-linux (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
请帮助我,我正在使用 ubuntu 14.10 ..谢谢
所以我试图在我的 15.10 机器上升级到 16.04 LTS,但它似乎没有意识到升级可用。有什么建议可以从哪里开始调查这个问题吗?到目前为止,没有任何迹象表明我可能会开始寻求解决这个问题。
sudo do-release-upgrade -cd 的结果是:
Checking for a new Ubuntu release
No new release found
Run Code Online (Sandbox Code Playgroud) sudo dd if=/Macintosh HD/Users/nickzieno/Downloads/ubuntu-14.04.1-desktop-amd64.img of=/dev/rdiskN bs-1m
Run Code Online (Sandbox Code Playgroud)
在我输入所有这些之后,我现在得到了这个
dd: unknown operand HD/Users/nickzieno/Downloads/ubuntu-14.04.1-desktop-amd64.iso
Run Code Online (Sandbox Code Playgroud) 我正在尝试在我新安装的带有 Mate 桌面的 Ubuntu Server 15.10 上安装 nginx。
我做了一个快速更新:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
现在尝试安装nginx:
sudo apt-get install nginx
Run Code Online (Sandbox Code Playgroud)
这是我得到的:
server@Node1:~/nod$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx 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 operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nginx-core …Run Code Online (Sandbox Code Playgroud) 运行出错sudo apt-get -f install:
"Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gstreamer1.0-plugins-base:i386 libcdparanoia0:i386 libdbusmenu-qt2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libopus0:i386 liborc-0.4-0:i386 libqt4-opengl:i386
libqtwebkit4:i386 libtheora0:i386 libvisual-0.4-0:i386 libvlccore8 libxss1:i386 libxv1:i386 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-96
linux-headers-4.4.0-96-generic linux-headers-4.4.0-97 linux-headers-4.4.0-97-generic linux-headers-4.4.0-98 linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic linux-image-4.4.0-96-generic
linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic linux-image-extra-4.4.0-98-generic
sni-qt:i386 vlc-plugin-notify vlc-plugin-samba vlc-plugin-video-splitter vlc-plugin-visualization
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed: …Run Code Online (Sandbox Code Playgroud) 我最近从使用 Windows 10 迁移到 Linux Ubuntu 19.04。我通过 18.04 ubuntu 的教程完成了 LAMP 的安装,它曾经工作得很好,直到我把它搞砸了。现在我无法启动 apache2,当我在终端上键入“sudo service apache2 start”命令时,它会出现此错误。
我尝试使用网络上的其他方法,包括清除和重新安装相关程序,但我似乎无法一劳永逸地解决这个问题。
这是错误消息。希望能帮助到你。
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-08-24 23:37:56 PST; 9s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 14755 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)
Aug 24 23:37:56 user-E5-575G systemd[1]: Starting The Apache HTTP Server...
Aug 24 23:37:56 user-E5-575G apachectl[14755]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: not found
Aug 24 23:37:56 user-E5-575G apachectl[14755]: Action 'start' failed.
Aug …Run Code Online (Sandbox Code Playgroud) cronjob 工作正常,但没有生成 out,!!!当我手动运行我的 python 脚本时,它给出了输出,但在 cron 作业中它没有生成输出
Dec 23 15:10:01 raspberrypi CRON[3265]: (pi) CMD (/home/pi/Desktop/sensor_baloon.py >/dev/null 2>&1)
Dec 23 15:11:01 raspberrypi CRON[3334]: (pi) CMD (/home/pi/Desktop/sensor_baloon.py >/dev/null 2>&1)
Dec 23 15:12:01 raspberrypi CRON[3355]: (pi) CMD (/home/pi/Desktop/sensor_baloon.py >/dev/null 2>&1)
Dec 23 15:13:01 raspberrypi CRON[3482]: (pi) CMD (/home/pi/Desktop/sensor_baloon.py >/dev/null 2>&1)
Dec 23 15:14:01 raspberrypi CRON[3569]: (pi) CMD (/home/pi/Desktop/sensor_baloon.py >/dev/null 2>&1)
Run Code Online (Sandbox Code Playgroud)
这是我的工作代码,没有任何错误..!
import RPi.GPIO as GPIO
import time,os
import datetime
TRIG = 24
ECHO = 23
ALARM = 17
# Speed of sound in …Run Code Online (Sandbox Code Playgroud) 昨天我正在尝试一个命令,使我的计算机进入休眠模式。命令序列中的第一sudo -s行使我的命令行从
userName@computerName:~$
Run Code Online (Sandbox Code Playgroud)
到
root@computerName:~#
Run Code Online (Sandbox Code Playgroud)
我查看了 sudo 的手册页,它没有解释为什么会发生这种情况或它进入了什么模式。
第二个命令行标签中的rootand#是什么意思?这种模式允许你做什么,我该如何摆脱它?预先感谢您的任何帮助!
Making all in doc
make[1]: Entering directory `/home/enas/Desktop/speedos-0.2.0/speedos/doc'
make[2]: Entering directory `/home/enas/Desktop/speedos-0.2.0/speedos'
make[2]: Leaving directory `/home/enas/Desktop/speedos-0.2.0/speedos'
make[2]: Entering directory `/home/enas/Desktop/speedos-0.2.0/speedos'
make[2]: Leaving directory `/home/enas/Desktop/speedos-0.2.0/speedos'
Making all in thesis
make[2]: Entering directory `/home/enas/Desktop/speedos-0.2.0/speedos/doc/thesis'
make[3]: Entering directory `/home/enas/Desktop/speedos-0.2.0/speedos'
make[3]: Leaving directory `/home/enas/Desktop/speedos-0.2.0/speedos'
make[3]: Entering directory `/home/enas/Desktop/speedos-0.2.0/speedos'
make[3]: Leaving directory `/home/enas/Desktop/speedos-0.2.0/speedos'
fig2dev -L pstex_t -p virtmem_half virtmem_half.fig virtmem_half.inc
/bin/bash: fig2dev: command not found
make[2]: *** [virtmem_half.inc] Error 127
make[2]: Leaving directory `/home/enas/Desktop/speedos-0.2.0/speedos/doc/thesis'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/enas/Desktop/speedos-0.2.0/speedos/doc'
make: *** …Run Code Online (Sandbox Code Playgroud) 我正在使用 C++ 进行开发。我听说GTK要被Wayland取代了。
哪些 GUI 库适合长期使用 C++?