grub fails when trying to install ubuntu 2020.04

Asked by Erandi Vega

I have been trying to fix grub, by various methods, I have used:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair
boot-repair

but in the terminal I get the following error

ubuntu@ubuntu:~$ sudo add-apt-repository ppa:yannubuntu/boot-repair
 Simple tool to repair frequent boot problems.

Website: https://sourceforge.net/p/boot-repair/home
 More info: https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Ign:1 cdrom://Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316) focal Release
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Reading package lists... Done
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316) focal Release
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Reading package lists... Done
ubuntu@ubuntu:~$ sudo apt-get install boot-repair
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  boot-sav boot-sav-extra efibootmgr glade2script glade2script-python3
  pastebinit
Suggested packages:
  boot-info mdadm os-uninstaller gir1.2-appindicator3-0.1
The following NEW packages will be installed:
  boot-repair boot-sav boot-sav-extra efibootmgr glade2script
  glade2script-python3 pastebinit
0 upgraded, 7 newly installed, 0 to remove and 375 not upgraded.
Need to get 38.1 kB/770 kB of archives.
After this operation, 3,454 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 cdrom://Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316) focal/main amd64 efibootmgr amd64 17-1 [28.1 kB]
Err:2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal/main amd64 glade2script-python3 all 3.2.4~ppa23
  403 Forbidden [IP: 185.125.190.80 80]
Err:3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal/main amd64 glade2script all 3.2.4~ppa23
  403 Forbidden [IP: 185.125.190.80 80]
E: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/pool/main/g/glade2script/glade2script-python3_3.2.4~ppa23_all.deb 403 Forbidden [IP: 185.125.190.80 80]
E: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/pool/main/g/glade2script/glade2script_3.2.4~ppa23_all.deb 403 Forbidden [IP: 185.125.190.80 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Also try this
sudo apt-get update
sudo apt-get upgrade --fix-missing
sudo apt-get install foo --fix-missing

but my problem is the same

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.15.19
ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445.3
Date: Tue Apr 9 17:30:31 2024
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 20.04.6 LTS "Focal Fossa" - Release amd64 (20230316)
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu grub-installer Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Guiver (guiverc) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better.

Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker.

We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs.

If you would prefer live chat support, you can find an IRC support channel for your flavor of Ubuntu here: https://wiki.ubuntu.com/IRC/ChannelList.

You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

(FYI: PPAs are Personal Package Archives and not supported by the Ubuntu project, but by the PPA owner. Bugs/requests about PPAs should likewise be filed with the PPA owner).

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#2

I do not see any reason for a "403 Forbidden" error. Maybe that was a temporary failure.

Why do you need boot-repair? You write "I have been trying to fix grub". That should not be necessary when installing Ubuntu, what problem do you have when installing? Dealing with that problem might be the better solution.

Remark: Why do you install Ubuntu 20.04, if there is already a newer LTS release available - 22.04 (and 24.04 due in a few weeks' time)?

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.