我在网上搜索过,我在终点站接受了建议,没有人为我工作过。下面是我正在讨论的问题。似乎清除旧内核的代码已被破坏,但要修复它,我需要更多的空间,这是我的全部目的。我对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
我有7Gb的空间但是..。
~ # dpkg --configure -a
Setting up linux-image-2.6.32-31-generic-pae (2.6.32-31.61) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-31-generic-pae
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.32-31-generic-pae
Failed
我无法通过运行自动清理来清理我的磁盘空间,也不能升级,因为我一直被要求运行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
我试图按照sudo apt autoremove的建议,使用apt-get upgrade删除一些旧的linux内核。但自移除不成功。现在,尝试删除旧内核会产生sudo apt remove linux-image-extra-4.4.0-112-generic:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-extra-4.4.0-1
亚马逊网络服务上的EC2机器充满了多个linux头文件,目前磁盘空间已经100%满了。我运行了像apt-get autoremove这样的命令,但是它抛出了一个错误
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
我可以通过rm命令删除旧的标头吗?安全吗?如果我使用rm命令删除,我应该在那之后做任何清理吗?以下是headers列表:
du -h -d
使用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
我正在尝试安装nginx,但是我得到了这个错误。
ahmed@ahmed-Inspiron-5537:~$ sudo apt-get install nginx
[sudo] password for ahmed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.10.3-1ubuntu3).
The following packages were automaticall
出于测试目的,我创建了以下目录。
user@linux:~$ mkdir dir0{1..3}
user@linux:~$ ls -l
total 12K
drwxr-xr-x 2 user user 4.0K Mei 31 10:45 dir01
drwxr-xr-x 2 user user 4.0K Mei 31 10:45 dir02
drwxr-xr-x 2 user user 4.0K Mei 31 10:45 dir03
user@linux:~$
然后,我用find -exec删除了它
user@linux:~$ find -type d -exec rmdir {}
我正在尝试使用以下方法安装MySQL:
sudo apt install mysql-server
在这个过程的最后,我得到了以下信息:
E: Sub-process /usr/bin/dpkg returned an error code (1)
整个投入/产出:
ubuntu@ubuntu:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages
每当我尝试用apt-get安装任何东西时,我都会得到以下错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
kde-l10n-engb linux-image-4.4.0-21-generic
linux-image-extra-4.4.0-21-generic
Use 'su
上一次更新之前显示了以下警告:
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
我正在运行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
*版本:^10.6.1
*目标:linux
我是ubuntu用户&我无法为我的应用程序设置图标。这是一个错误:
No native production dependencies
Packaging for linux x64 using electron 1.4.1 to dist/linux-unpacked
⚠️ Application icon is not set, default Electron icon will be used
Building AppImage for arch x64
这是我的package.jason的构建部分:
"build"