我已经安装clamav并且我想更新它用来识别病毒的文件:
$ sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
Run Code Online (Sandbox Code Playgroud)
我该怎么办这个错误?
编辑:
$ sudo lsof /var/log/clamav/freshclam.log
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
freshclam 866 clamav 3wW REG 259,1 100134 10486045 /var/log/clamav/freshclam.log
Run Code Online (Sandbox Code Playgroud) 我正在尝试将我的 nodejs 升级到 7.6 但失败了。现在我在重新安装 node 6.10 后遇到了一个新问题:
$ sudo apt-get purge nodejs npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'npm' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-4.8.0-40 linux-headers-4.8.0-40-generic linux-image-4.8.0-40-generic linux-image-extra-4.8.0-40-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
nodejs*
0 to upgrade, 0 to newly install, 1 to remove and 53 not to upgrade.
After this operation, …Run Code Online (Sandbox Code Playgroud) 为什么我的安装中没有交换分区?
$ lsblk
nvme0n1 259:0 0 238.5G 0 disk
??nvme0n1p1 259:1 0 238.5G 0 part /
Run Code Online (Sandbox Code Playgroud)
我安装 Ubuntu/Kubuntu 错了吗?
我认为它应该是这样的:
nvme0n1 259:0 0 238.5G 0 disk
??nvme0n1p5 259:3 0 15.9G 0 part [SWAP]
??nvme0n1p1 259:1 0 222.6G 0 part /
??nvme0n1p2 259:2 0 1K 0 part
Run Code Online (Sandbox Code Playgroud)
我只是选择了安装过程中建议的内容。但这似乎很奇怪。
如何判断 USB 驱动器被分配为哪个设备?
在插入 USB 驱动器之前:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 238.5G 0 disk
??nvme0n1p5 259:3 0 15.9G 0 part [SWAP]
??nvme0n1p1 259:1 0 222.6G 0 part /
??nvme0n1p2 259:2 0 1K 0 part
Run Code Online (Sandbox Code Playgroud)
后:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 1.9G 0 disk
??sda2 8:2 1 2.4M 0 part
??sda1 8:1 1 1.2G 0 part
nvme0n1 259:0 0 238.5G 0 disk
??nvme0n1p5 259:3 0 15.9G 0 …Run Code Online (Sandbox Code Playgroud) 我在 Xubuntu/Ubuntu 16.04 上,我正在尝试安装 libssl0.9.8:
sudo apt-get install libssl0.9.8
Run Code Online (Sandbox Code Playgroud)
错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl0.9.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl0.9.8' has no installation candidate
Run Code Online (Sandbox Code Playgroud) 我使用的是 Linux - Ubuntu/Kubuntu 17.04,我需要在最新的 Safari 浏览器上测试我的网站。我找到了这个答案,所以我从这个站点下载了这个版本。这是我下载的 webkitgtk-2.16.1.tar.xz
我解压了它,但我如何使用/运行它?
我也遇到过这个https://saucelabs.com/,但不确定它有多可靠。还有其他开源选项吗?
我已经在我的 Xubuntu 16.04 上安装了 wine 1.8 和 winetricks,但是当我尝试安装一个 exe 文件时出现以下错误:
wine: cannot find L"C:\\windows\\system32\\Set-up.exe"
Run Code Online (Sandbox Code Playgroud)
任何想法为什么以及如何解决它?
如何使用终端在 Ubuntu 16.10 上将我当前的 Chromium 从 56 升级/更新到 57?
我可以从他们的官方网站获取 Chrome 57 - 下载.deb文件然后安装它,但 Chromium 仍然是 56 版。
我尝试在我的终端上:
$ sudo apt-get install --only-upgrade chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
chromium-browser is already the newest version (56.0.2924.76-0ubuntu0.16.10.1335).
0 to upgrade, 0 to newly install, 0 to remove and 55 not to upgrade.
Run Code Online (Sandbox Code Playgroud)
Ubuntu 的最新版 Chromium 似乎只有 56.0.2924.76?
我现在在 php7 上,但我有一个依赖于 php5 的遗留程序,因为它使用mysql而不是mysqli。
我可以将 php5 与 php7 一起安装并在需要它们中的任何一个时切换它们吗?
将我的 Kubuntu 从 17.04 升级到 17.10 后,它无法再接收任何 bt 设备。
我尝试使用我的 bt 键盘、bt 鼠标、bt 扬声器和 android 手机。它们都没有显示在下面的窗口中:
我试过:
$ lspci -nnk | grep -iA2 net; lsusb; hciconfig -a; dmesg | egrep -i 'blue|firm'
我得到:
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-LM [8086:15b7] (rev 31)
Subsystem: Intel Corporation Ethernet Connection (2) I219-LM [8086:2064]
Kernel driver in use: e1000e
Kernel modules: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Wireless 8260 [8086:9010] …Run Code Online (Sandbox Code Playgroud)