teejee2008 / aptik

Command-line tool for migrating system settings and data for distributions based on Debian, Arch and Fedora. Can backup and restore software repositories, packages, icons, themes, fonts, users, groups, home data, dconf settings, fstab/crypttab entries, and cron tasks.
GNU Lesser General Public License v3.0
141 stars 26 forks source link

Aptik restores out of date packages? Maybe. #21

Closed MarkP2015 closed 5 years ago

MarkP2015 commented 6 years ago

Yesterday, I did a clean install of Ubuntu 16.04 to bare silicon. I did a stock install, asking for the proprietary packages to be installed at install-time. Then I ran the Aptik restore. Then I ran the deja-dup restore on my /home data. The Aptik backup, from which the restore was created was made about 2 months ago.

Today, I wanted to play an audio .amr. Ubuntu's video player came onscreen, ran the plugin finder and reported that the needed plugin has a red exclamation point next to the candidate to be installed button. (small round button). I quit that app, ran apt-get update then install ubuntu-restricted-extras. That returned a message about unmet dependencies for the gstream packages. When I ran apt-get install --fix-broken, the terminal shows nothing done.

Has aptik overwritten new packages? Does it check for newer packages? Can Aptik selectively uninstall the gstreamer (restricted-extras) or how do I resolve this?

teejee2008 commented 6 years ago

Packages are restored by installing missing packages using the system package manager. Aptik simply executes "apt-get install \<list-of-packages>" and apt-get will download the latest packages from Ubuntu repositories.

You will run into conflicts sometimes while restoring packages. This usually happens if you have a large number of PPAs added to the system. Packages in PPAs can conflict with packages in Ubuntu's official repositories.

You need to find the PPA that caused the problem with gstreamer. Removing the PPA using "ppa-purge" should reinstall the proper gstreamer version from Ubuntu repositories.