Update Manager - export / import software sources to / from data file

Write suggestions and new ideas in here
More ideas here http://community.linuxmint.com/idea/welcome
Forum rules
  • Only post ideas here that are specifically about the Linux Mint distribution or its websites.
  • So that developers and users from any distribution can discuss ideas in one place, post ideas about improving software to the collaboration website for that software instead.
Post Reply
User avatar
Level 1
Level 1
Posts: 1
Joined: Mon Aug 14, 2017 3:13 pm
Location: Canada

Update Manager - export / import software sources to / from data file

Post by gjdemo »

I would like to see the option in the Update Manager that would allow me to import and export the PPA and Software sources to a data file so I can transfer this information to another machine. All my computers use Linux Mint and if I am doing a fresh install this would help immensely. Thank you.

Last edited by karlchen on Mon Aug 14, 2017 6:19 pm, edited 1 time in total.
Reason: made the title a bit longer and more descriptive, I hope
Gary de Montigny

User avatar
Level 20
Level 20
Posts: 11844
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager

Post by karlchen »

Hello, Gary.

All the software sources list files are pure text files. No need to export them as text files therefore.
You will find them in the folders /etc/apt and /etc/apt/sources.list.d
  • In the folder /etc/apt there will be the file sources.list
    sources.list will usually only hold a comment line.
  • All the relevant sources list files will be found in the folder /etc/apt/sources.list.d
    • The central sources list file on Mint is named official-package-repositories.list
    • All files having the extension .list will be sources list files
    • All files having the double extensions .list.save will be backup copies of sources list files.
You can view the content of each sources list file with your favourite editor like xed, gedit, leafpad or kate.

You can find out the name of each sources list file and the content of each sources list file very quickly by executing the command inxi -r in a terminal window.

One note on simply copying over the sources list files from one machine to the next machine:
While this is possible, it is only half of the truth, because each repository always requires a signing key as well, but copying over the sources list files will not bring along the signing keys. So you would end up with a lot of warnings that the software repositories could not be verified.

Linux Mint 19.2 64-bit Cinnamon, Total Commander 9.22a 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

Post Reply

Return to “Suggestions & New Ideas”