[SOLVED] “Warning: Could not find package list for PPA: ppa:some/ppa” while trying to use ppa-purge in Ubuntu

When trying to purge Gnome3 PPA, I had to cancel the ppa-purge process and when I tried to run the same, I got the following message:

Updating packages lists
PPA to be removed: gnome3-team gnome3
Warning: Could not find package list for PPA: gnome3-team gnome3

I had to add the PPA again to be able to successfully run ppa-purge. For example, if your ppa is ppa:gnome3-team/gnome3, you should run the following:

apt-add-repository ppa:gnome3-team/gnome3

Then you should be able to run ppa-purge again.

Note: In my case, I also got the following error after adding the PPA again:

E: Type ‘ain’ is not known on line 3 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list
E: The list of sources could not be read.
Warning: apt-get update failed for some reason
PPA to be removed: gnome3-team gnome3
Warning: Could not find package list for PPA: gnome3-team gnome3

This seems to be some bug. I had to manually edit /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list and remove the line containing ‘ain’. This should not be required in your case.

If this does not work, you should check if the PPA exists at all and if you have packages installed from that PPA.

[HOWTO] Install Eclipse-PDT (PHP Development Toolkit) in Debian Squeeze using Yogarine PPA Repository

While you can download the latest version of Eclipse PDT from Eclipse Download Page and install it manually, it is great to setup a repository instead so that you can get updates from it automatically via update manager. Eclipse is available in the official Debian repos but PDT is not. It is available in Yogarine Eclipse PPA in Launchpad. For Debian Squeeze, add the following line to Sources.list (or add it via Software Sources or in Third Party Repositories in Synaptic):

deb http://ppa.launchpad.net/yogarine/eclipse/ubuntu lucid main

Then execute the following command as root to add GPG keys:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 676DBA91

Now, reload your software list:

apt-get update

Then, install eclipse-pdt:

apt-get install eclipse-pdt

You may not get the latest version, but the repo is constantly updated and easy to manage than to monitor and re-download the same from Eclipse download page and update.

[HOWTO] Install Chromium v9 in Debian Squeeze Testing using Ubuntu PPA

As I mentioned in my previous post, you can install software from Ubuntu Lucid Lynx PPA to Debian Squeeze Testing. Using the same method, Chromium v9 can be installed in Debian Squeeze using the Ubuntu Chromium Daily PPA.

In Synaptic Package Manager, navigate to Settings>Repositories>Third Party Sources and then add the following:

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main 

Open up the terminal and type in the following as root (type in “su”, press ENTER and enter root password to change to root first or enable sudo in Debian and use sudo instead):

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E5E17B5

[HOWTO] Add Launchpad Ubuntu PPA in Debian Squeeze Testing

I have installed Debian Squeeze Testing replacing Ubuntu 10.10 Maverick Meerkat and miss some applications only available via Launchpad PPAs. Not that they can’t be compiled from their sources or installed by downloading debs, but it would be great if updates were available from update manager like in Ubuntu. So I decided to add some Ubuntu PPAs and they are working fine. So, I decided to share here with the hope that it would be helpful to my readers.

