Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 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 u
我遇到了一些问题
sudo apt-get update && apt-get upgrade
在我运行之后,我得到了这个:
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:
linux-image-extra-3.16
我无法通过运行自动清理来清理我的磁盘空间,也不能升级,因为我一直被要求运行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
亚马逊网络服务上的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
我在网上搜索过,我在终点站接受了建议,没有人为我工作过。下面是我正在讨论的问题。似乎清除旧内核的代码已被破坏,但要修复它,我需要更多的空间,这是我的全部目的。我对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
如果一个go程序在Write()中返回错误,它将返回如下内容:
write failed(*fs.PathError): write mnt/test.dat: no space left on device
除了字符串匹配之外,是否还有“设备上没有空间”的字符串匹配,以便知道PathError是由于磁盘空间不足造成的?
注意:我使用的是Linux,而并不关心它在上的工作方式。
我愚蠢地把引导放在它自己的228米空间分区中,现在当我试图进行升级时,它总是告诉我它没有空间。
我试图删除旧包,但仍然没有足够的空间。
有没有一种方法可以摆脱这个/boot分区,并将它与根结合起来?
或者增加它的大小?
这是一个远程服务器,我只有命令行访问权限。
谢谢
更新:
dpkg -l | grep linux-image
ii linux-image-3.2.0-23-generic 3.2.0-23.36 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
当我尝试运行类似于sudo apt-get install rdesktop的程序时,我得到了以下信息:
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:
linux-image-generic-lts-trusty :
使用gzip 1.3.12 /ubuntu64bit,我可以得到“设备上没有空间”,但似乎还有足够的磁盘空间。
gunzip 03-05-2012--22-52-01.tar.gz
gzip: 03-05-2012--22-52-01.tar: No space left on device
如果您在第一次显示错误之前第一次连续运行上述gunzip两次,则第二次会立即发生。
另一方面,如果我使用tar,在给出错误之前,它可以从一定数量的文件开始。在错误发生之后,我可以看到磁盘上的一些文件。
tar -zxvf 03-05-2012--22-52-01.tar.gz
<snip>
我的项目有两个方面。现在,当我运行程序时,我会得到以下错误:
Multiple types were found that match the controller named 'Home'. This can happen if the route that services this request ('{controller}/{action}/{id}') does not specify namespaces to search for a controller that matches the request. If this is the case