Announcement

Collapse
No announcement yet.

[solved by Snowhog] Duplicated sources?

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

    #16
    Re: Duplicated sources?

    Sorry to hear that.

    If I were in this situation, this is what I would do. You have to decide if you want to do this. I don't believe it will do any harm.

    Open a console. Type the following commands (best to copy and paste into the console so as to ensure no typos):
    Code:
    sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_binary-amd64_Packages
    sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB
    Assuming you receive no errors (you shouldn't), then type:
    Code:
    sudo apt-get update
    This time, you should not receive any warnings.
    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


      #17
      Re: Duplicated sources?

      Before I will do it - just one question. I realised it all started when I installed medibuntu packages and keyring, etc. to be able to play movies coded for windows and 32bit coded movies. It needs to be something with medibuntu and standard kubuntu packages, but I can't figure it out
      Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

      Comment


        #18
        Re: Duplicated sources?

        I doubt that. There are no medibutnu duplicates in either your sources.list or medibutnu.list files.
        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


          #19
          Re: Duplicated sources?

          Originally posted by Snowhog
          Assuming you receive no errors (you shouldn't), then type:
          You had a feeling. At first both returned errors that none of folders/files exist. I checked folder and all my files have gb.archive* from mirror server. First one went OK, but second one is returning error

          Code:
          $ sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB
          rm: cannot remove `/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB': No such file or directory
          and

          Code:
          sudo rm /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB
          rm: cannot remove `/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB': No such file or directory
          After checking folder it doesn't exist there.
          At the moment everything looks fine.
          Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

          Comment


            #20
            Re: Duplicated sources?

            The shown % in the file name isn't really a percent sign, rather, it represents a space. Copy and paste the following into the console:
            Code:
            sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en\ 5fGB
            sudo rm /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en\ 5fGB
            In the above two commands, the space is 'escaped' using the \ followed by the space.
            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


              #21
              Re: Duplicated sources?

              Originally posted by Snowhog
              Copy and paste the following into the console:
              I don't think that will be necessary;-)

              After few tests it's all OK. No errors.

              Thank you very much for your help & time.

              - How did you come to this conclusion... I mean how did you figure out that THIS repository (that you pointed me to) was duplicated ?
              Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

              Comment


                #22
                Re: Duplicated sources?

                Originally posted by birkopf
                - How did you come to this conclusion... I mean how did you figure out that THIS repository (that you pointed me to) was duplicated ?
                After we eliminated any repository duplicates in the two lists them selves - /etc/apt/sources.list and /etc/apt/sources.d/medibuntu.list - the only thing left was the actual warning of duplicates when you ran sudo apt-get update:
                Reading package lists... Done
                W: Duplicate sources.list entry http://archive.ubuntu.com hardy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_b inary-amd64_Packages)
                W: Duplicate sources.list entry http://archive.ubuntu.com hardy/multiverse Translation-en_GB (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i 18n_Translation-en%5fGB)
                At some point, these two files were written to the specified directory - /var/lib/apt/lists - probably during an earlier update that didn't finish properly. These were causing adept to 'see duplicates' and would not complete as a result.
                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

                Working...
                X