Results 1 to 3 of 3

Thread: can't use software sources, add-apt etc

  1. #1
    Join Date
    Feb 2008
    Location
    UK
    Beans
    680
    Distro
    Ubuntu Development Release

    can't use software sources, add-apt etc

    NO idea how this broke, but i can't open software properties or use add-apt in a terminal.

    I get the following: -

    raceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 28, in <module>
    sp = SoftwareProperties(options)
    File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 90, in __init__
    self.reload_sourceslist()
    File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 536, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
    File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template

    Is there an easy way to fix this? Should i roll back to a previous version of something?
    OMG! Ubuntu!
    Everything Ubuntu. Daily.

  2. #2
    Join Date
    Dec 2009
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: can't use software sources, add-apt etc

    What's add-apt? The only command I've used that's close to that is apt-get. But then I've only been using Ubuntu for about 6 months now.

  3. #3
    Join Date
    Feb 2008
    Location
    UK
    Beans
    680
    Distro
    Ubuntu Development Release

    Re: can't use software sources, add-apt etc

    Quote Originally Posted by The Zezima of Ųbuntu View Post
    What's add-apt? The only command I've used that's close to that is apt-get. But then I've only been using Ubuntu for about 6 months now.
    sudo add-apt-repository ppa:blahblah/whatever

    I've tried the fix mentioned @ https://bugs.launchpad.net/ubuntu/+s...es/+bug/364092 but still no hable.

    Edit: I've since tried a ton of stuff from other bug reports. I don't know what to do... I really don't want to have reinstall my entire operating system in order to be able to manage software sources...
    Last edited by joey-elijah; December 4th, 2009 at 06:32 PM.
    OMG! Ubuntu!
    Everything Ubuntu. Daily.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •