首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法找到Ubuntu 20.04中的packagekit-gtk3-模块:i 386

无法找到Ubuntu 20.04中的packagekit-gtk3-模块:i 386
EN

Unix & Linux用户
提问于 2021-01-11 22:48:56
回答 1查看 993关注 0票数 0

我正在尝试安装一个需要这个软件包的应用程序,当我试图安装这个软件包时,我会得到上面提到的错误。

我已经使用apt更新更新了apt包列表。我能做什么?

我需要安装它,这是一个32位的软件包,在64位的ubuntu。

编辑1

添加架构并不能解决这个问题:

代码语言:javascript
复制
sudo dpkg --add-architecture i386

sudo apt update
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://gb.archive.ubuntu.com/ubuntu focal InRelease                      
Get:4 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease              
Get:6 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [438 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [175 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [97.2 kB]
Fetched 1,034 kB in 1s (1,415 kB/s)                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up-to-date.
N: Skipping acquisition of configured file 'main/binary-armhf/Packages', as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'armhf'
N: Skipping acquisition of configured file 'main/binary-arm64/Packages', as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'arm64'

 sudo apt install packagekit-gtk3-module:i386
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 E: Unable to locate package packagekit-gtk3-module:i386
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-01-13 08:20:52

您的/etc/apt/sources.list中应该有以下几行:

代码语言:javascript
复制
    deb http://security.ubuntu.com/ubuntu bionic-security main universe

由于包属于universe存储库,所以包更新通过安全更新和bionic-update包装盒-gtk3 3- 3-模块应用。

一个示例source.list (更完整):

代码语言:javascript
复制
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner

然后跑:

代码语言:javascript
复制
sudo apt update
sudo apt install packagekit-gtk3-module:i386
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/628703

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档