Ubuntu boot-repair安装
解决报错问题:E: unable to locate package boot-repair。找到该list,修改内容为:focal也可以是bionic。方法二:更改该库的发行版本关键字。
·
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
解决报错问题:E: unable to locate package boot-repair
方法一:源网下载
方法二:更改该库的发行版本关键字
cd /etc/apt/sources.list.d/
sudo gedit yannubuntu-ubuntu-boot-repair-bionic.list
sudo cp yannubuntu-ubuntu-boot-repair-bionic.list yannubuntu-ubuntu-boot-repair-cosmic.list
sudo chmod 777 /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-cosmic.list
找到该list,修改内容为:focal也可以是bionic
deb https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu focal main
然后执行:
sudo rm yannubuntu-ubuntu-boot-repair-bionic.list
sudo apt-get update
sudo apt-get install boot-repair
boot-repair
更多推荐
已为社区贡献1条内容
所有评论(0)