Announcement

Collapse
No announcement yet.

[solved by Snowhog] Duplicated sources?

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

    [solved by Snowhog] Duplicated sources?

    Hi,

    It seems that I have duplicated sources, but after checking few times sources file - it seems to be OK. When I run sudo apt-get update it blows out:

    Code:
    Fetched 985kB in 1s (546kB/s)
    Reading package lists... Done
    W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_binary-amd64_Packages)
    W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/multiverse Translation-en_GB (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB)
    W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-amd64_Packages)
    W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/universe Translation-en_GB (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_universe_i18n_Translation-en%5fGB)
    W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_binary-amd64_Packages)
    W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/multiverse Translation-en_GB (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB)
    W: You may want to run apt-get update to correct these problems
    So I run sudo apt-get update again, and it is usually fine, after one or two repeats... until next system boot. Whole story goes again. What could be wrong ?

    Is there any other place where they can be duplicated?
    Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

    #2
    Re: Duplicated sources?

    Try cleaning out the package cache. Open a console and type:
    Code:
    sudo apt-get autoclean
    sudo apt-get autoremove
    sudo apt-get clean
    Then update the package cache:
    Code:
    sudo apt-get update
    Slava Ukraini! πŸ‡ΊπŸ‡¦
    Windows no longer obstruct my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

    Comment


      #3
      Re: Duplicated sources?

      Thank you for commands - I didn't knew them before. Unfortunately it's not working. I am putting my sources file list, maybe there is something I am missing:

      Code:
      # deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy main restricted
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy main restricted
      
      ## Major bug fix updates produced after the final release of the distribution.
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates main restricted
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates main restricted
      
      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
      ## team, and may not be under a free licence.
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy universe
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy universe
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
      
      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
      ## team, and may not be under a free licence.
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates multiverse
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates multiverse
      
      ## Uncomment the following two lines to add software from the 'backports'
      ## repository.
      # deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hardy-backports main restricted universe multiverse
      # deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hardy-backports main restricted universe multiverse
      
      ## Uncomment the following two lines to add software from Canonical's
      ## 'partner' repository. 
      # deb [url]http://archive.canonical.com/ubuntu[/url] hardy partner
      # deb-src [url]http://archive.canonical.com/ubuntu[/url] hardy partner
      
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security main restricted
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security main restricted
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security universe
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security universe
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security multiverse
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-proposed restricted main multiverse universe
      deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security multiverse
      deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
      deb [url]http://archive.ubuntu.com/ubuntu[/url] hardy universe multiverse
      Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

      Comment


        #4
        Re: Duplicated sources?

        I've identified the duplicate entry below in red.

        # deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted
        deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
        deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted

        ## Major bug fix updates produced after the final release of the distribution.
        deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
        deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted

        ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
        ## team, and may not be under a free licence.
        deb http://archive.ubuntu.com/ubuntu/ hardy universe
        deb-src http://archive.ubuntu.com/ubuntu/ hardy universe
        deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
        deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe

        ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
        ## team, and may not be under a free licence.
        deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
        deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse
        deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
        deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse

        ## Uncomment the following two lines to add software from the 'backports'
        ## repository.
        # deb http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
        # deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

        ## Uncomment the following two lines to add software from Canonical's
        ## 'partner' repository.
        # deb http://archive.canonical.com/ubuntu hardy partner
        # deb-src http://archive.canonical.com/ubuntu hardy partner

        deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
        deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
        deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
        deb-src http://archive.ubuntu.com/ubuntu/ hardy-security universe
        deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
        deb http://archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
        deb-src http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
        deb http://archive.ubuntu.com/ubuntu/ hardy multiverse <<<<< This is the duplicate entry - remove it
        deb http://archive.ubuntu.com/ubuntu hardy universe multiverse
        Slava Ukraini! πŸ‡ΊπŸ‡¦
        Windows no longer obstruct my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

        Comment


          #5
          Re: Duplicated sources?

          Originally posted by Snowhog
          I've identified the duplicate entry below in red.
          I have done it but still no difference
          Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

          Comment


            #6
            Re: Duplicated sources?

            After editing the file and removing the duplicate line, have you run:
            Code:
            sudo apt-get update
            to refresh the package cache?
            Slava Ukraini! πŸ‡ΊπŸ‡¦
            Windows no longer obstruct my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

            Comment


              #7
              Re: Duplicated sources?

              Yeah, I am doing it all the time. No changes.

              In Adept there is Manage Repositories option and Third-Party Software list. Inside there's list of added by me repos. I can put 'X' or 'tick' next to them.

              - What does 'X' do? Selecting or de-selecting package address ?
              Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

              Comment


                #8
                Re: Duplicated sources?

                Putting an 'X' means you want to include that repository.

                Please post your /etc/apt/sources.list again (now that you've edited it) for another review. While you at it, have you added any third-party repositories (medibuntu, ...)? While you are in the console, and in /etc/apt, check the directory sources.list.d for any files. If there are any, identify them in your reply.
                Slava Ukraini! πŸ‡ΊπŸ‡¦
                Windows no longer obstruct my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

                Comment


                  #9
                  Re: Duplicated sources?

                  Originally posted by Snowhog
                  Putting an 'X' means you want to include that repository.

                  Please post your /etc/apt/sources.list again (now that you've edited it) for another review. While you at it, have you added any third-party repositories (medibuntu, ...)? While you are in the console, and in /etc/apt, check the directory sources.list.d for any files. If there are any, identify them in your reply.
                  Code:
                  /etc/apt/ $ls
                  apt.conf.d secring.gpg sources.list sources.list~ sources.list.d sources.list.save trustdb.gpg trusted.gpg trusted.gpg~
                  And view of my updated file:
                  Code:
                  # deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted
                  
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy main restricted
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy main restricted
                  
                  ## Major bug fix updates produced after the final release of the distribution.
                  
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates main restricted
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates main restricted
                  
                  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                  
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy universe
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy universe
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
                  
                  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
                  
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates multiverse
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates multiverse
                  
                  ## Uncomment the following two lines to add software from Canonical's
                  deb [url]http://archive.canonical.com/ubuntu[/url] hardy partner
                  deb-src [url]http://archive.canonical.com/ubuntu[/url] hardy partner
                  
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security main restricted
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security main restricted
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security universe
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security universe
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security multiverse
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-proposed restricted main multiverse universe
                  deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-security multiverse
                  # deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
                  deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy multiverse
                  deb [url]http://ppa.launchpad.net/synce/ubuntu[/url] hardy main
                  Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

                  Comment


                    #10
                    Re: Duplicated sources?

                    I need you to identify any files in the directory below (in red)

                    apt.conf.d secring.gpg sources.list sources.list~ sources.list.d sources.list.save trustdb.gpg trusted.gpg trusted.gpg~
                    I'll look over your sources.list file.

                    UPDATE: Your sources.list file looks okay - no additional duplicates. I'll wait for your reply as to whats in the sources.list.d directory.
                    Slava Ukraini! πŸ‡ΊπŸ‡¦
                    Windows no longer obstruct my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

                    Comment


                      #11
                      Re: Duplicated sources?

                      Originally posted by Snowhog
                      UPDATE: Your sources.list file looks okay - no additional duplicates. I'll wait for your reply as to whats in the sources.list.d directory.
                      In folder sources.list.d/ there is only two files:

                      medibuntu.list
                      medivuntu.list.save

                      output of medibuntu.list:

                      ## Medibuntu - Ubuntu 8.04 LTS "hardy heron"
                      ## Please report any bug on https://bugs.launchpad.net/medibuntu/
                      deb http://packages.medibuntu.org/ hardy free non-free
                      deb-src http://packages.medibuntu.org/ hardy free non-free

                      Those seems to be not duplicated with anything.
                      Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

                      Comment


                        #12
                        Re: Duplicated sources?

                        Okay. So the two lists look okay.

                        Let's do some house cleaning - it won't hurt anything. Open a console and type:
                        Code:
                        sudo apt-get clean
                        sudo apt-get autoclean
                        sudo apt-get autoremove
                        If you get any errors - STOP - and note the error(s) and post them in your reply. Only continue to the next command if the prior completed without error.
                        Slava Ukraini! πŸ‡ΊπŸ‡¦
                        Windows no longer obstruct my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

                        Comment


                          #13
                          Re: Duplicated sources?

                          After all steps you send me there was not much difference, but I had checked with 'X' all sources at 'Manage Repositories' and I am getting now message error about ONLY one duplicated repository. I am wondering where I can dig deeper in this direction ?
                          Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

                          Comment


                            #14
                            Re: Duplicated sources?

                            Rerun apt-get update and copy/paste the resulting errors/warnings into your reply. I think I may have a way to fix the problem.
                            Slava Ukraini! πŸ‡ΊπŸ‡¦
                            Windows no longer obstruct my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

                            Comment


                              #15
                              Re: Duplicated sources?

                              Originally posted by Snowhog
                              Rerun apt-get update and copy/paste the resulting errors/warnings into your reply. I think I may have a way to fix the problem.
                              Sorry for delay Snowhog - I was in and out from hospital for a whole week.
                              Code:
                              Hit [url]http://archive.canonical.com[/url] hardy Release.gpg
                              Ign [url]http://archive.canonical.com[/url] hardy/partner Translation-en_GB
                              Ign [url]http://ppa.launchpad.net[/url] hardy Release.gpg
                              Ign [url]http://ppa.launchpad.net[/url] hardy/main Translation-en_GB
                              Hit [url]http://packages.medibuntu.org[/url] hardy Release.gpg
                              Ign [url]http://packages.medibuntu.org[/url] hardy/free Translation-en_GB
                              Hit [url]http://archive.ubuntu.com[/url] hardy Release.gpg
                              Get: 1 [url]http://archive.ubuntu.com[/url] hardy/main Translation-en_GB [19.6kB]
                              Hit [url]http://archive.canonical.com[/url] hardy Release
                              Get: 2 [url]http://ppa.launchpad.net[/url] hardy Release [27.6kB]
                              Ign [url]http://packages.medibuntu.org[/url] hardy/non-free Translation-en_GB
                              Hit [url]http://packages.medibuntu.org[/url] hardy Release
                              Ign [url]http://ppa.launchpad.net[/url] hardy/main Packages
                              Get: 3 [url]http://archive.ubuntu.com[/url] hardy/restricted Translation-en_GB [1956B]
                              Get: 4 [url]http://archive.ubuntu.com[/url] hardy/universe Translation-en_GB [4368B]
                              Hit [url]http://archive.canonical.com[/url] hardy/partner Packages
                              Get: 5 [url]http://archive.ubuntu.com[/url] hardy/multiverse Translation-en_GB [36.1kB]
                              Hit [url]http://ppa.launchpad.net[/url] hardy/main Packages
                              Hit [url]http://packages.medibuntu.org[/url] hardy/free Packages
                              Hit [url]http://archive.canonical.com[/url] hardy/partner Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates Release.gpg
                              Ign [url]http://archive.ubuntu.com[/url] hardy-updates/main Translation-en_GB
                              Ign [url]http://archive.ubuntu.com[/url] hardy-updates/restricted Translation-en_GB
                              Ign [url]http://archive.ubuntu.com[/url] hardy-updates/universe Translation-en_GB
                              Ign [url]http://archive.ubuntu.com[/url] hardy-updates/multiverse Translation-en_GB
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security Release.gpg
                              Ign [url]http://archive.ubuntu.com[/url] hardy-security/main Translation-en_GB
                              Ign [url]http://archive.ubuntu.com[/url] hardy-security/restricted Translation-en_GB
                              Ign [url]http://archive.ubuntu.com[/url] hardy-security/universe Translation-en_GB
                              Ign [url]http://archive.ubuntu.com[/url] hardy-security/multiverse Translation-en_GB
                              Hit [url]http://packages.medibuntu.org[/url] hardy/non-free Packages
                              Hit [url]http://packages.medibuntu.org[/url] hardy/free Sources
                              Hit [url]http://packages.medibuntu.org[/url] hardy/non-free Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-proposed Release.gpg
                              Get: 6 [url]http://archive.ubuntu.com[/url] hardy-proposed/restricted Translation-en_GB [2093B]
                              Get: 7 [url]http://archive.ubuntu.com[/url] hardy-proposed/main Translation-en_GB [19.4kB]
                              Get: 8 [url]http://archive.ubuntu.com[/url] hardy-proposed/multiverse Translation-en_GB [34.3kB]
                              Ign [url]http://archive.ubuntu.com[/url] hardy-proposed/universe Translation-en_GB
                              Hit [url]http://archive.ubuntu.com[/url] hardy Release
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates Release
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security Release
                              Hit [url]http://archive.ubuntu.com[/url] hardy-proposed Release
                              Hit [url]http://archive.ubuntu.com[/url] hardy/main Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy/restricted Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy/main Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy/restricted Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy/universe Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy/universe Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy/multiverse Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy/multiverse Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/main Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/restricted Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/main Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/restricted Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/universe Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/universe Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/multiverse Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-updates/multiverse Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/main Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/restricted Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/main Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/restricted Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/universe Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/universe Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/multiverse Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-security/multiverse Sources
                              Hit [url]http://archive.ubuntu.com[/url] hardy-proposed/restricted Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-proposed/main Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-proposed/multiverse Packages
                              Hit [url]http://archive.ubuntu.com[/url] hardy-proposed/universe Packages
                              Fetched 118kB in 0s (159kB/s)
                              Reading package lists... Done
                              W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_binary-amd64_Packages)
                              W: Duplicate sources.list entry [url]http://archive.ubuntu.com[/url] hardy/multiverse Translation-en_GB (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_i18n_Translation-en%5fGB)
                              W: You may want to run apt-get update to correct these problems
                              Kubuntu Karmic Koala AMD64bit Acer Aspire 7520

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X