软件更新选项会自动下载 GIMP 的升级版。但是在安装时给了我错误。如何升级相同
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
gimp
Suggested packages:
gimp-help-en gimp-help libgimp-perl gimp-gap gimp-console
The following packages will be upgraded:
gimp
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,388 kB of archives.
After this operation, 324 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 151157 …Run Code Online (Sandbox Code Playgroud) 我正在尝试做
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
但我收到以下错误:
W: Failed to fetch http://ftp.udc.es/ubuntu/dists/trusty/Release Unable to find expected entry 'main/binary-x8-64/Packages' in Release file (Wrong sources.list entry or malformed file)
Run Code Online (Sandbox Code Playgroud)
我已经尝试重置 /etc/apt/sources.list 就像这里建议的那样:
并且还尝试选择另一台服务器来下载更新:Ubuntu 12.04 上的“sudo apt-get update”错误
但我一直收到同样该死的错误信息。有任何想法吗?
正如评论中所问,做:
$ grep -R ftp.udc.es /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.udc.es/ubuntu/ trusty main universe
/etc/apt/sources.list.save:deb http://ftp.udc.es/ubuntu/ trusty main
$ cat sources.list
## See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
deb http://ftp.udc.es/ubuntu/ trusty main universe
# CDROMs …Run Code Online (Sandbox Code Playgroud) 我有 Ubuntu 12.04 LTS。我需要正确的输出,因为我对其进行了编辑,因为它不起作用,但这只会使情况变得更糟。
尝试过 -
sudo apt update
sudo apt-get install python3-setuptools
Run Code Online (Sandbox Code Playgroud)
给出错误 -
E: Package 'python3-setuptools' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
尝试过 -
sudo apt update
sudo apt install python3-pip
Run Code Online (Sandbox Code Playgroud)
给出错误 -
E: Package 'python3-pip' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
检查通用存储库时 -
sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.
Run Code Online (Sandbox Code Playgroud)
对于任何其他命令,也会给出错误,因为 python3-packagename 没有安装候选。
我检查了 python 的版本,它是 3.8.2 。我现在安装了 3.9 以及如何将其设为默认值。我想试试看是否可行。
我无法在 Ubuntu 21.04 中安装任何会议软件。
我努力了-
每当我尝试安装其中任何一个时,都会显示我有未满足的依赖项。
我也尝试过安装 Zoom gdebi,但效果不佳。
如果我跑——
sudo gdebi Downloads/zoom_amd64.deb
Run Code Online (Sandbox Code Playgroud)
我明白了——
正在阅读包裹清单...完成
构建依赖树...完成
读取状态信息...完成
读取状态信息...完成
这个包是可以卸载的
依赖性不可满足:libgl1-mesa-glx
所以,当我尝试安装它时-
sudo apt install libgl1-mesa-glx
Run Code Online (Sandbox Code Playgroud)
我明白了——
正在阅读包裹清单...完成
构建依赖树...完成
读取状态信息...完成
软件包 libgl1-mesa-glx 不可用,但被另一个软件包引用。这可能意味着该包丢失、已过时或只能从其他来源获得
当我尝试以相同方式安装 Webex 时,出现同样的问题 -
这个包是可以卸载的
依赖性不可满足:libgl1-mesa-glx
这是 apt GUI 安装程序显示的内容 -
https://i.postimg.cc/mDbNXJMN/MBg-SCz-Fh-QDGV.png
我已经陷入了僵局。我该如何处理这个问题?
package-management apt dependencies software-installation 21.04
我刚刚安装了 Ubuntu Server 16.04.3。在安装过程中,我不断收到消息:
选择安装软件失败
我不知道为什么。我不是专家,所以我不知道如何找到这种情况不断发生的任何原因。无论如何,操作系统似乎安装得很好,所以我想通过命令行安装 OpenSSH。
首先我尝试:sudo apt install openssh-server。这导致了裁谈会的要求。所以我etc/apt/sources.list按照这里的建议修改并注释掉了 cdrom 条目:https : //ubuntuforums.org/showthread.php?t=2194719
当然,我后来做sudo apt-get update了。奇怪的是,这Reading package lists... Done之后直接返回了。
之后,我再次尝试安装 OpenSSH,结果是:
Unable to locate package openssh-server.
所以也许我的互联网连接有问题,但ifconfig给了我我期望的 ipaddress 的网络接口。所以我认为这工作正常。
接下来我找到了一些运行的建议:
sudo rm var/lib/apt/lists/*然后做sudo apt-get update。试过这个,但没有效果。
我有一种感觉,我的安装根本没有列出任何存储库,因此当然找不到任何软件包。不幸的是,如果是这种情况,我不知道如何解决它。欢迎任何建议!
所以有两个PPA在期间引起GPG警告sudo apt update
W: GPG error: https://brave-browser-apt-release.s3.brave.com bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4FE13824E3FFC656
E: The repository 'https://brave-browser-apt-release.s3.brave.com bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: …Run Code Online (Sandbox Code Playgroud) -- 我们的情况 --
过去几周,我们无法在 Ubuntu 16.04 LTS 系统上运行 do-release-upgrade。
我们有 100 多台机器需要升级。已阅读其他解决方案,但到目前为止它们都不起作用(例如:如何升级到较新版本的 Ubuntu? 如何在 Ubuntu 上通过 do-release-upgrade 进行版本升级失败后删除过时的软件包? 如何仅执行 LTS 升级?) - 除了手动更改 /etc/apt/sources.list[.d/]* 中的发行版的“暴力”方法之外。我不喜欢这种方法,因为它看起来过于混乱并且不是特别友好。
do-release-upgrade 在 16.04LTS 上是否损坏?do-release-upgrade 去年中期的某个时候有效,但现在不行了..
-- 一些信息.. --
* Require a command line based solution as we need to automate this.
We will be updating over 100 machines
* None of the existing solutions get do-release-upgrade to work.
sudo do-release-upgrade
sudo do-release-upgrade -d
sudo do-release-upgrade -c
* update-manager-core package is installed
* File …Run Code Online (Sandbox Code Playgroud) 尝试安装 libclang-dev 后,sudo apt-get install -y libclang-dev我收到此错误:
The following packages have unmet dependencies:
libclang-dev : Depends: libclang-10-dev (>= 10~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
当我尝试解决方案时:
$ wget https://apt.llvm.org/llvm.sh
$ chmod +x llvm.sh
$ sudo ./llvm.sh 12
Run Code Online (Sandbox Code Playgroud)
出现这种情况:
The following packages have unmet dependencies:
clang-12 : Depends: libclang-common-12-dev (= 1:12.0.1~++20210511012537+24535af52ae1-1~exp1~20210510233243.87) but it is not going to be installed
clangd-12 : Depends: libclang-common-12-dev (= 1:12.0.1~++20210511012537+24535af52ae1-1~exp1~20210510233243.87) …Run Code Online (Sandbox Code Playgroud) package-management error-handling kubuntu clang software-installation
? 正在升级我的发行版。但是在升级时,我遇到了这样的包失败错误。我尝试了一切,但找不到任何解决方案。你有什么建议吗?
$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
blueman : Depends: python3 (>= 3.9~) but 3.8.2-0ubuntu2 is installed
Depends: gir1.2-ayatanaappindicator3-0.1 but it is not installed
dbus-user-session : Depends: dbus (>= 1.12.20-1ubuntu3)
dbus-x11 : Depends: libdbus-1-3 (= 1.12.20-1ubuntu3) but 1.12.16-2ubuntu2.1 is installed
gir1.2-gtk-3.0 : Depends: libgtk-3-0 (>= 3.24.24) but 3.24.20-0ubuntu1 is installed
gnupg : Depends: …Run Code Online (Sandbox Code Playgroud)