我正在运行Ubuntu14.04,并且使用它有点新。因此,每当我通过智能或apt安装一些东西时,我就会收到这样的消息,如下所示。智能不会让我继续安装,除非我删除这些软件包,然而,我工作了它使用apt-get。对我来说,在不搞砸东西的情况下把这些包裹拿走安全吗?
The following packages were automatically installed and are no longer required: gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 libtotem0 linux-headers-3.19.0-25 linux-he
上一次更新之前显示了以下警告:
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
使用sudo service ssh status,我们可以得到日志的输出,例如
Jul 16 07:35:50 Linux sshd[1426235]: Disconnected from invalid user root 111.111.111.111 port 59242 [preauth]
Jul 16 07:38:50 Linux sshd[1429104]: User root not allowed because account is locked
我很难理解这是从哪里来的。我的sshd配置设置为登录到SysLogFacility AUTH。
service只是解析syslo
我在网上搜索过,我在终点站接受了建议,没有人为我工作过。下面是我正在讨论的问题。似乎清除旧内核的代码已被破坏,但要修复它,我需要更多的空间,这是我的全部目的。我对Linux非常陌生,绝不是一个程序员,所以请跟我说清楚。
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The follow
我试图将我的Ubuntu18.4升级到18.10。最后,它告诉我它不能继续,因为我在/boot上没有足够的磁盘空间,因此它只进行了部分更新。我重新启动系统,出现18.10,但告诉我这只是部分升级,因为/boot上没有足够的磁盘空间。
我试图释放磁盘空间并获得以下错误:
apt autoremove
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/
当我最近运行它的时候,它给我看了这个
~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
linux-headers-5.15.0-46 linux-headers-5.15.0-46-generic linux-image-5.15.0-46-generic linux-modules-5.15.0-46-generic l
Apt似乎无法为我做任何有用的事情,反复给出这种形式的信息:
dpkg: dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 3.2.0.37.44); however:
Version of linux-image-server on system is 3.2.0.37.45.
linux-server depends on linux-headers-server (= 3.2.0.37.44); however:
Ve
我运行了这个命令sudo apt-get install tor-browser并得到了这个输出。我是否应该像上面提到的那样应用自动删除?
sudo apt-get install tor-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
所以apt-get告诉我使用-f安装
guy@server:~$ 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:
linux-headers-3.13.0-32 linux-headers-3.
我们使用linux日志旋转来旋转日志文件,
例子:
/location/tomcat/logs/* /location/jboss/log/* {
copytruncate
daily
rotate 10
compress
size 20M
olddir rotated
create 0644 test test
}
根据LINUX中给出的复制截断定义,
copytruncate
Truncate the original log file in place after creating
当我试图在stringstream对象中写入二进制数据时,我的代码出现了内存问题。Valgrind日志(首次使用系统监视器发现):
==23562== 16,368 bytes in 1 blocks are possibly lost in loss record 1,612 of 1,612
==23562== at 0x402A6DC: operator new(unsigned int) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23562== by 0x4C72213: std::string::_R
我无法通过运行自动清理来清理我的磁盘空间,也不能升级,因为我一直被要求运行apt-get -f install,但是因为它不会安装完整的磁盘。自动清洗不起作用清洗不起作用。以下是我尝试运行升级时的结果:
agiles@agiles-23-1015:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to co
错误在处理过程中被屏蔽:linux 6.2.12-060212-generic headers泛型linux标头-泛型linux标头-6.2.0-20泛型linux标头6.2.12-060212泛型E: Sub /usr/bin/dpkg返回了一个错误代码(1),我用6.2.20进行了升级,系统没有启动,所以我使用了一个较旧的6.0.9内核,并且我能够启动。然后安装了6.2.12,认为一个新的内核会有所帮助,但我有同样的问题,系统不会用更新的内核启动。试图删除6.2.0.20,并表示它有依赖关系。我该怎么做才能解决这个问题?
如果运行建议的命令行,安全性如何。有窃听器吗?
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic
linux-headers-4.15.0-33 linux-headers-4.15.0-33-generic
linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic
linux-image-4.15.0-
我在更新内核时遇到了麻烦。我在运行Kubuntu 14.04。uname -r输出:
3.13.0-32-generic
我清楚地看到了sudo dpkg --list 'linux-image*'在repos中更新的版本:
...
linux-headers-3.13.0-40 - Header files related to Linux kernel version 3.13.0
linux-headers-3.13.0-40-generic - Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
linux