Full email here: http://paste.ubuntu.com/112078/Your Launchpad PPA: three important changes
--------------------------------------------
We have three important items of news regarding your Launchpad
Personal Package Archive(s):
* your PPA now has its own key and packages are now signed
* your PPA URLs and upload paths are going to change
* we are going to start removing deleted/superseded packages
from our servers.
These changes affect PPAs owned both by individuals and teams.
I made a perl script that:
- Can detect and fix any launchpad PPA link from apt .list files
- Backs up the original source list (e.g. /etc/apt/sources.list as
/etc/apt/sources.list.backup)
- Imports GPG keys for the links detected apt .list files
Requirements:
- Administrative privileges
- Perl
- Internet connection
- HTML::Parser IO::Socket::SSL
How to use it:Code:sudo apt-get install libhtml-parser-perl libio-socket-ssl-perl
Fallback plan:Code:wget http://savvas.radevic.com/launchpad/launchpad-ppa-fix.tar.gz -O launchpad-ppa-fix.tar.gz tar xzvf launchpad-ppa-fix.tar.gz perl launchpad-ppa-fix.pl sudo apt-get update rm launchpad-ppa-fix.tar.gz launchpad-ppa-fix.pl
If anything goes wrong, I guess the only important thing changed are the .list files.
The script creates a backup for each .list file, for example /etc/apt/sources.list.d/test.list
is backed up as /etc/apt/sources.list.d/test.list.backup
You can see the output and restore whichever file required.
Code
bazaar: bzr branch lp:~medigeek/+junk/launchpad-ppa-fix
Updates:
-# UPDATES:
# 1.6:
# * Added support for new format in edge.launchpad.net server.
# * No longer adding $key to your username's gpg (using apt-key adv)
# 1.5:
# * Added support when 2+ PPAs exist from the same user/team.
# 1.4:
# * Fixed wrong check between @lpusers and $ENV{'http_proxy'}
# 1.3:
# * Enlists errors (contacting the Launchpad site)
# * Adds suggestions for proxy if errors found
# * Using glob("$sourceparts/*.list") instead of regex \.list$ check
# * Using LWP::UserAgent instead of LWP::Simple
# * Using environment *_proxy fields
# 1.2:
# * Added md5sum check for sources.list
# * Added support for /etc/apt/sources.list.d/*.list
# 1.1:
# * Added support for key format in edge.launchpad.net server.
# * Needs IO::Socket::SSL
Bookmarks