Announcement

Collapse
No announcement yet.

Updates not working

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

    Updates not working



    ## '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://security.ubuntu.com/ubuntu/ gutsy-security main restricted
    # Line commented out by installer because it failed to verify:
    deb-src http://security.ubuntu.com/ubuntu/ gutsy-security main restricted
    # Line commented out by installer because it failed to verify:
    deb http://security.ubuntu.com/ubuntu/ gutsy-security universe
    # Line commented out by installer because it failed to verify:
    deb-src http://security.ubuntu.com/ubuntu/ gutsy-security universe
    # Line commented out by installer because it failed to verify:
    deb http://security.ubuntu.com/ubuntu/ gutsy-security multiverse
    # Line commented out by installer because it failed to verify:
    deb-src http://security.ubuntu.com/ubuntu/ gutsy-security multiverse



    Here is what I get from synaptic package manager and from adept on a good day it freezes and on a bad day it tells me something about not being able to commit what on earth is up and how do i fix whatever is wrong with my system it wont let me update

    #2
    Re: Updates not working

    Go to http://www.ubuntu-nl.org/source-o-matic/

    Answer the questions and copy and paste the result to your sources list
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: Updates not working

      Try the usual commands for apt problems:
      Code:
      sudo apt-get update
      sudo apt-get install
      sudo dpkg --configure -a
      For external use only.

      Comment


        #4
        Re: Updates not working

        Originally posted by arochester
        Go to http://www.ubuntu-nl.org/source-o-matic/

        Answer the questions and copy and paste the result to your sources list
        # 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://us.archive.ubuntu.com/ubuntu gutsy main restricted
        deb http://us.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://us.archive.ubuntu.com/ubuntu gutsy universe multiverse
        deb http://us.archive.ubuntu.com/ubuntu gutsy-updates universe multiverse
        deb http://security.ubuntu.com/ubuntu gutsy-security universe multiverse
        ************************************************** ***

        this is the code it says I should use but i am not exactly sure how to put it in place and i really dont want to screw it up can someone help

        Comment


          #5
          Re: Updates not working

          You are fine. The generated sources.list that http://www.ubuntu-nl.org/source-o-matic/ generates are good.

          Open a console shell and copy/paste the following:
          Code:
          sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
          If you have not already saved the generated sources.list file in Kate, then select File | Save as and change the file name to sources.list and save it to /etc/apt

          From the console shell copy/paste the following:
          Code:
          sudo chown root:root /etc/apt/sources.list
          Then in the console shell copy/paste the following:
          Code:
          sudo apt-get update
          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
            Re: Updates not working

            Originally posted by Snowhog
            You are fine. The generated sources.list that http://www.ubuntu-nl.org/source-o-matic/ generates are good.

            Open a console shell and copy/paste the following:
            Code:
            sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
            If you have not already saved the generated sources.list file in Kate, then select File | Save as and change the file name to sources.list and save it to /etc/apt

            From the console shell copy/paste the following:
            Code:
            sudo chown root:root /etc/apt/sources.list
            Then in the console shell copy/paste the following:
            Code:
            sudo apt-get update
            fnx@FNXII:~$ sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
            fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
            chown: cannot access `/etc/apt/sources.list': No such file or directory
            fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
            chown: cannot access `/etc/apt/sources.list': No such file or directory
            fnx@FNXII:~$

            Comment


              #7
              Re: Updates not working

              Originally posted by Pyranima
              Step 1. (You've already done this)
              Open a console shell and copy/paste the following:
              Code:
              sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
              Step 2. (You HAVE NOT done this one)
              If you have not already saved the generated sources.list file in Kate, then select File | Save as and change the file name to sources.list and save it to /etc/apt

              Step 3.
              From the console shell copy/paste the following:
              Code:
              sudo chown root:root /etc/apt/sources.list
              Step 4.
              Then in the console shell copy/paste the following:
              Code:
              sudo apt-get update
              fnx@FNXII:~$ sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
              fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
              chown: cannot access `/etc/apt/sources.list': No such file or directory
              fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
              chown: cannot access `/etc/apt/sources.list': No such file or directory
              fnx@FNXII:~$
              [/quote]
              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
                Re: Updates not working

                Snowhog's actual message is kind of hidden in the quote, so I'll just repeat it here:
                Originally posted by Snowhog
                Step 2. (You HAVE NOT done this one)
                If you have not already saved the generated sources.list file in Kate, then select File | Save as and change the file name to sources.list and save it to /etc/apt
                Or, just open Kate, paste the output from the Source-O-Matic, save it as "/etc/apt/sources.list", and move on to steps three and four.
                For external use only.

                Comment


                  #9
                  Re: Updates not working

                  Originally posted by Snowhog
                  Originally posted by Pyranima
                  Step 1. (You've already done this)
                  Open a console shell and copy/paste the following:
                  Code:
                  sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
                  Step 2. (You HAVE NOT done this one)
                  If you have not already saved the generated sources.list file in Kate, then select File | Save as and change the file name to sources.list and save it to /etc/apt

                  Step 3.
                  From the console shell copy/paste the following:
                  Code:
                  sudo chown root:root /etc/apt/sources.list
                  Step 4.
                  Then in the console shell copy/paste the following:
                  Code:
                  sudo apt-get update
                  fnx@FNXII:~$ sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD
                  fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
                  chown: cannot access `/etc/apt/sources.list': No such file or directory
                  fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
                  chown: cannot access `/etc/apt/sources.list': No such file or directory
                  fnx@FNXII:~$
                  [/quote]


                  It says to me "No soup for you"

                  fnx@FNXII:~$ sudo kate /etc/apt/sources.list
                  Error: "/var/tmp/kdecache-fnx" is owned by uid 1000 instead of uid 0.
                  Error: "/tmp/kde-fnx" is owned by uid 1000 instead of uid 0.
                  Error: "/tmp/ksocket-fnx" is owned by uid 1000 instead of uid 0.
                  fnx@FNXII:~$ sudo chown root:root /etc/apt/sources.list
                  fnx@FNXII:~$ sudo apt-get update
                  Get:1 http://us.archive.ubuntu.com gutsy Release.gpg [191B]
                  Get:2 http://security.ubuntu.com gutsy-security Release.gpg [191B]
                  Ign http://us.archive.ubuntu.com gutsy/main Translation-en_US
                  Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
                  Err http://security.ubuntu.com gutsy-security/restricted Translation-en_US
                  Error reading from server - read (104 Connection reset by peer)
                  Ign http://us.archive.ubuntu.com gutsy/restricted Translation-en_US
                  Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
                  Err http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
                  Error reading from server - read (104 Connection reset by peer)
                  Ign http://us.archive.ubuntu.com gutsy/universe Translation-en_US
                  Ign http://us.archive.ubuntu.com gutsy/multiverse Translation-en_US
                  Err http://us.archive.ubuntu.com gutsy-updates Release.gpg
                  Error reading from server - read (104 Connection reset by peer) [IP: 91.189.88.45 80]
                  Ign http://us.archive.ubuntu.com gutsy-updates/main Translation-en_US
                  Err http://us.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
                  Error reading from server - read (104 Connection reset by peer) [IP: 91.189.88.45 80]
                  Get:3 http://security.ubuntu.com gutsy-security Release [51.2kB]
                  Ign http://security.ubuntu.com gutsy-security Release
                  Ign http://us.archive.ubuntu.com gutsy-updates/universe Translation-en_US
                  Err http://us.archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
                  Error reading from server - read (104 Connection reset by peer) [IP: 91.189.88.45 80]
                  Get:4 http://us.archive.ubuntu.com gutsy Release [65.9kB]
                  Ign http://us.archive.ubuntu.com gutsy Release
                  Get:5 http://security.ubuntu.com gutsy-security/main Packages [24.2kB]
                  Get:6 http://us.archive.ubuntu.com gutsy-updates Release [58.5kB]
                  Get:7 http://security.ubuntu.com gutsy-security/restricted Packages [14B]
                  Get:8 http://security.ubuntu.com gutsy-security/universe Packages [16.2kB]
                  Get:9 http://security.ubuntu.com gutsy-security/universe Packages [16.2kB]
                  Get:10 http://security.ubuntu.com gutsy-security/universe Packages [16.2kB]
                  Get:11 http://security.ubuntu.com gutsy-security/universe Packages [16.2kB]
                  Get:12 http://security.ubuntu.com gutsy-security/multiverse Packages [2903B]
                  Get:13 http://us.archive.ubuntu.com gutsy/main Packages [1075kB]
                  Get:14 http://us.archive.ubuntu.com gutsy/restricted Packages [7664B]
                  Get:15 http://us.archive.ubuntu.com gutsy/universe Packages [4065kB]
                  Get:16 http://us.archive.ubuntu.com gutsy/multiverse Packages [158kB]
                  Get:17 http://us.archive.ubuntu.com gutsy/multiverse Packages [158kB]
                  Get:18 http://us.archive.ubuntu.com gutsy-updates/main Packages [49.4kB]
                  Get:19 http://us.archive.ubuntu.com gutsy-updates/main Packages [49.4kB]
                  Get:20 http://us.archive.ubuntu.com gutsy-updates/main Packages [49.4kB]
                  Get:21 http://us.archive.ubuntu.com gutsy-updates/main Packages [49.4kB]
                  Get:22 http://us.archive.ubuntu.com gutsy-updates/restricted Packages [4263B]
                  Get:23 http://us.archive.ubuntu.com gutsy-updates/universe Packages [20.5kB]
                  Get:24 http://us.archive.ubuntu.com gutsy-updates/multiverse Packages [3202B]
                  99% [7 Packages bzip2 0]
                  what am i doing wrong? it gets this far and then wont go any farther no matter how long i leave it.


                  No Soup.

                  Comment


                    #10
                    Re: Updates not working

                    Are you located in the U.S? If not, you should return to http://www.ubuntu-nl.org/source-o-matic/ and regenerate the list, picking the country you live in, or one close to it.
                    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: Updates not working

                      For clarity, I've re-written what you need to do, in the order shown and exactly as show:

                      Step 1. Go to http://www.ubuntu-nl.org/source-o-matic/ to generate a new sources.list
                      Sub-Step 1.
                      a) Select the country you live it. If not listed, choose the closest one
                      b) Select the Ubuntu release you use
                      c) Select the architecture of your computer
                      d) If you also want to include source code repositories, check the box
                      (if you don't compile your own packages, you don't need this)
                      e) Click on Send
                      Sub-Step 2.
                      a) Accept the two Default repositories (they are already selected)
                      b) Check the Medibuntu mulitimedia packages
                      c) Click the Create sources.list
                      (This will open your new sources.list in your editor. You need to make one correction to this file.)
                      d) Change medibuntu.sos-sts.com to packages.medibuntu.org

                      Step 2.
                      Open a console shell (K Menu | System | Konsole - Terminal Program)
                      Type: sudo mv /etc/apt/sources.list /etc/apt/sources.list_OLD2 (you already have a sources.list_OLD)
                      Click on the open sources.list document
                      Click File | Save as
                      Change the current location to /etc/apt
                      Change the file name to sources.list
                      Click Save
                      Close the editor

                      Step 3.
                      Return to the console shell
                      Type sudo chown root:root /etc/apt/sources.list
                      Type sudo apt-get update
                      When the update finishes, close the console shell

                      Please post again with the 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


                        #12
                        Re: Updates not working

                        In step 1 sub-step 2.b I dont get what you meant this is what I get

                        http://www.ubuntu-nl.org/source-o-matic/

                        Step 1
                        Sub-step 1
                        a) U.S.
                        b) 7.10 Gutsy
                        c) dont know what this is so i didnt check it
                        d) send

                        Step 2
                        sub-step 2
                        a) default accepted
                        b) what where is this?
                        ...........??

                        Comment


                          #13
                          Re: Updates not working

                          For Step 1, you want what Step 1.png shows.
                          For Step 2, you want what Step 2.png shows.
                          Attached 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


                            #14
                            Re: Updates not working

                            Except you dont get that option when you get gutsy.

                            Options

                            Step two: select repositories
                            Default repositories Select to use
                            *Ubuntu supported packages
                            The officialy supported Ubuntu packages. Always enable this section or installing packages will become very difficult.

                            *Ubuntu community supported packages
                            All packages included with Ubuntu, which means virtually everything the free software world has to offer. Community maintained, but highly encouraged to use.

                            Nonstandard repositories - use with care Select to use

                            *Ubuntu backports project
                            The Ubuntu backports project provides packages from the development version, built for the latest stable release. This way you can mix stability with being on the bleeding edge. This repository is an official one, but should be used with care and only if you know what you are doing.

                            *Upstream Opera
                            The Opera developers provide their product in this repository.

                            *Upstream Beryl
                            The people of the Beryl project provide their latest and greatest version in this repository.

                            Comment


                              #15
                              Re: Updates not working

                              Geez! So sorry 'bout that! I'm on Feisty, and I should have 'checked' while on http://www.ubuntu-nl.org/source-o-matic/ for Gutsy. Oh well. Live and learn. :P

                              Okay, so the medibuntu repository is not available to select from on that site for Gutsy. Perform Step 1 Sub-Step a) and then go on to Step 2.
                              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