我在我的AWS Ubuntu t2微系统上得到了这个错误。我是Ubuntu/Linux的新手。在安装nodejs软件包时,它建议我运行sudo apt-get -f install。任何帮助都将不胜感激。
$sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed
无论我尝试做什么,无论是安装新软件,还是尝试sudo apt-获得升级。
有时我总是出错:(当我尝试sudo apt升级时)
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-hwe
我无法通过运行自动清理来清理我的磁盘空间,也不能升级,因为我一直被要求运行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
我们最近将服务器上的R从版本3.3.1升级到了3.4.1。然而,尝试安装我通常使用的包(例如tidyr)失败了。
版本
version
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
我知道"perf“工具需要与特定linux内核版本相对应的安装。我知道所有的docker映像都运行在相同的linux内核版本中,而不管linux发行版。
我在坞内使用ubuntu16.04,并且已经安装了linux工具-常见的,start perf告诉我,我仍然缺少一些软件包:‘
# perf
/usr/bin/perf: line 32: lsb_release: command not found
WARNING: perf not found for kernel 4.9.12
You may need to install the following packages f
我愚蠢地把引导放在它自己的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
当我试图安装一些软件包时,我得到了以下输出:
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-4.13.0-45-generic : Depends: linux-image-4.13
在AWS上使用Ubuntu14进行升级时遇到了问题。这似乎与完全/boot等问题不同。我该怎么纠正呢?
Setting up initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.13.0-35-generic (3.13.0-35.62) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The li
我试图删除旧的内核映像,因为服务器上已经没有空间了,但是每当我尝试使用
sudo apt-get remove xxx
我得到了
The following packages have unmet dependencies:
linux-image-extra-3.13.0-135-generic : Depends: linux-image-3.13.0-135-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-3.13.0-135-generic but it i
在更新操作期间,我得到了以下错误:
(Reading database ... 713992 files and directories currently installed.)
Removing linux-image-extra-4.10.0-35-generic (4.10.0-35.39~16.04.1) ...
depmod: FATAL: could not load /boot/System.map-4.10.0-35-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/a
apt-get upgrade告诉我,包linux-headers-server linux-image-server被拒之门外,因此这个答案引导我运行apt-get install linux-headers-server linux-image-server。
但是,该命令输出以下内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-server is already the newest version.
linux
当我最近运行它的时候,它给我看了这个
~$ 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
我试着用#yum install vim-enhanced安装vim增强的,我得到了一个类似于insufficient space in download directory /var/cache/yum/updates/packages的错误,我找到了一些这个问题的答案,但是我没有理解,因为我对linux环境非常陌生,我现在使用的是Fedora 18,请任何人帮我找出这个
当我试图通过软件中心或终端安装程序时,我一直收到错误信息。
这是我在终端安装失败后得到的代码。
Preconfiguring packages ...
(Reading database ... 540926 files and directories currently installed.)
Removing linux-image-extra-4.4.0-71-generic (4.4.0-71.92) ...
depmod: FATAL: could not load /boot/System.map-4.4.0-71-generic: No such file or direct
当我尝试运行类似于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 :
我在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 correct these.
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-4.4.0-151-gene
我想做更新,但似乎我的磁盘已经满了。我试过:
sudo apt-get install -f
但它给了我以下输出:
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:
checkbox-ng fonts-inconsolata gir1.2-gcon
尝试通过softlayer cli配置块存储,但遇到了问题。有谁知道如何克服这个问题吗?
slcli block volume-order --storage-type endurance --size 10 --tier 0.25 --os-type LINUX --location dal05
Argument Error: Could not find price for disk space
我的UbuntuServer18.04系统虽然继续工作,但已经无法应用任何更新。我不知道我所做的任何系统改变都可能是罪魁祸首。
我能做些什么来解决这个问题?我试过自动移除、清除等。
这是典型的输出,但是任何apt命令都会产生类似的错误:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
linu
我在更新软件包时遇到了问题,于是我把404's带到了au.archive.ubuntu.com。
我现在似乎已经解决了,但是我现在明白了;
llibke@libke:~$ sudo apt-get -f install smartmontools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
a