If you want to install a PPA in Squeeze Testing, make sure that the PPA has an entry for Ubuntu 10.04 Lucid Lynx. Not that it will never work with Maverick PPAs, but Lucid is a better choice as Debian Squeeze has package versions more similar to Lucid than Maverick or Natty. Thus, it is a better choice to use Lucid PPAs. Instead of using just the PPA name (for example ppa:tiheum/equinox for Equinox theme PPA) use the deb line for Lucid (eg. deb http://ppa.launchpad.net/tiheum/equinox/ubuntu lucid main ) and add it to /etc/apt/sources.list or Software Sources (or Synaptic>Settings>Repositories>Third Party Source). After adding that, copy the PPA signature (available in “Signing Key” section in PPA page), eg. 1024R/4631BBEA for Equinox Theme PPA. Just use the part after “/” (i.e. 4631BBEA for this example) and use the following command in the terminal to get GPG keys for the PPA:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4631BBEA

Note: If you are not able to sudo, you may either enable it or use su followed by commands instead.
After that, reload the package list and install the package.

This may not work for every program that there is but it works for many. Hope this helps.

[SOLVED] Gtk-Message: Failed to load module “rgba”: librgba.so: cannot open shared object file: No such file or directory

I had enabled the ppa

ppa:erik-b-andersen/rgba-gtk

and upgraded and installed nautilus, murrine-themes , gtk2-module-rgba and gtk2-engines-murrine to enable rgba transparency in my Ubuntu 10.04 Lucid Lynx Alpha. That looks really cool. It was supposed to be coming with Lucid, but was dropped due to bugs. The programs started crashing for me too. I was done with adding exceptions to /etc/profile.d/gtkrgba.sh because almost every new program crashed. So I decided to remove the rgba module altogether. Just removing the repository does not help. So, here are the removal instructions.
Find and removing the PPA Packages and installing original versions:
Open up synaptic. Make sure you have not disabled the rgba repository.
Click on “Origin” in the lower left of Synaptic and in the upper left pane, select LP-PPA-erik-b-andersen-rgba-gtk/lucid.
Now, the packages installed via the repository can be seen in the main window of synaptic.
Select gtk2-engines-murrine and click on Package>Force Version and choose non-ppa version. Repeat the same for libnautilus-extension1, murrine-themes and nautilus.
Mark gtk2-module-rgba for removal.
Apply the changes.
Now, you can safely remove the PPA repository.
Remove the rgba module listing from profiles:
Even after the removal of ppa versions, you will still get a message

More

[HOWTO] Moving Gnote Notes to Tomboy and vice versa

I had moved to Gnote from Tomboy notes in my Ubuntu 10.04 Lucid Lynx Alpha because I wanted to free some space by removing mono (I don’t play gbrainy and I do not have a photo collection in my PC :)).

However, I have been facing crashes with Gnote recently. I updated to latest version of Gnote from the PPA with no success. I get the following error when I try to launch Gnote version 0.7.1-1ppalucid3 from the terminal:

More

[SOLVED] Deluge Launching ERROR: “cPickle.UnpicklingError: could not find MARK”

I just tried to launch deluge and got the following error:

progname=deluge; RGBA=on
Traceback (most recent call last):
  File "/usr/bin/deluge", line 9, in 
    load_entry_point('deluge==1.2.1', 'console_scripts', 'deluge')()
  File "/usr/lib/pymodules/python2.6/deluge/main.py", line 121, in start_ui
    UI(options, args, options.args)
  File "/usr/lib/pymodules/python2.6/deluge/ui/ui.py", line 128, in __init__
    ui = GtkUI(args)
  File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 216, in __init__
    self.torrentdetails = TorrentDetails()
  File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/torrentdetails.py", line 116, in __init__
    state = self.load_state()
  File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/torrentdetails.py", line 432, in load_state
    state = cPickle.load(state_file)
cPickle.UnpicklingError: could not find MARK

Deluge would just crash and would not show up at all.

I tried searching for a solution, but did not find any. I tried upgrading to the ppa version of deluge with no luck. Then I just removed all the .state (not to be mistaken with state directory) files (peers_tab.state, files_tab.state, torrentview.state, tabs.state, dht.state, session.state and any other file containing .state at the end) from /home/MyUserName/.config/deluge and was able to launch deluge again. You should not remove the state directory because you will lose the torrent list if you do.
After that, you will be able to launch deluge. It is a good idea to recheck (Right click on a torrent file and select Force Recheck) all torrent files after you do this.

Hope this helps.

[SOLVED] DSL PPPoE not able to Connect in Ubuntu 9.10 Karmic Koala

I used to connect to PPPoE connections in Kubuntu with knet. Recently, I moved to Ubuntu to find out that Network Manager was unable to connect to DSL. However, it can be achieved using pppoeconf or knet, I wanted to use Network Manager. I figured out that it was a problem with the final release itself when I visited the forums (I had installed Ubuntu Karmic Koala Alpha 4 and then upgraded as new packages came in).

The newer version of Network Manager did not have this problem but it is still not available on the main repos at the time of writing this post. There is a ppa however, which helped me. It contained updated version of the package which is https://launchpad.net/~network-manager/+archive/trunk.

More