Announcement

Collapse
No announcement yet.

Synaptic - can't enable partner repo

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Synaptic - can't enable partner repo

    I have a problem with synaptic, when I try to enable the partner repo ( http://archive.canonical/ubuntu raring partner r ) by clicking its check box and then clicking the OK box I get the following error message
    Code:
    E: Malformed line 50 in source list /etc/apt/sources.list ([option] too short)
    The relevant line -50- in /etc/apt/sources.list reads
    Code:
    # deb http://archive.canonical.com/ubuntu/ raring partner
    does anyone know whats wrong please.

    #2
    The trailing /

    Try

    Code:
    deb http://archive.canonical.com/ubuntu raring partner

    Please Read Me

    Comment


      #3
      Thanks for that. Unfortunately still getting the same error message.

      Comment


        #4
        I don't know what else to check. It looks exactly the same in my list.

        I don't use Synaptic though.

        You might try purging the lists and re-generating:


        Code:
        sudo rm -vf /var/lib/apt/lists/* && sudo apt-get clean  && sudo apt-get update

        Please Read Me

        Comment


          #5
          Close Synaptic. Open a console and type:
          Code:
          sudo apt-get update
          Do you still get the error?
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            No luck still got the same error and the trailing slash is still there. I also tried editing out in /etc/apt/sources.list but it just reappeared the next time I looked. But I have now found that the partners repository is enabled in Muon package manager although not in synaptic I really don't understand this.

            Comment


              #7
              Let's take a look at your file.
              Code:
              grep -v [#] /etc/apt/sources.list
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Here it is:-
                Code:
                deb-src http://gb.archive.ubuntu.com/ubuntu/ raring universe
                deb http://gb.archive.ubuntu.com/ubuntu/ raring-updates universe
                deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-updates universe
                
                deb http://gb.archive.ubuntu.com/ubuntu/ raring multiverse
                deb-src http://gb.archive.ubuntu.com/ubuntu/ raring multiverse
                deb http://gb.archive.ubuntu.com/ubuntu/ raring-updates multiverse
                deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-updates multiverse
                
                deb http://gb.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
                deb-src http://gb.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
                
                deb http://security.ubuntu.com/ubuntu/ raring-security main restricted
                deb-src http://security.ubuntu.com/ubuntu/ raring-security main restricted
                deb http://security.ubuntu.com/ubuntu/ raring-security universe
                deb-src http://security.ubuntu.com/ubuntu/ raring-security universe
                deb http://security.ubuntu.com/ubuntu/ raring-security multiverse
                deb-src http://security.ubuntu.com/ubuntu/ raring-security multiverse
                
                deb-src http://archive.canonical.com/ubuntu/ raring partner
                
                deb http://extras.ubuntu.com/ubuntu/ raring main
                deb-src http://extras.ubuntu.com/ubuntu/ raring main
                deb http://archive.canonical.com/ubuntu/ raring partner
                Another odd thing is that the partner SRC is enabled but the binaries are not.

                Comment


                  #9
                  Originally posted by dethadol View Post
                  Another odd thing is that the partner SRC is enabled but the binaries are not.
                  The command I had you run shows all enabled entries in sources.list. That you are saying the partner binary (deb http://) isn't enabled says something about Synaptic itself (?) or possibly a caching issue, as the output clearly shows that the deb entries are enabled. Have you rebooted yet?
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Right I rebboted - mow synaptics repositories list is showing the partner repository twice - once enableed and once greyed out unenabled. Its looking like an issue with synaptic.

                    Edit I've reinstalled synaptic and the problem has gone away.

                    Thanks for the help
                    Last edited by dethadol; May 12, 2013, 03:41 PM.

                    Comment

                    Working...
                    X