次のコマンドを使用して、Ubuntu 18.04.1 LTS Bionic BeaverにAtomテキストエディタをインストールしました。
sudo apt-get install atom
インストールプロセスを停止し、コマンドを実行するたびに:-
sudo apt update
出力は次のとおりです。 -
Hit:1 http://ppa.launchpad.net/webupd8team/atom/ubuntu bionic InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Atomを再インストールしようとするたびに、次の結果が表示されます。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
atom : Depends: gvfs-bin but it is not installable
E: Unable to correct problems, you have held broken packages.
次のように端末からパッケージをインストールしようとするたびに:
sudo apt-get install "package-name"
次の出力が表示されます。このパッケージのインストール候補はありません。
たとえば、rpmをインストールすると、出力は次のようになります。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'rpm' has no installation candidate
[* EDIT]これで実行すると、sudo apt update
すべてが正常ですが、最後に奇妙な出力が表示されます。
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (restricted/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (restricted/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target CNF (restricted/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target Translations (universe/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target DEP-11 (universe/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target CNF (universe/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/official-package-repositories.list:16
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target Translations (multiverse/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target DEP-11 (multiverse/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target CNF (multiverse/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list.d/official-package-repositories.list:26
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Translations (restricted/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target DEP-11 (restricted/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target CNF (restricted/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/official-package-repositories.list:10
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target Translations (universe/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target DEP-11 (universe/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target CNF (universe/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/official-package-repositories.list:18
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target Translations (multiverse/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target DEP-11 (multiverse/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target CNF (multiverse/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list.d/official-package-repositories.list:28
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (restricted/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (restricted/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (restricted/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (universe/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (universe/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (universe/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (multiverse/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (multiverse/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (multiverse/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:36 and /etc/apt/sources.list.d/official-package-repositories.list:36
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Translations (restricted/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target DEP-11 (restricted/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target CNF (restricted/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list.d/official-package-repositories.list:46
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target Translations (universe/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target DEP-11 (universe/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target CNF (universe/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list.d/official-package-repositories.list:48
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target Translations (multiverse/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target DEP-11 (multiverse/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target CNF (multiverse/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list.d/official-package-repositories.list:50
答え1
メインストアリストファイルが削除されたようです。
次のコマンドは、/etc/apt/sources.list
ダウンロードしたUbuntu 18.04 LTSイメージファイルから取得した元のデフォルトファイルを提供します。
sudo echo -e "# Sources.list obtained directly from the downloaded Ubuntu iso image file\ndeb http://archive.ubuntu.com/ubuntu/ bionic main restricted\ndeb http://security.ubuntu.com/ubuntu/ bionic-security main restricted\ndeb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted" > /etc/apt/sources.list
デフォルトのストレージソースファイルを作成したら、次のものを更新する必要がありますapt-cache
。
sudo apt-get update
この時点で、一部のPPAがプライマリストアと競合しているかどうかによって、エラーメッセージが表示されることがあります。ストレージの問題を解決する前に、すべてのPPAを無効にすることをお勧めします。ただし、さまざまなPPAからインストールされているソフトウェアの中には、公式のUbuntuよりも最新のライブラリが必要な場合、エラーが発生する可能性があります。
更新中にエラーが発生しない場合は、おそらく大丈夫でしょう。ただし、以下の制限の少ないリポジトリのリストを有効にする必要があります。コンテンツを/etc/apt/sources.list
次のリポジトリのリストに置き換えることができます。
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-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 bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
外部リンク:
答え2
@RubberStamp...コメントセクションにコメントできません。そのユーザーは、その投稿にコメントする権限がないと述べました。
とにかく、Atomだけでなくインストールしようとしているすべてのパッケージの出力は次のとおりです。
E: Unable to locate package "package-name"
または
E: Package "package-name" has no installation candidate