我在 Linux 上。我想在我的 Mac 上安装 Ubuntu。谷歌搜索如何从 USB 记忆棒安装我找到了这个指南https://tecadmin.net/how-to-create-bootable-linux-usb-using-ubuntu-or-linuxmint/步骤 1 是
$ sudo add-apt-repository ppa:gezakovacs/ppa
$ sudo apt-get update
$ sudo apt-get install unetbootin
所以我执行了这三个步骤,但出现错误。我只使用 Linux 几个小时,而且我不擅长解释命令行错误消息。“E:”后面的消息是什么意思以及如何解决此问题?
首先,添加apt存储库
jacob@jacob-linux ~ $ sudo add-apt-repository ppa:gezakovacs/ppa
[sudo] password for jacob:
You are about to add the following PPA to your system:
UNetbootin http://unetbootin.github.io/ is a cross-platform utility that can create Live USB systems and can load a variety of system utilities or install various Linux distributions and other operating systems without a CD.
Homepage: http://unetbootin.github.io/
Wiki: http://unetbootin.wiki.sourceforge.net/
Downloads: http://sourceforge.net/project/showfiles.php?group_id=222386
Sourceforge: http://sourceforge.net/projects/unetbootin
Launchpad: http://launchpad.net/unetbootin
More info: https://launchpad.net/~gezakovacs/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.EYA8k2K63S --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys FC91AE7E
gpg: requesting key FC91AE7E from hkp server keyserver.ubuntu.com
gpg: key FC91AE7E: public key "Launchpad PPA for Geza Kovacs" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
二、apt-get更新
jacob@jacob-linux ~ $ sudo apt-get update
Ign http://dl.google.com stable InRelease
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://ppa.launchpad.net trusty InRelease [15,4 kB]
Ign http://archive.canonical.com trusty InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65,9 kB]
Hit http://archive.canonical.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Get:3 http://security.ubuntu.com trusty-security InRelease [65,9 kB]
Hit http://archive.canonical.com trusty Release
Ign http://ppa.launchpad.net trusty InRelease
Hit http://repository.spotify.com stable InRelease
Ign http://extra.linuxmint.com rosa InRelease
Ign http://packages.linuxmint.com rosa InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://packages.linuxmint.com rosa Release.gpg
Hit http://extra.linuxmint.com rosa Release.gpg
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Get:4 http://archive.ubuntu.com trusty-updates/main amd64 Packages [995 kB]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://repository.spotify.com stable/non-free amd64 Packages
Get:5 http://ppa.launchpad.net trusty/main Sources [816 B]
Hit http://archive.canonical.com trusty/partner Translation-en
Hit http://repository.spotify.com stable/non-free i386 Packages
Get:6 http://ppa.launchpad.net trusty/main amd64 Packages [835 B]
Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [628 kB]
Get:8 http://ppa.launchpad.net trusty/main i386 Packages [841 B]
Hit http://packages.linuxmint.com rosa Release
Hit http://extra.linuxmint.com rosa Release
Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [17,1 kB]
Get:10 http://ppa.launchpad.net trusty/main Translation-en [401 B]
Ign http://repository.spotify.com stable/non-free Translation-en_US
Ign http://repository.spotify.com stable/non-free Translation-en
Get:11 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [417 kB]
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://dl.google.com stable/main Translation-en_US
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://dl.google.com stable/main Translation-en
Hit http://packages.linuxmint.com rosa/main amd64 Packages
Hit http://extra.linuxmint.com rosa/main amd64 Packages
Get:12 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14,0 kB]
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:13 http://security.ubuntu.com trusty-security/universe amd64 Packages [172 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:14 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14,3 kB]
Get:15 http://archive.ubuntu.com trusty-updates/main i386 Packages [948 kB]
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://packages.linuxmint.com rosa/upstream amd64 Packages
Hit http://extra.linuxmint.com rosa/main i386 Packages
Get:16 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4 135 B]
Get:17 http://security.ubuntu.com trusty-security/main i386 Packages [583 kB]
Get:18 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [16,9 kB]
Get:19 http://archive.ubuntu.com trusty-updates/universe i386 Packages [419 kB]
Hit http://packages.linuxmint.com rosa/import amd64 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://packages.linuxmint.com rosa/main i386 Packages
Get:20 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [14,6 kB]
Get:21 http://archive.ubuntu.com trusty-updates/main Translation-en [489 kB]
Get:22 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7 430 B]
Get:23 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3 978 B]
Hit http://packages.linuxmint.com rosa/upstream i386 Packages
Get:24 http://archive.ubuntu.com trusty-updates/universe Translation-en [223 kB]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://packages.linuxmint.com rosa/import i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Ign http://extra.linuxmint.com rosa/main Translation-en_US
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:25 http://security.ubuntu.com trusty-security/restricted i386 Packages [13,7 kB]
Ign http://extra.linuxmint.com rosa/main Translation-en
Get:26 http://security.ubuntu.com trusty-security/universe i386 Packages [173 kB]
Get:27 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4 290 B]
Get:28 http://security.ubuntu.com trusty-security/main Translation-en [340 kB]
Get:29 http://security.ubuntu.com trusty-security/multiverse Translation-en [2 201 B]
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Get:30 http://security.ubuntu.com trusty-security/restricted Translation-en [3 491 B]
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Get:31 http://security.ubuntu.com trusty-security/universe Translation-en [99,6 kB]
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Ign http://packages.linuxmint.com rosa/import Translation-en_US
Ign http://packages.linuxmint.com rosa/import Translation-en
Ign http://packages.linuxmint.com rosa/main Translation-en_US
Ign http://packages.linuxmint.com rosa/main Translation-en
Ign http://packages.linuxmint.com rosa/upstream Translation-en_US
Ign http://packages.linuxmint.com rosa/upstream Translation-en
Fetched 5 754 kB in 6s (841 kB/s)
Reading package lists... Error!
W: There is no public key available for the following key IDs:
1397BC53640DB551
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_rosa_upstream_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
三、安装unetbootin
jacob@jacob-linux ~ $ sudo apt-get install unetbootin
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_rosa_upstream_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
jacob@jacob-linux ~ $