boot-repair GUI does not start in 20.04 (glade2script-python3 error)

Bug #1865321 reported by Bill (franksmcb)
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Boot-Repair
Fix Released
Wishlist
Unassigned

Bug Description

Trying to run boot-repair in 20.04 daily, I get error:

VirtualBox:~$ boot-repair
Traceback (most recent call last):
  File "/usr/bin/glade2script-python3", line 49, in <module>
    from ConfigParser import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

********************* INFORMATION FROM BOOT-REPAIR DEVS****************
This is due to the fact that glade2script (boot-repair's graphic engine) uses Python2, which has been removed from 20.04.
So now we need to upgrade /usr/bin/glade2script to Python3... which may take weeks/months. Hopefully someone can help.

Meanwhile, you can still use latest version of Boot-Repair PPA from a 18.04 or 19.10 live session, or from a Boot-Repair-Disk. Even if 20.04 is installed on your computer.

Revision history for this message
Jānis Kangarooo (kangarooo) wrote :

Still exists. How to use to fix installation? Installed on GPT EFI

Revision history for this message
Jānis Kangarooo (kangarooo) wrote :
Revision history for this message
Jānis Kangarooo (kangarooo) wrote :
Download full text (3.8 KiB)

kubuntu@kubuntu:~$ 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://Kubuntu 20.04 LTS _Focal Fossa_ - Alpha amd64 (20200229) focal InRelease
Hit:2 cdrom://Kubuntu 20.04 LTS _Focal Fossa_ - Alpha amd64 (20200229) focal Release
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
kubuntu@kubuntu:~$ ubuntu-bug boot-
boot-info boot-repair boot-sav-extra
boot-info-script boot-sav
kubuntu@kubuntu:~$ ubuntu-bug boot-
boot-info boot-repair boot-sav-extra
boot-info-script boot-sav
kubuntu@kubuntu:~$ ubuntu-bug boot-repair
dpkg-query: no packages found matching boot-repair
kubuntu@kubuntu:~$ ubuntu-bug boot-repair
dpkg-query: no packages found matching boot-repair
kubuntu@kubuntu:~$ ubuntu-bug boot-repair
dpkg-query: no packages found matching boot-repair
kubuntu@kubuntu:~$ boot-repaor
boot-repaor: command not found
kubuntu@kubuntu:~$ boot-repair
boot-repair: command not found
kubuntu@kubuntu:~$ sudo apt-get install -y boot-repair && boot-repair
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 boot-repair : Depends: boot-sav but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
kubuntu@kubuntu:~$ sudo apt install boot-sav
boot-sav boot-sav-extra
kubuntu@kubuntu:~$ sudo apt install boot-sav
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 boot-sav : Depends: glade2script (>= 3) but it is not going to be installed or
                     glade2script-gtk2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
kubuntu@kubuntu:~$ ^C
kubuntu@kubuntu:~$ sudo apt install glade2script
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have ...

Read more...

YannUbuntu (yannubuntu)
summary: - boot-sav not available in 20.04 unable to install boot-repair
+ boot-repair GUI does not start in 20.04 (glade2script-python3 error)
description: updated
Revision history for this message
YannUbuntu (yannubuntu) wrote :

Thanks for reporting.
This is due to the fact that glade2script (boot-repair's graphic engine) uses Python2, which has been removed from 20.04.
So now we need to upgrade /usr/bin/glade2script to Python3... which may take weeks/months. Hopefully someone can help.

Meanwhile, you can still use latest version of Boot-Repair PPA from a 18.04 or 19.10 live session, or from a Boot-Repair-Disk. Even if 20.04 is installed on your computer.

description: updated
Changed in boot-repair:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
YannUbuntu (yannubuntu) wrote :

Fixed in 4ppa74. by using python2 from Universe.

Changed in boot-repair:
status: Triaged → Fix Committed
Revision history for this message
Bill (franksmcb) (franksmcb) wrote :

Can confirm that this installs correctly on current 20.04 daily ISO.

YannUbuntu (yannubuntu)
Changed in boot-repair:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.