AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1323901
Accepted
Jonte YH
Jonte YH
Asked: 2021-03-17 02:04:45 +0800 CST2021-03-17 02:04:45 +0800 CST 2021-03-17 02:04:45 +0800 CST

包错误冲突!

  • 772

当我做

sudo apt-get update 
sudo apt-get upgrade

我在下面收到这些错误:

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu disco InRelease                                                                                                      
Hit:3 http://archive.ubuntu.com/ubuntu groovy InRelease                                                                                                                 
Ign:4 http://repo.vivaldi.com/stable/deb stable InRelease                                                                                                               
Ign:6 http://archive.ubuntu.com/ubuntu groovy-updates InRelease                                                                                                         
Hit:7 http://repo.vivaldi.com/stable/deb stable Release                                                                                                                 
Hit:8 https://download.docker.com/linux/ubuntu focal InRelease                                                                                                          
Hit:5 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease                                                                                                    
Hit:9 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease                                                                                                     
Ign:10 http://archive.ubuntu.com/ubuntu groovy-backports InRelease                                                                                                      
Ign:11 http://archive.ubuntu.com/ubuntu groovy-security InRelease                                                              
Hit:12 http://archive.ubuntu.com/ubuntu groovy-updates Release                                                                                              
Hit:13 http://archive.ubuntu.com/ubuntu groovy-backports Release                                                                                            
Hit:14 http://archive.ubuntu.com/ubuntu groovy-security Release                                                                
Hit:15 https://download.sublimetext.com apt/stable/ InRelease                                
Hit:16 https://packagecloud.io/AtomEditor/atom/any any InRelease       
Reading package lists... Done
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu groovy InRelease (expected groovy but got groovy-pgdg)
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't support architecture 'i386'
W: Skipping acquire of configured file 'restricted/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

下面我有我的sources.list

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ disco main restricted
# # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu groovy main restricted
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu groovy-updates main restricted
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu groovy universe
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco universe
deb http://archive.ubuntu.com/ubuntu groovy-updates universe
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu groovy multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://archive.ubuntu.com/ubuntu groovy-updates multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu disco partner
# deb-src http://archive.canonical.com/ubuntu disco partner

deb http://archive.ubuntu.com/ubuntu groovy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://archive.ubuntu.com/ubuntu groovy-security universe
# deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://archive.ubuntu.com/ubuntu groovy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu disco-security multiverse
# deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable # disabled on upgrade to eoan disabled on upgrade to focal
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main # disabled on upgrade to eoan disabled on upgrade to focal
deb-src [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main # disabled on upgrade to focal disabled on upgrade to groovy
deb https://cli-assets.heroku.com/branches/stable/apt ./ # disabled on upgrade to eoan disabled on upgrade to groovy
# deb-src https://cli-assets.heroku.com/branches/stable/apt ./
# deb https://deb.torproject.org/torproject.org focal main # disabled on upgrade to eoan disabled on upgrade to focal
# deb https://dl.winehq.org/wine-builds/ubuntu/ focal main # disabled on upgrade to eoan disabled on upgrade to focal
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ disco main
# deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable main # disabled on upgrade to eoan disabled on upgrade to focal
# deb-src https://repo.vivaldi.com/deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable mainarchive/deb/ stable main
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main # disabled on upgrade to focal
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main
# deb-src [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
# deb http://apt.kubernetes.io/ kubernetes-xenial main # disabled on upgrade to groovy
# deb-src http://apt.kubernetes.io/ kubernetes-xenial main

我该如何解决这些错误,或者它与我的硬件有关?

apt
  • 1 1 个回答
  • 778 Views

1 个回答

  • Voted
  1. Best Answer
    Jonte YH
    2021-03-17T02:41:42+08:002021-03-17T02:41:42+08:00

    似乎没有人回答我的问题,所以我将在下面提供答案:

    在下面键入这些命令,警告确实消失了:

    sudo rm /var/lib/apt/lists/* -vf
    
    sudo apt-get clean
    
    sudo apt-get update
    
    sudo apt-get upgrade
    

    他们在评论中给我的链接并没有解决我的问题:(!

    • 2

相关问题

  • 如何编写 shell 脚本来安装应用程序列表?

  • 如何查看存档中可用的软件包的所有版本?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve