我意外地为远程计算机(运行linux的集群)上的一个巨大文件夹启动了一个删除进程,我通过命令"Connect to server“导航文件夹/通过Nautilus访问文件。在这台机器上我没有垃圾。我已经停止了删除进程后,1或2秒(红色按钮在窗口与进度栏),显然所有的文件仍然在那里。如何检查文件是否已损坏/部分删除?
我已经打电话给apt-get purge来卸载旧内核。但是在清除过程中发生了一些错误,导致文件夹被留下。它说文件夹不是空的,所以不能删除。要释放磁盘空间,可以手动删除已清除的文件夹吗?
1.1M ./4.15.0-20-generic
60M ./4.15.0-32-generic <-- I've purged this
60M ./4.15.0-30-generic <-- and this
236M ./4.15.0-33-generic <-- this is my current one
我也可以移除其中一些包吗?
un lin
我试图为Openlitespeed服务器安装LSPHP 7.0。PHP已经安装在我的系统上,这可能会导致混乱。安装没有完成,现在我不能运行任何apt-get命令。在尝试使用apt-get时,我总是遇到这个错误。
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 u
我正在尝试运行virtualbox,但它不起作用。尝试重新安装它,发现了一个错误。
sudo apt purge virtualbox
[sudo] password for vega:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and
尝试用sudo apt-get install安装任何东西时,我会收到以下错误:
Errors were encountered while processing:
docutils-common
python-docutils
golismero
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get -f install的完整输出:
Reading package lists... Done
Building dependency tree
Reading state information..
我想运行的代码有makefile,它显示了错误:
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start':(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [Nfa] Error 1
具有主函数的文件是terp.c。
带main()的代码部分是:
#ifdef MAIN
#define ALLOCATE
#in
我刚从这里下载了Sage的tarball:http://mirrors.mit.edu/sage/linux/64bit/index.html
然后我用bunzip2解压缩它,它创建了一个文件夹/SageMath,所以我把它cd到其中。然后我运行sudo make,它告诉我我不能把它作为根,
configure: error: You cannot build Sage as root, switch to an unpriviledged user
所以我只运行make,它就会抱怨
./configure: line 2107: config.log: Permission denied
.
当我试图使用c++编译任何g++程序时,我得到以下错误,堆栈跟踪非常长,这只是一个示例:
...........
/usr/include/x86_64-linux-gnu/bits/byteswap.h:47:2: error: stray ‘\330’ in program
/usr/include/x86_64-linux-gnu/bits/byteswap.h:47:2: error: stray ‘\330’ in program
/usr/include/x86_64-linux-gnu/bits/byteswap.h:47:2: error: stray ‘\340’ in p