Powered By

Powered by Blogger

Kamis, 31 Maret 2011

Find Out If When Your Favourite PPAs Are Updated For Ubuntu 11.04 With This Script

Will you upgrade to Ubuntu 11.04 soon and want to know if your favourite PPAs will be updated for Natty? David Callé has set up a script (comes with a GUI thanks to Zenity) that automatically checks all your current PPA repositories and lets you know the supported Ubuntu versions for each. Here's a screenshot with this Zenity script in action:

Ubuntu repositories check

Usually, when you add a PPA that's not supported on Ubuntu 11.04 yet, you get a "404" error when running "sudo apt-get update" but that doesn't tell you which PPA caused the error so using this tool, you'll know exactly which PPA repositories work and which don't.


Using this script is as easy as it gets: just run it and it will scan all your PPA repositories and displays a "yes" or "no" for each Ubuntu version next to each PPA. Yes obviously means that PPA supports that Ubuntu version. The "status" column on the left shows if the PPA still exists or not (if the PPA page can be accessed).

You can get it via BZR (bzr get lp:~davidc3/+junk/repostory) or use the following command if you don't want to install BZR:

cd && mkdir checklp && cd checklp
wget http://bazaar.launchpad.net/~davidc3/+junk/repostory/download/head:/repostory-20110119093413-fsj5x2kgbf3y5mxq-2/repostory

Then install the dependencies and run it:
sudo apt-get install zenity curl
cd && cd checklp
chmod +x repostory
./repostory


And speaking of PPAs, check out our tool to search for packages, list packages in your PPAs, add/remove/purge PPAs and more: Y PPA Manager.

Tidak ada komentar:

Posting Komentar