Announcement

Collapse
No announcement yet.

update problem

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

    update problem

    I recently installed 7.10 gutsy gibbon from the live cd. During the installation i got a message which said
    "security updates at security.ubuntu.com could not be accessed "
    i opened the /etc/apt/sources.list and uncommented all the lines starting with 'deb' and then i tried to run
    "sudo apt-get update "
    the error message was
    "could not connect to archive.ubuntu.com:80 (1.0.0.0), connection timed out "
    my internet connection is on and i am able to use it(konqueror)

    i have also tried many options that i found in the already existing posts but i am not able to download any updates

    Please help me with these problems as i am new to installing linux

    p.s :I am sorry if this topic has been already discussed (in that case please do post the link for the same)

    #2
    Re: update problem

    Open Adept Manager. Click on Adept | Manage Repositories | Third-Party Software and uncheck or delete the cd-rom entry.
    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


      #3
      Re: update problem

      I have already done that
      The problem is that the update does not happen
      i becomes stationary after 4% (Waiting for headers .... )

      Comment


        #4
        Re: update problem

        You should 'let it run' as the location that the headers are being fetched from could be busy. If you quit the process, you will have some problems, but they can be fixed. So, be patient. Let the process run.
        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


          #5
          Re: update problem

          thanks
          i'll be patient


          i would just like to know if the command
          "sudo apt get-update" does the same as fetch update
          bcoz when i executed that command i got a connection timed out
          (please see my first post in this thread)

          Comment


            #6
            Re: update problem

            sudo apt-get update does the same thing as Fetch Updates from within Adept Manager.

            Open a console and type:
            Code:
            cat /etc/apt/sources.list
            Copy and paste the output for review.
            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


              #7
              Re: update problem


              # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
              # newer versions of the distribution.

              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted
              # Line commented out by installer because it failed to verify:

              ## Major bug fix updates produced after the final release of the
              ## distribution.
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
              # Line commented out by installer because it failed to verify:

              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
              ## team, and may not be under a free licence. Please satisfy yourself as to
              ## your rights to use the software. Also, please note that software in
              ## universe WILL NOT receive any review or updates from the Ubuntu security
              ## team.
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy universe
              # Line commented out by installer because it failed to verify:
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy-updates universe
              # Line commented out by installer because it failed to verify:

              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
              ## team, and may not be under a free licence. Please satisfy yourself as to
              ## your rights to use the software. Also, please note that software in
              ## multiverse WILL NOT receive any review or updates from the Ubuntu
              ## security team.
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy multiverse
              # Line commented out by installer because it failed to verify:
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
              # Line commented out by installer because it failed to verify:

              ## Uncomment the following two lines to add software from the 'backports'
              ## repository.
              ## N.B. software from this repository may not have been tested as
              ## extensively as that contained in the main release, although it includes
              ## newer versions of some applications which may provide useful features.
              ## Also, please note that software in backports WILL NOT receive any review
              ## or updates from the Ubuntu security team.
              deb http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

              ## Uncomment the following two lines to add software from Canonical's
              ## 'partner' repository. This software is not part of Ubuntu, but is
              ## offered by Canonical and the respective vendors as a service to Ubuntu
              ## users.
              deb http://archive.canonical.com/ubuntu gutsy partner
              deb-src http://archive.canonical.com/ubuntu gutsy partner

              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted
              # Line commented out by installer because it failed to verify:
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy-security universe
              # Line commented out by installer because it failed to verify:
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy-security multiverse
              # Line commented out by installer because it failed to verify:
              deb http://archive.ubuntu.com/ubuntu/ gutsy universe multiverse



              All the lines were commented(##)
              i have uncommented the lines starting with deb

              Comment


                #8
                Re: update problem

                Originally posted by hhrs
                All the lines were commented(##)
                i have uncommented the lines starting with deb
                The entire sources.list entries were commented! That's not normal. Where are you operating your PC, at home or at work? Are you running a firewall?
                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


                  #9
                  Re: update problem

                  I am using my pc at home
                  I don't think i have any firewalls

                  Comment


                    #10
                    Re: update problem

                    Okay, let's try another approach (in Linux there is almost always another way to get something done). I'm going to have you generate a new sources.list file. It's easy, and the steps will protect what you already have - we can always undo what you are about to do.

                    First, open a console and type:
                    Code:
                    sudo cp /etc/apt/sources.list /etc/apt/sources.list_BAD
                    This will make a copy of the sources.list file called sources.list_BAD.
                    Then type:
                    Code:
                    kdesu kate /etc/apt/sources.list
                    This will open the sources.list file in the Kate editor 'as root'. Do nothing at this point with the open file.

                    Click on this link: Ubuntu sources.list generator

                    Make the selections from the fist screen and click the Send button. This will take you to screen 2. On that screen, select to use the Ubuntu backports project. You will have three options selected on that screen. Click on the lower Create sources.list button. This will open in your editor, the new sources.list file.

                    Now, click on the window that contains your original sources.list file. Delete the contents. Then go to the new sources.list and copy the contents and then paste it into the other document (the one that is blank). On that window, click File | Save | Quit. You now have the new sources.list file saved to your PC. You can close the other open editor window.

                    Back in the console, type:
                    Code:
                    sudo apt-get update
                    See if you don't get better results.
                    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


                      #11
                      Re: update problem

                      Originally posted by hhrs

                      deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted

                      deb http://archive.canonical.com/ubuntu gutsy partner
                      All along, you are downloading from, either, archive.ubuntu or archive.canonical. This looks very strange. On my installation, the mirror chosen where the closest to me, not the main ones. MAybe you didn't indicate your location properly?

                      Those main mirrors might not provide general access. They're sometimes used only for updating the mirrors. Try to choose a location nearer to you.

                      Comment


                        #12
                        Re: update problem


                        @snowhog

                        I did a clean install again today
                        All the lines were commented again
                        I have generated the new sources list
                        This is the generated one

                        # Automatically generated sources.list
                        # http://www.ubuntu-nl.org/source-o-matic/
                        #
                        # If you get GPG errors with this sources.list, locate the GPG key in this file
                        # and run these commands (where KEY is replaced with that key)
                        #
                        # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
                        # gpg --export --armor KEY | sudo apt-key add -
                        #
                        # If you don't know what to do with this file, read
                        # https://help.ubuntu.com/community/Re...es/CommandLine

                        # Ubuntu supported packages
                        # GPG key: 437D05B5
                        deb http://in.archive.ubuntu.com/ubuntu gutsy main restricted
                        deb http://in.archive.ubuntu.com/ubuntu gutsy-updates main restricted
                        deb http://security.ubuntu.com/ubuntu gutsy-security main restricted

                        # Ubuntu community supported packages
                        # GPG key: 437D05B5
                        deb http://in.archive.ubuntu.com/ubuntu gutsy universe multiverse
                        deb http://in.archive.ubuntu.com/ubuntu gutsy-updates universe multiverse
                        deb http://security.ubuntu.com/ubuntu gutsy-security universe multiverse

                        # Ubuntu backports project
                        # GPG key: 437D05B5
                        deb http://in.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse




                        This is the output that i got on running the update command


                        ganesh@hhrs:~$ sudo apt-get update
                        Err http://in.archive.ubuntu.com gutsy Release.gpg
                        Could not connect to in.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://security.ubuntu.com gutsy-security Release.gpg
                        Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://in.archive.ubuntu.com gutsy/main Translation-en_IN
                        Could not connect to in.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://security.ubuntu.com gutsy-security/main Translation-en_IN
                        Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://in.archive.ubuntu.com gutsy/restricted Translation-en_IN
                        Could not connect to in.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://security.ubuntu.com gutsy-security/restricted Translation-en_IN
                        Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://in.archive.ubuntu.com gutsy/universe Translation-en_IN
                        Could not connect to in.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://security.ubuntu.com gutsy-security/universe Translation-en_IN
                        Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://in.archive.ubuntu.com gutsy/multiverse Translation-en_IN
                        Could not connect to in.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://security.ubuntu.com gutsy-security/multiverse Translation-en_IN
                        Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
                        Err http://in.archive.ubuntu.com gutsy-updates Release.gpg
                        Could not connect to in.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                        0% [Connecting to in.archive.ubuntu.com (1.0.0.0)]


                        Is there anything else that i can do to rectify this

                        I got an older version from my friend(6.06)
                        Shall i go for an upgrade after installing that
                        (i know it has to be done version by version and it is unnecessary but i am not able to find any other option)

                        Comment


                          #13
                          Re: update problem

                          Based on the country identifier in the sources.list you generated, you are in India. Try generating a sources.list, picking another country near your location. See if that works any better.
                          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