You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: mintbackup doesn't show most installed apps #95
When selecting 'Software selection', I'm only showed three out of all apps installed via mintinstall (this seems to be related to issue #74, which the user closed themselves for some reason). See the screenshot below:
I believe this may have something to do with the fact that mintinstall itself only shows four apps, see below:
So perhaps this is a compound issue of sorts. I've also filed an issue on the mintinstall repo in case that's where it's originating from.
Can confirm having the same issue (LM 22.2 Cinnamon), only manually installed software is shown (also when installed using apt cli)
When searched specifically (e.g. libreoffice) it shows the green tick (so it's recognized as installed), but not in the overview. When it's opened (in mintinstall, to show the details) however, after that, it shows in the overview, too.
I think this might be a caching issue, How much time would it require to fetch all installed packages when showing the "Installed applications"? Or alternatively, add a "Refresh cache" or similar button to the window.
Digging a bit deeper in how mintbackup gets the package list, as I got curious after my comment at the mintinstall issue linuxmint/mintinstall#481 and saw @ZahinTapadar 's pull request, I think my system is missing "/var/log/installer/initial-status.gz" which the used tool assumed to exist and have a list of packages coming from the installer rather than user-choices. (I just upgraded from LMDE 6 to 7.) This looks to be a duplicate of #49 too.
That function, in turn calls a private function a few lines up, which causes the result to be None when the file is missing:
def _get_manually_installed_debs(self):
"""
Generate list of manually installed Debian package.
Requires a package list provided by the installer.
Currently knows only Ubiquity's /var/log/installer/initial-status.gz
"""
installer_log = "/var/log/installer/initial-status.gz"
if not os.path.isfile(installer_log):
return None
# (Rest of function not copied)
If the .gz-file would exist but fail to be parsed, a warning would be printed, but apparently no warning is printed when the file is completely missing. When _get_manually_installed_debs returns None, it also prevents the if-case in get_manually_installed_packages where flatpak packages would have been appended.
There's an askubuntu thread from August 2025 about "/var/log/installer/initial-status.gz" missing for someone, but it doesn't seem to conclude much. In another thread, the answer mentions that "/var/log/installer/initial-status.gz" has been dropped by some installers, and anyway was only containing the packages put there by the installer, as opposed to those later added manually by a user. (The installer I used recently was mintupgrade 2025.11.21.)
In conclusion, the logics in _get_manually_installed_debs seems problematic. Although the docstring does indeed say that it "Requires a package list provided by the installer.", it might be more useful to return the unfiltered list with all packages rather than returning None in case the list of which packages came from installer instead of user-choice is unavailable.
Even better would be to find a more generally working method for finding which apt-packages were manually added. The second askubuntu thread's answer suggests apt list --manual-installed=true or apt list --installed |fgrep -v automatic |cut -d/ -f1 |sort. On my system which has been through many LMDE-version upgrades, the result is quite long and seemingly including at least dependencies I didn't choose, so these may not be perfect either.
Even without improvement of _get_manually_installed_debs, one could improve the logics of get_manually_installed_packages to in case the attempt to get manually added apt-packages fail, not directly return None but still produce the list of manually added flatpak packages!
Activity
nox-a commentedon Dec 19, 2025
Can confirm having the same issue (LM 22.2 Cinnamon), only manually installed software is shown (also when installed using apt cli)
When searched specifically (e.g. libreoffice) it shows the green tick (so it's recognized as installed), but not in the overview. When it's opened (in mintinstall, to show the details) however, after that, it shows in the overview, too.
I think this might be a caching issue, How much time would it require to fetch all installed packages when showing the "Installed applications"? Or alternatively, add a "Refresh cache" or similar button to the window.
Fix parsing of new mintinstall prefixes for issue linuxmint#95
erik-mansson commentedon Apr 18, 2026
Digging a bit deeper in how mintbackup gets the package list, as I got curious after my comment at the mintinstall issue linuxmint/mintinstall#481 and saw @ZahinTapadar 's pull request, I think my system is missing "/var/log/installer/initial-status.gz" which the used tool assumed to exist and have a list of packages coming from the installer rather than user-choices. (I just upgraded from LMDE 6 to 7.) This looks to be a duplicate of #49 too.
ZahinTapadar@008c0d6 adjusts string parsing on the
installed_packages = pkgcache.get_manually_installed_packages(), which seems to be defined in https://github.com/linuxmint/mintcommon/blob/master/usr/lib/python3/dist-packages/mintcommon/installer/cache.py#L340That function, in turn calls a private function a few lines up, which causes the result to be None when the file is missing:
If the .gz-file would exist but fail to be parsed, a warning would be printed, but apparently no warning is printed when the file is completely missing. When
_get_manually_installed_debsreturns None, it also prevents the if-case inget_manually_installed_packageswhere flatpak packages would have been appended.There's an askubuntu thread from August 2025 about "/var/log/installer/initial-status.gz" missing for someone, but it doesn't seem to conclude much. In another thread, the answer mentions that "/var/log/installer/initial-status.gz" has been dropped by some installers, and anyway was only containing the packages put there by the installer, as opposed to those later added manually by a user. (The installer I used recently was mintupgrade 2025.11.21.)
In conclusion, the logics in
_get_manually_installed_debsseems problematic. Although the docstring does indeed say that it "Requires a package list provided by the installer.", it might be more useful to return the unfiltered list with all packages rather than returning None in case the list of which packages came from installer instead of user-choice is unavailable.Even better would be to find a more generally working method for finding which apt-packages were manually added. The second askubuntu thread's answer suggests
apt list --manual-installed=trueorapt list --installed |fgrep -v automatic |cut -d/ -f1 |sort. On my system which has been through many LMDE-version upgrades, the result is quite long and seemingly including at least dependencies I didn't choose, so these may not be perfect either.Even without improvement of
_get_manually_installed_debs, one could improve the logics ofget_manually_installed_packagesto in case the attempt to get manually added apt-packages fail, not directly return None but still produce the list of manually added flatpak packages!