我知道类似的问题已经解决了,但我被困住了。我在/分区上耗尽了空间,需要删除一些包,因为apt-获取删除、自动删除和清理无法做任何事情。然后是apt-get update和apt-get upgrade-ed,但是在这个过程中出了点问题。现在,情况是:
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra package
我遵循这个答案中给出的描述,当apt询问我是否要删除包时,它们会被列出一个星号。
命令是
sudo apt-get purge linux-image-3.13.0-{32,43,44,46}-generic
得到的提示是
The following packages will be REMOVED:
linux-image-3.13.0-32-generic* linux-image-3.13.0-43-generic*
linux-image-3.13.0-44-generic* linux-image-3.13.0-46-generic*
linux-image-extra-
所以我不知道这是怎么发生的,但是每次我尝试安装什么或者做一个更新,它都不会完成并且失败。我使用的是Ubuntu 17.04。下面是我尝试运行sudo apt upgrade时所发生的事情:
into@poppistus:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
每当我尝试aptitude install某件东西时,我都会得到以下错误:
E: I wasn't able to locate a file for the libxmlrpc-c3 package.
This might mean you need to manually fix this package. (due to missing arch)
Writing extended state information... Done
E: I wasn't able to locate a file for the libxmlrpc-c3 package.
Th
我正在面对这个问题,你能给我一些提示如何解决这个问题吗?
$sudo cp ~/anaconda2/lib/libhdf5* /usr/lib/x86_64-linux-gnu/
cp: not writing through dangling symlink '/usr/lib/x86_64-linux-gnu/libhdf5.so'
cp: not writing through dangling symlink '/usr/lib/x86_64-linux-gnu/libhdf5_hl.so'
谢谢
又是我。我试图运行以下命令:sudo apt-get remove bitcoind,但我得到了以下响应:
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-16.04 :
每当我尝试安装任何东西时,我都会收到以下消息:
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:
clang : Depends: clang-3.4 (>= 3.4~rc3-1~) but it is not go
root@mc:/home/sdtd# apt-get install rpm
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-server : Depends: linux-image-server (= 3.2.0.3
linux-image-server depends on linux-image-3.2.0-39-generic; however:
Package linux-image-3.2.0-39-generic is not installed.
dpkg: error processing linux-image-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a follo
昨天我运行了apt-get升级来更新我的内核(ubuntu15.04),而/boot内存不足(通常如果没有足够的空间,就会阻止升级任务运行)。
我意外地删除了活动内核,导致我在这里执行以下步骤- 如何在意外删除所有内核后恢复系统?
由于前面的内存错误阻止了我安装当前内核或升级剩余内核,所以我被困在步骤13中。
升级引发以下错误
root@ubuntu:/# apt-get -y upgrade linux-image-generic
Reading package lists... Done
Building dependency tree
Reading state i
如何卸载Ubuntu 11.04上passenger安装过程中安装的nginx?
我应该直接使用gem uninstall passenger吗?这也会移除nginx吗?
这是我在运行apt-get remove时看到的内容
sudo apt-get remove nginx-common nginx-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
**Package nginx-common is not installed, so not
当我们试图使用git工具克隆回购时,我们会得到以下错误。我们使用的git版本是2.33.1,但是有一个问题。
$ git clone http://local.com/bitbucket/scm/test/test1.git
Cloning into 'test1'...
Username for 'http://local.com': admin
Password for 'http://admin@local.com':
fatal: unable to access 'http://local.com/bitbucket/scm/
这是关于Ubuntu18.04 LTS的。我试图通过删除不需要的Linux内核来节省空间,但看起来它仍然会安装其他“未签名”的内核映像。为什么会这样呢?
这是日志:
root@ubuntu18:~# apt-get remove linux-image-4.18.0-15-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-image
我试着跑
rustup update stable
我得到了以下输出。
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2020-05-07, rust version 1.43.1 (8d69840ab 2020-05-04)
error: some components unavailable for download for channel stable: 'rust-std' for target 'i386-ap
我正在尝试卸载wordpress,但我遇到了以下情况。我使用了以下命令:
sudo apt-get remove wordpress
得到以下输出:
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
我不知道我是如何得到这个问题的,但是由于某种原因,ld-linux-x86-64.so.2报告了一个CRC错配,它正在影响一个我无法打开的程序,这会导致一个分段错误。
需要这一点的应用程序是nvclock_gtk。
(gdb) run
Starting program: /usr/bin/nvclock_gtk
warning: the debug information found in "/lib64/ld-2.19.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
[Thr
我遇到了一个完整的/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)。
所以我想转一转:
#Windows#
1. Linux Sysadmin, Linux Scripting etc.
2. Databases - Oracle, mySQL etc.
3. Security (Firewall, Network, Online Security etc)
4. Storage in Linux
5. Productivity (Too many technologies to explore, not much time available)
进入:
1. Windows Sysad
我最近运行了conda update --all,现在每当我打开一个新的终端时,都会看到下面的错误行:
ERROR: This cross-compiler package contains no program /bin/x86_64-conda_cos6-linux-gnu-addr2line
ERROR: activate-binutils_linux-64.sh failed, see above for details
ERROR: This cross-compiler package contains no program /bin/x86_64-conda_cos6-linux
Hi,我试图在CentOS 7计算机上安装Networkit,但是我遇到了几个错误。您能告诉我错误/遗漏了什么和/或键入正确的命令以修复错误吗?
当前,我在我的机器上安装了以下内容,这对于Networkit的安装是必要的:
[JohnRambo@Machine ~]$ g++ --version
g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditio
因此,上周我犯了一个愚蠢的错误,在我的Ubuntu20.04上安装了错误的Nvidia驱动程序,基本上GUI就坏了。然而,我想,我最终能够解决这个问题。 现在,每当我尝试使用包管理器( apt-get )时,我得到以下错误:这是在运行'sudo apt- get upgrade‘之后 Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install'
我最近更新到了Django1.1,这是我在Django1.10下使用的(也是最近从1.6更新的),我一直收到This session is in 'prepared' state; no further SQL can be emitted within this transaction.的sqlalchemyMySQL1.1错误
我该如何调试它?
它在mod_wsgi下的单进程、多线程环境中运行--我不确定是否正确配置了SQLAlchemy的scoped_session。
我使用一个分配给每个传入请求的请求容器,它设置会话并清理它。(我假设Django中的每个请求都在它自己的
我已经打电话给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