![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||
|
Fresh Brewed Ubuntu
![]() Join Date: Oct 2006
Location: Belgrade, Serbia
Beans: 1,321
Ubuntu 9.04 Jaunty Jackalope
|
Update your Launchpad PPA repositories and apt keys
Quote:
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 Code:
sudo apt-get install libhtml-parser-perl libio-socket-ssl-perl 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: Quote:
__________________
Blog Linux user number: 433157 - Member of Cypriot, Serbian, Greek LoCos Brainstorm: Official end-of-life dates list, Kernel boot parameter to disable modules, End-of-Life? Update manager should show EoL status and provide more info Last edited by forger; June 25th, 2009 at 01:48 AM.. Reason: Version 1.6 |
||
|
|
|
|
|
#2 |
|
Barrel of Ubuntu
![]() Join Date: Apr 2006
Location: Ohio, USA
Beans: 2,157
Ubuntu Development Release
|
Re: Update your Launchpad PPA repositories and apt keys
I've moved this to General Help from Tutorials & Tips. My reasoning is that this is really just a script that does everything for you. Scripts updating repositories especially are generally discouraged, because if it fails then the user is left with an unusable system save for the backup list.
You are free to resubmit your tutorial, but please make sure that it details how a user can update their sources and add GPG keys, don't just do it for them with a script.
__________________
Previously known as jacobmp92 ◈ Site ║ ⬢ Launchpad ║ µ Identi.ca ║ µ Twitter ║ ☃ Unicodeism Hey! Help test Mound Data Manager! |
|
|
|
|
|
#3 | ||
|
Fresh Brewed Ubuntu
![]() Join Date: Oct 2006
Location: Belgrade, Serbia
Beans: 1,321
Ubuntu 9.04 Jaunty Jackalope
|
Re: Update your Launchpad PPA repositories and apt keys
Quote:
Quote:
http://news.launchpad.net/ppa/adding...-key-to-ubuntu
__________________
Blog Linux user number: 433157 - Member of Cypriot, Serbian, Greek LoCos Brainstorm: Official end-of-life dates list, Kernel boot parameter to disable modules, End-of-Life? Update manager should show EoL status and provide more info |
||
|
|
|
|
|
#4 |
|
Fresh Brewed Ubuntu
![]() Join Date: Oct 2006
Location: Belgrade, Serbia
Beans: 1,321
Ubuntu 9.04 Jaunty Jackalope
|
Re: Update your Launchpad PPA repositories and apt keys
I've added support for /etc/apt/sources.list.d/*.list
__________________
Blog Linux user number: 433157 - Member of Cypriot, Serbian, Greek LoCos Brainstorm: Official end-of-life dates list, Kernel boot parameter to disable modules, End-of-Life? Update manager should show EoL status and provide more info |
|
|
|
|
|
#5 |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Sep 2006
Beans: 3,173
Ubuntu Karmic Koala (testing)
|
Re: Update your Launchpad PPA repositories and apt keys
Helped me a lot! Works like a charm thanks
|
|
|
|
|
|
#6 |
|
Fresh Brewed Ubuntu
![]() Join Date: Oct 2006
Location: Belgrade, Serbia
Beans: 1,321
Ubuntu 9.04 Jaunty Jackalope
|
Re: Update your Launchpad PPA repositories and apt keys
Thanks for the comment!
I've added support for http_proxy environment fields, should be able to handle requests behind proxy servers.
__________________
Blog Linux user number: 433157 - Member of Cypriot, Serbian, Greek LoCos Brainstorm: Official end-of-life dates list, Kernel boot parameter to disable modules, End-of-Life? Update manager should show EoL status and provide more info |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2008
Beans: 6
Ubuntu Karmic Koala (testing)
|
Re: Update your Launchpad PPA repositories and apt keys
Script and instructions worked great! Thanks.
|
|
|
|
|
|
#8 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2006
Location: Marion, Ohio
Beans: 186
Ubuntu 9.04 Jaunty Jackalope
|
Thank you! Worked. Nice job!
|
|
|
|
|
|
#9 |
|
Gee! These Aren't Roasted!
![]() Join Date: Mar 2007
Location: Warminster, Wilts, UK
Beans: 209
Ubuntu 9.04 Jaunty Jackalope
|
Re: Update your Launchpad PPA repositories and apt keys
Thank yoU! I have been trting to work out to fix my ppa keys issues for ages, with so many repos to update, your script really reall helped.
Thanks.
__________________
I'm not flat, the band is sharp - Frank Sinatra |
|
|
|
|
|
#10 |
|
Gee! These Aren't Roasted!
![]() |
Thanks a lot Forger, worked a treat many thanks again.
__________________
IBM Thinkpad T23 Laptop 1.13 Mhz, 80 Gig Hdd, 1 Gig RAM Jaunty 9.04 Compaq desktop with Duron 750 Geforce FX5200 Graphics Jaunty 9.04 Dell GX270 with 2.6 Ghz P4, 1 Gig Ram, Geforce 4 MX 420 Graphics, Jaunty 9.04 |
|
|
|
| Bookmarks |
| Tags |
| error, gpg, launchpad, ppa, signatures |
| Thread Tools | |
| Display Modes | |
|
|