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
我遇到了一个完整的/boot问题。所以我决定删除旧的linux映像。然而,在这个过程中,我意外地删除了当前正在使用的图像。这将是LinuxImage3.2.0-53-Ubuntu12.04上的通用版本。
尝试apt-get -f安装的结果如下:
dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 3.2.0.54.64); however:
Version of linux-image-server on system is 3.2.0.
我在网上搜索过,我在终点站接受了建议,没有人为我工作过。下面是我正在讨论的问题。似乎清除旧内核的代码已被破坏,但要修复它,我需要更多的空间,这是我的全部目的。我对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
此特定消息将显示在终端中。
$ sudo apt-get remove bio-linux-cdbfasta
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bio-linux-cdbfasta
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or
亚马逊网络服务上的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
我已经打电话给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
我的/boot/分区已经满了,我不能清除旧内核,我已经尝试了这里的建议,但没有运气如何在/中释放更多的空间?
dpkg -l linux-image-\* | grep ^ii
ii linux-image-4.4.0-71-generic 4.4.0-71.92 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-72-generic 4.4.0-72.93 amd64 Linux kernel image for ver
在sudo apt upgrade期间,我得到以下错误。也在sudo apt autoremove --purge上。
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk sp
如果运行建议的命令行,安全性如何。有窃听器吗?
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-
每当我安装任何新内核(或内核升级)时,都会出现很多错误。
我所犯的错误
sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space
我的文件包含以下几行
File.txt
Unix is good
Linux and unix is different?
Linux is also good, then what about unix?
这里我要输出
(1st line blank)
Linix and
Linux is also good, then what about
在这里vi命令或任何其他命令都会给出这个输出?搜索特定的单词,如果这是对的话,然后删除那个词,然后删除该行中的所有单词。
我有多个命名相似的文件。他们名字的不同只是一个递增的数字。例如linux内核:
rc linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
rc linux-image-3.2.0-31-generic 3.2.0-31.50 Linux kernel image for version 3.2.0 on
我刚刚将我的ubuntu升级到了14.04版本,从那时起,python3.3在调用我的脚本时不能导入QtCore;完整的错误输出如下所示:
Traceback (most recent call last):
File "testcode.py", line 8, in <module>
from PySide.QtCore import *
ImportError: No module named 'PySide.QtCore'
有趣的是,这些模块似乎存在:
>ls /usr/lib/python3/dist-packages/P
我成功升级了。现在,当我运行这个:
dpkg --list | grep linux-image
我明白了:
ii linux-image-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc linux-image-4.4.0-31-generic
我运行了这个命令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:
我在更新内核时遇到了麻烦。我在运行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
我已经在我的ubuntu12.10beta2上下载了最新的android ndk r8b。我已经在PATH变量中包含了ndk目录(当我在终端中编写ndk-b并点击tab时,它会自动完成它)。但当我尝试时:
cd android-ndk/samples/san-angeles/jni
ndk-内部版本
我得到了这个错误:
make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not f
我正试图为android的pjsip构建这样的文件。
在遵循此链接中提到的步骤之后
在这些步骤之前,我能够成功地构建。
$ ./configure-android
$ make dep && make clean && make
当试图构建示例pjsua2应用程序时,它会抛出此错误。
Makefile importsym.py java pjsua2.i python symbols.i symbols.lst Warning **: file symbols.i is out of date. Run make symbol.
for dir in java