1

List All Ubuntu PPAs with Single Command

view story
linux-howto

http://www.ubuntuvibes.com – Ubuntu PPAs are great way to get latest versions of your favorite apps. However, on fresh installation of Ubuntu or when upgrading, you have to re-add these PPAs. There are methods like copying your sources folder to new installation and changing the distribution string in source list. But I found the method below to be most clean method without any errors. To list all PPAs on your current system, run the command: grep -RoPish "ppa.launchpad.net/[^/]+/[^/ ]+" /etc/apt | sort -u | sed -r 's/\.[^/]+\//:/' Just save them to a text file, make a backup and add the PPAs again as req (HowTos)