linuxmint/mintbackup

Not backing up apps installed via apt install

Closed this issue · 0 comments

On LM uma live-session, I installed a few softwares via apt install. When I tried to backup those packages using mintbackup, I got an empty list saved in ~/Documents/Backups and the following error on terminal:

Installer: User pkgcache is most recent, using it.
Installer: Error loading pkginfo cache: Expecting property name enclosed in double quotes: line 88930 column 13 (char 3305894)
/usr/lib/linuxmint/mintbackup/mintbackup.py:697: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  settings = Gio.Settings("com.linuxmint.install")
Reading package lists... Done
Building dependency tree       
Reading state information... Done
backup_pkg_load_from_mintinstall took 824.129 ms

Steps to reproduce:

  1. Install any app via apt install; for example, sudo apt install vlc
  2. Run mintbackup from terminal and select Backup packages option.

NB:

  1. The same error occurs when I added the LM repo to Ubuntu Mate and installed mintbackup as well as in LM 20.1

  2. The restore process works flawlessly.