Results 1 to 7 of 7

Thread: Ubuntu Software Centre problem with sources causing internal error

  1. #1
    Join Date
    Jan 2014
    Beans
    3

    Ubuntu Software Centre problem with sources causing internal error

    Hi all,

    I was trying to Uninstall Wine 1.4 so I could then update to the most recent version (to solve a problem I was having with a Windows program I was trying to install) and when I clicked Uninstall Software Centre closed. I tried to open it and it would come up showing it was loading then close again. I have restarted the computer twice but it still has the same problem and it says it can't report the problem because it can't determine the package or source name.

    Following from other similar posts I ran
    apt-get update

    and got the following message


    E: Type ‘ain’ is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list
    E: The list of sources could not be read.

    Now I think this may be my fault because I added a Source in the software list following the how to install wine
    how to from Wine HQ (added ppa:ubuntu-wine/ppa), but then read somewhere in Ubuntu documentation that
    it was better to add software from the Software Centre so I installed the Wine version that came up in the Software
    Centre without deleting this source(though I think I have deleted it and added it when trying to get one of my programs
    to work, so who knows what I may have broken).

    I am using 32 bit Ubuntu 12.04.

    Any help anyone has on how to fix this would be much appreciated,

    Cheers
    Cat

  2. #2
    Join Date
    Jun 2013
    Location
    Somewhere on Earth.
    Beans
    516
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu Software Centre problem with sources causing internal error

    Post the url of:
    Code:
    cat /etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list | pastebinit
    -Jonathan
    Status: CELEBRATING 2016!!! (Offline )

  3. #3
    Join Date
    Aug 2013
    Beans
    4,941

    Re: Ubuntu Software Centre problem with sources causing internal error

    Just remove the ppa entry (entries) and add it again. Sometimes it may get corrupted.

    Code:
    cd /etc/apt/sources.list.d
    sudo rm ubuntu-wine-ppa*
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    P.S. Install synaptic. It is a much better gui for managing your packages then the software centre. It is a lot faster and allows more control. Only thing missing is the catalogue of paid apps.
    Last edited by monkeybrain20122; January 2nd, 2014 at 01:54 AM.

  4. #4
    Join Date
    Jan 2014
    Beans
    3

    Re: Ubuntu Software Centre problem with sources causing internal error

    Thanks, that was quick

    I got
    deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
    ain

  5. #5
    Join Date
    Jan 2014
    Beans
    3

    Re: Ubuntu Software Centre problem with sources causing internal error

    Wooo Software Centre is working again, thanks folks!! I will install Synaptic now too.
    Cheers
    Cat

  6. #6
    Join Date
    Jan 2014
    Beans
    5
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu Software Centre problem with sources causing internal error

    Quote Originally Posted by catrionalfyffe View Post
    Wooo Software Centre is working again, thanks folks!! I will install Synaptic now too.
    Cheers
    Cat
    Isn't synaptic included?

  7. #7
    Join Date
    Aug 2013
    Beans
    4,941

    Re: Ubuntu Software Centre problem with sources causing internal error

    Quote Originally Posted by raphael-platte View Post
    Isn't synaptic included?
    No, not in Ubuntu, It is included in some flavours like xubuntu and lubuntu but Ubuntu uses the Software Centre by default, it is pretty, glossy but slow, resource demanding and not very informative except for(IMO useless) info like user rating.

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
  •