私の適切なリポジトリのリストを台無しにしました。おそらく言語パッケージに接続されているでしょう。

私の適切なリポジトリのリストを台無しにしました。おそらく言語パッケージに接続されているでしょう。

私の適切なリポジトリのリストが正しく機能していないようで、ポップOSのアップデートに問題があります。おそらく言語パッケージの問題に関連しているようですが、このエラーを取り除く方法がわかりません。

私がするとき

#sudo apt-get update                                                                                                                                                          tcapelle a[55/444]
Hit:1 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease
Hit:2 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal-security InRelease
Hit:3 [http://apt.pop-os.org/proprietary](http://apt.pop-os.org/proprietary) focal InRelease
Hit:4 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal-updates InRelease
Hit:5 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal-backports InRelease
Ign:6 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal/main all Packages
Ign:6 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal/main all Packages
Err:6 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal/main all Packages
404  Not Found \[IP: [91.189.91.38](https://91.189.91.38) 80\]
Hit:7 [http://ppa.launchpad.net/system76/pop/ubuntu](http://ppa.launchpad.net/system76/pop/ubuntu) focal InRelease
Get:8 [https://download.docker.com/linux/ubuntu](https://download.docker.com/linux/ubuntu) focal InRelease \[36.2 kB\]
Hit:9 [https://repo.skype.com/deb](https://repo.skype.com/deb) stable InRelease
Hit:10 [http://packages.microsoft.com/repos/vscode](http://packages.microsoft.com/repos/vscode) stable InRelease
Hit:11 [https://packages.microsoft.com/repos/ms-teams](https://packages.microsoft.com/repos/ms-teams) stable InRelease
Hit:12 [https://packagecloud.io/slacktechnologies/slack/debian](https://packagecloud.io/slacktechnologies/slack/debian) jessie InRelease
Fetched 36.2 kB in 22s (1,661 B/s)
Reading package lists... Done
W: Skipping acquire of configured file 'restricted/source/Sources' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/source/Sources' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/source/Sources' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-i386/Packages' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-amd64/Packages' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-all/Packages' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/Components-all.yml' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-128x128.tar' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/cnf/Commands-all' as repository '[http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal 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://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)

source.listファイルを見てみると、正常に見えます。

# deb cdrom:[Pop_OS 20.04 _Focal Fossa_ - Release amd64 (20200617)]/ focal main restricted
deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://apt.pop-os.org/proprietary focal main
# deb-src http://apt.pop-os.org/proprietary focal main

deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable

他のファイル:/etc/apt/sources.list.d

drwxr-xr-x 2 root root 4.0K Nov  6 19:29 .
drwxr-xr-x 7 root root 4.0K Nov 12 06:25 ..
-rw-r--r-- 1 root root   69 Aug 10 11:44 bluetooth-ubuntu-bluez-focal.list.save
-rw-r--r-- 1 root root   56 Oct 23 10:26 skype-stable.list
-rw-r--r-- 1 root root  193 Sep 17 14:42 slack.list
-rw-r--r-- 1 root root  193 Sep 17 14:42 slack.list.save
-rw-r--r-- 1 root root   50 Aug 10 11:44 spotify.list.save
-rw-r--r-- 1 root root  124 Sep 17 14:42 system76-ubuntu-pop-focal.list
-rw-r--r-- 1 root root  124 Sep 17 14:42 system76-ubuntu-pop-focal.list.save
-rw-r--r-- 1 root root  196 Oct 16 14:00 teams.list
-rw-r--r-- 1 root root  193 Sep 17 14:42 vscode.list
-rw-r--r-- 1 root root  193 Sep 17 14:42 vscode.list.save

どんなアイデア?

ベストアンサー1

これで私の問題は解決しました。まず、破損している可能性があるAPTのリストをクリーンアップします。

sudo rm /var/lib/apt/lists/* -vf

その後、Debian パッケージングモジュールをクリーンアップします。

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad

そして、誤ったパッケージングモジュールを以前に動作していたパッケージングモジュールと交換します。

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

リポジトリを更新します。

sudo apt-get update

おすすめ記事