![尝试安装 UNetbootin 以重新安装 Ubuntu 时出现错误](https://linux22.com/image/1005126/%E5%B0%9D%E8%AF%95%E5%AE%89%E8%A3%85%20UNetbootin%20%E4%BB%A5%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%20Ubuntu%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF.png)
我是 Linux 新手,几个月前我收到了一台装有 Ubuntu 的笔记本电脑,到目前为止,我一直很喜欢它。除了浏览网页、玩 Steam 和查看电子邮件外,我并没有做太多其他事情。现在,我第一次注意到,每当我尝试通过软件中心进行更新时,我经常会收到错误消息。
问题基本上始于我搞不清楚如何设置这台笔记本电脑的混合显卡设置。我玩游戏时 FPS 很差,所以我做了一些研究,发现这台笔记本电脑有一个混合设置,所以在谷歌上浏览如何从使用板载卡切换到 Radeon 显卡后,我在某个地方搞砸了。然后我基本上就是去了一个又一个网站,尝试输入那些回复过和我遇到同样问题的人的终端命令。
最后,我让它工作了,但我认为我把某个地方搞砸了,现在我在执行各种各样的任务时都会遇到错误。
现在我想完全重新开始并重新安装我的操作系统。问题是,我基本上无法使用 USB 记忆棒或 CD-ROM。因此,在进行研究后,我按照其他人尝试做同样事情的说明进行操作,但我无法取得任何进展,因为我一直收到错误。
我真的不知道从哪里开始,所以这是在尝试安装 UNetbootin 并开始尝试重新安装时出现的错误的一个例子。
当我输入:
sudo apt-get update
这是我在终端上得到的结果:
UNetbootin 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:
Wiki:
Downloads:
Sourceforge:
Launchpad:
More info:
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpdi5igw02/secring.gpg' created
gpg: keyring `/tmp/tmpdi5igw02/pubring.gpg' created
gpg: requesting key FC91AE7E from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpdi5igw02/trustdb.gpg: trustdb created
gpg: key FC91AE7E: public key "Launchpad PPA for Geza Kovacs" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
然后我输入:
sudo apt-get update
我得到以下结果:
Hit:1 # "random link" that I can't post because I don't have enough reputation to post URLs
Hit:2 random link
Hit:3 random link
Hit:4 random link
Hit:5 random link
Hit:6 random link
Get:8 random link
Hit:9 random link
Hit:10 random link
Hit:11 random link
Get:12 random link
Get:13 random link
Hit:14 random link
Fetched 306 kB in 1s (218 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'partner/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'random link doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link e' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'random link ' doesn't support architecture '1386'
这就是我遇到的难题。很抱歉,这可能有点难以缩小我的问题范围,但我不熟悉 Linux,所以我不知道导致这些其他任务无法完成的主要问题到底是什么。我试图最终能够全新安装 Ubuntu 或 Mint。
答案1
有一些复杂的替代方法可以在不使用任何安装介质的情况下重新安装 Ubuntu,例如解引导,但即使您必须借用 USB 闪存驱动器,如果能临时访问它几个小时,也会大大简化重新安装 Ubuntu 的过程。
您无需安装任何东西即可将 Ubuntu 安装程序放在 USB 闪存驱动器上,因为 Ubuntu 中已经有一个用于此目的的内置应用程序,名为启动盘创建器。有关如何使用启动盘创建器的信息,请参阅此问题:从 Ubuntu iso 创建安装媒体的正确方法是什么?。
答案2
要修复您的 apt 更新问题:
sudo dpkg --remove-architecture "1386"
或删除"/var/lib/dpkg/arch"