Announcement

Collapse
No announcement yet.

sudo apt-get update does not work

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

    sudo apt-get update does not work

    I just finished installing Jaunty Jackalope and anytime i type apt-get update i get this message " Type 'clear' is not known on line 1 in source list /etc/apt/sources.list.d/pidgin-ppa.list".
    What does this mean. Am new and i need some help.

    #2
    Re: sudo apt-get update does not work

    I suspect that you've got a typographical error in the file pidgin-ppa.list in the directory /etc/apt/sources.list.d

    If you post the file here, someone will take a look at it and suggest a correction.

    Comment


      #3
      Re: sudo apt-get update does not work

      I have the same problem I am a windows user and lost as to how to find files or search. I did find the root etc/apt/sources.list.d and it is empty. I have found the line that is causing me problems in the root/ect/apt sources list.save. But when I go to sources list.d it appears to be a empty file. I go to sources list and can not find the line to delete. I can not find the pidgin-ppa.list file. I really like this software and want to learn it so can leave windows completely. I sure hope someone can help me.

      Comment


        #4
        Re: sudo apt-get update does not work

        PLEASE, PLEASE will someone post the sources.list.save file with the offending line, or at least a small excerpt showing the evil line and at least a line or two surrounding it. I DON'T have this problem, so I don't know what the $#@= you folks are writing about, or how it came about!

        @RBP: The directory /etc/apt/sources.list.d/ will be empty until someone or some program puts a file in it. Normally, it is used for special "unofficial" repositories like medibuntu.(which you REALLY SHOULD add).

        Comment


          #5
          Re: sudo apt-get update does not work

          One more time I will try and rename and send one more time as I keep getting can not send this type of file.
          Attached Files

          Comment


            #6
            Re: sudo apt-get update does not work

            Originally posted by RBP
            One more time I will try and rename and send one more time as I keep getting can not send this type of file.
            Change the last line:
            Code:
            http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu
            to
            Code:
            deb [url]http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/[/url] jaunty main
            You can edit sources.list file with Alt+F2 and running:
            Code:
            kdesudo kate /etc/apt/sources.list

            Comment


              #7
              Re: sudo apt-get update does not work

              Why would anyone care what is in sources.list.save?

              As I understand it /etc/apt/sources.list is read to find sources and any file in /etc/apt/sources.list.d/ is read to find sources. Something (maybe kpackagekit?) must create sources.list.save as a backup but it is not used by apt in determining which sources to use.

              So if nothing is in /etc/apt/sources.list.d the problem must be in /etc/apt/sources.list, which has been strangely absent from this thread.

              Comment


                #8
                Re: sudo apt-get update does not work

                Originally posted by cappon
                I just finished installing Jaunty Jackalope
                maybe the sources are disabled, in the latest *buntu versions i always enable the repos after installing by synaptic/kpackagekit/adept

                could be caused by an "empty" list

                Comment


                  #9
                  Re: sudo apt-get update does not work

                  Thank you that solved my problem.

                  Comment


                    #10
                    Re: sudo apt-get update does not work

                    Just to clarify which that, that "that" referred to: the correct solution to RBP's problem was Kubicle's suggestion to modify the lineso that it is a properly formed package source entry.

                    Comment


                      #11
                      Re: sudo apt-get update does not work

                      Sorry for not being specific enough. This is all new for me as I have never posted on a forum before. You are correct it was Kubicle's suggestion to modify the line that did the trick. I am really struggling with the file structure. The next thing I want to do is install the medibuntu as recommended by askrieger. I have been reading and studying but right now it is still confusing for me. I am also showing 4 blocked updates in the software KDE control module. It also says 8 are available but all it shows are 4 blocked. The 4 blocked are listed below. I will study this list of changes it is referring to some more till my brain explodes.

                      Thanks again.

                      Type:
                      Blocked update
                      New version:
                      linux-headers-generic-2.6.28.11.15
                      Updates:
                      linux-headers-generic-2.6.28.11.15
                      Repository:

                      Changes:
                      The list of changes is not available


                      Type:
                      Blocked update
                      New version:
                      linux-restricted-modules-generic-2.6.28.11.15
                      Updates:
                      linux-restricted-modules-generic-2.6.28.11.15
                      Repository:

                      Changes:
                      The list of changes is not available


                      Type:
                      Blocked update
                      New version:
                      linux-generic-2.6.28.11.15
                      Updates:
                      linux-generic-2.6.28.11.15
                      Repository:

                      Changes:
                      The list of changes is not available


                      Type:
                      Blocked update
                      New version:
                      linux-image-generic-2.6.28.11.15
                      Updates:
                      linux-image-generic-2.6.28.11.15
                      Repository:

                      Changes:
                      The list of changes is not available

                      Comment


                        #12
                        Re: sudo apt-get update does not work

                        You really should start a new topic for a new problem. That said, a forum search shows that a number of people have had this problem, recently. The easiest solution seems to be
                        Code:
                        apt-get update
                        apt-get dist-upgrade

                        Comment

                        Working...
                        X