This bug was fixed in the package edubuntu-installer - 0.4 --------------- edubuntu-installer (0.4) lunar; urgency=medium
* Stop using explicit strings to determine package status (LP: #2014974) -- Erich Eickmeyer <eeickme...@ubuntu.com> Sat, 01 Apr 2023 17:14:04 -0700 ** Changed in: edubuntu-installer (Ubuntu) Status: Fix Committed => Fix Released ** Changed in: ubuntustudio-installer (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to ubuntustudio-installer in Ubuntu. https://bugs.launchpad.net/bugs/2014974 Title: edubuntu-installer and ubuntustudio-installer incorrectly report package as installed when using languages other than English Status in edubuntu-installer package in Ubuntu: Fix Released Status in ubuntustudio-installer package in Ubuntu: Fix Released Bug description: Both edubuntu-installer and ubuntustudio-installer are using the following code to determine if a package is installed: apt-cache policy "${pkg}" | grep Installed | cut -d ':' -f 2 | cut -c 2- This relies on the string "Installed" being returned by apt-cache which is translated depending on the system language. Since neither edubuntu-installer nor ubuntustudio-installer are localized as of now, another route for determining package installation needs to be used. This will likely be doable by using the error code return from dpkg -s "${pkg}" &> /dev/null Additionally, some other idiosyncrasies were used when looking for Depends and Recommends. Now a different algorithm will be used without depending on specific words. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edubuntu-installer/+bug/2014974/+subscriptions -- Mailing list: https://launchpad.net/~ubuntustudio-bugs Post to : ubuntustudio-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntustudio-bugs More help : https://help.launchpad.net/ListHelp