I also use the PPA for Wine in Wheezy. When I added the PPA, I did it manually, but I was curious to see if it could be automated.

In /usr/lib/python2.6/dist-packages/softwareproperties/ppa.py

change:

sourceslistd = apt_pkg.Config.find_dir("Dir::Etc::sourceparts")

to this:

sourceslistd = apt_pkg.config.find_dir("Dir::Etc::sourceparts")

(Config should be lowercase)

Now, when you run apt-add-repository ppa:ubuntu-wine/ppa, it properly adds the signing key, and creates a new file called /etc/apt/sources.list.d/ubuntu-wine-ppa-wheezy.list, the contents of which are:

deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu wheezy main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu wheezy main

It should be obvious that there aren't any "wheezy" releases on Launchpad, so you'll have to change that to something more appropriate, such as lucid for Squeeze systems, or maverick or natty for Wheezy or Sid systems.

Hope this helps!
-- Kevin




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to