Meh*_*ban 11 boot grub2 dual-boot ppa
我的笔记本电脑上安装了 Ubuntu 13.10。升级 Windows 后,我尝试通过此处Boot Repair提到的这些命令恢复 grub :
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Run Code Online (Sandbox Code Playgroud)
但是当我运行第一个命令时,我收到此错误:
Cannot add PPA: 'ppa:yannubuntu/boot-repair'.
Please check that the PPA name or format is correct.
Run Code Online (Sandbox Code Playgroud)
有什么问题?
小智 26
当您实时启动并尝试在连接到互联网之前添加 ppa 时,会出现此特定问题。
只需先连接到互联网,然后像以前一样尝试再次添加 ppa。
我建议你在终端做:
sudo add-apt-repository ppa:yannubuntu/boot-repair
Run Code Online (Sandbox Code Playgroud)
然后做:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
如果它不起作用,我建议您在 apt-get 中手动添加它
nano /etc/apt/source.list.d/yannubuntu-boot-repair-saucy.list
Run Code Online (Sandbox Code Playgroud)
并写下这个:
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu saucy main
然后保存并更新:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
63237 次 |
| 最近记录: |