在某些Linux安装中,有一个“特性”,其中bash在输入路径上找不到的命令时自动建议类似的命令或apt包。
我觉得它很烦人,因为这需要几秒钟,并阻塞终端。
这个配置在哪里(bash,Ubuntu)?我在哪里可以更改/禁用这个?我只想要一个未知命令的错误消息,仅此而已。
在~/..bashrc中找不到任何东西。
这是我公司机器上的输出(花费10秒),缩短如下:
> eco 'hello world'
Command 'eco' not found, did you mean:
command 'ecj' from deb ecj (
每当我尝试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
我刚刚把我的Ubuntu从焦点(20.04)升级到jammy(22.04),现在我的python坏了。这会引起很多麻烦,比如Apt不会更新,一些应用程序也不会启动。
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.6-1~22.04.2) but 3.10.9-1+focal2 is to be installed
作为ubuntu包文档,3.10.6.1是当前(jammy)版本。但是为什么它要安装一个焦点包(3.10.9.1 =月球(23.04))。
我尝试安装python 3.11 (我以前运行3.10)。但是Apt仍然抛出这个错
当我试图升级时,我在终端上得到了这条消息:
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
apt-cache policy linux-generic linux-headers-generic linux-image-generic
linux-generic:
Installed: 5.4.0.6
我意外地运行了apt-get更新,apt-get dist-升级,然后再检查空闲磁盘空间.我几乎不知道我的根/分区被一些日志错误填满了。因此,在更新过程中,我得到了以下两个错误:
gdbm fatal: read error
和
/usr/bin/mandb: can't write to /var/cache/man/26407: No space left on device
除了这些警告之外,升级显然成功完成了。以下是完整的升级日志:
root@titan:~# apt-get dist-upgrade
Reading package lists... Done
Building
又是我。我试图运行以下命令: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 :
Apt-get由于未解决的依赖关系而中断。我跟随其他的答案,我也这样做:sudo apt-get -f install,我得到
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:
account-plugin-generic-oau
从这里获得了最新的deb文件,双击打开Software Center,然后单击install。我得到了:
The package is of bad quality
The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and in
我正在尝试安装teamviewer,并得到以下错误,整个过程如下所示
kittu@kittu-355V4C-356V4C-3445VC-3545VC:~$ sudo dpkg -i teamviewer_linux_x64.debdpkg: error processing archive teamviewer_linux_x64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
teamviewer_linux_x64.de
有问题,
dpkg: error processing teamviewer_linux_x64.deb (--install):
package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
teamviewer_linux_x64.deb
试图安装和跑思科包7。
thufir@dur:~$
thufir@dur:~$ /opt/pt/bin/./PacketTracer7
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: libQt5ScriptTools.so.5: cannot open shared object file: No such file or directory
thufir@dur:~$
thufir@dur:~$ LD_LIBRARY_PATH=/opt/pt/lib /opt/pt/bin/./PacketTrac
我无意中删除了/boot的内容。
我试过了
apt-get purge linux-generic linux-image-generic
apt-get install linux-generic linux-image-generic
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
linux-generic linux-image-generic
0 upgraded, 2 newly installed,
伙计们:我要在这个问题上大发雷霆。我已经准备好安装两个.deb文件,当我完成sudo时-获取安装*.deb,我得到:
E: Unable to locate package discord-0.0.14.deb
E: Couldn't find any package by glob 'discord-0.0.14.deb'
E: Couldn't find any package by regex 'discord-0.0.14.deb'
E: Unable to locate package XnViewMP-linux-x64.deb
E:
我试图在迷航框中安装一个使用泛型/ubuntu1604映像的.deb文件,但是我得到了以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
A queue based service for watching directories for files to process as per its configuration.
Do you want to install the softw
我必须在子目录中安装一些.deb包,即/opt/corbos-linux/2.4.4/sysroots/x86_64-pokysdk-linux/。此文件夹应用作新的根目录。我试着安装这些软件包
dpkg --root=/opt/corbos-linux/2.4.4/sysroots/x86_64-pokysdk-linux/ -i *.deb
但是这个错误出现了:
dpkg: error: unable to access dpkg status area: No such file or directory
而如果我给
dpkg --instdir=/opt/corbos-linux/2.
在升级Virtualbox的时候,我有点挣扎--我刚刚删除了带有apt的5.2包(我正在运行Debian测试)并试图重新安装它--我不断地获得无法解决的依赖问题:
root@debian:/home/nomax# apt install virtualbox-5.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
req
每次我尝试用sudo apt升级来升级软件包时,我都会遇到以下错误:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: The package linux-modules-5.19.0-32-generic needs to be reinstalled, but I can't find an archive for it.
Gnome软件不能运行。如果我尝试,我在系统托盘中得到一个带白线的红色圆圈,并带有错误消息:
📷
我一直在试图通