Announcement

Collapse
No announcement yet.

apt update problem

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

    apt update problem

    Hello
    i have some pro about updating apt. here is my sources.list

    deb cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


    ## Uncomment the following two lines to fetch updated software from the network
    deb http://in.archive.ubuntu.com/ubuntu breezy main restricted
    deb-src http://in.archive.ubuntu.com/ubuntu breezy main restricted

    ## Uncomment the following two lines to fetch major bug fix updates produced
    ## after the final release of the distribution.
    deb http://in.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb-src http://in.archive.ubuntu.com/ubuntu breezy-updates main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## 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.
    deb http://in.archive.ubuntu.com/ubuntu breezy universe
    deb-src http://in.archive.ubuntu.com/ubuntu breezy universe

    ## 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://in.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb-src http://in.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

                                                                                 
    when i use apt-get update most of the update continue but after half or less updates they gives me errors. Here is my konsole prompt.
    root@Kubuntu:~# apt-get update
    Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
    Get:2 http://in.archive.ubuntu.com breezy Release.gpg [189B]
    Get:3 http://security.ubuntu.com breezy-security Release [27.0kB]
    Hit http://in.archive.ubuntu.com breezy Release
    Get:4 http://in.archive.ubuntu.com breezy/universe Packages [2304kB]
    Get:5 http://security.ubuntu.com breezy-security/universe Packages [28.5kB]
    Get:6 http://security.ubuntu.com breezy-security/universe Sources [4747B]
    Ign http://in.archive.ubuntu.com breezy/universe Packages
    Get:7 http://in.archive.ubuntu.com breezy/universe Sources [915kB]
    Ign http://in.archive.ubuntu.com breezy/universe Sources
    Get:8 http://in.archive.ubuntu.com breezy/universe Packages [3028kB]
    Err http://in.archive.ubuntu.com breezy/universe Packages
      Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.182 80]
    Get:9 http://in.archive.ubuntu.com breezy/universe Sources [1223kB]
    Err http://in.archive.ubuntu.com breezy/universe Sources
      Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.182 80]
    Fetched 60.5kB in 35s (1725B/s)
    Failed to fetch http://in.archive.ubuntu.com/ubuntu/.../Packages.gz  Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.182 80]
    Failed to fetch http://in.archive.ubuntu.com/ubuntu/...e/Sources.gz  Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.182 80]
    Reading package lists... Done
    W: Couldn't stat source package list http://in.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_breezy_universe _binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://in.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_breezy_universe _binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    Plz Help if anyone can Thx

    #2
    Re: apt update problem

    Hi,

    If you retry few times ? It's still the same errors ? Because I've tried to see this file just now and it was working...
    If it's not the same file missing, it can be because of network troubles...

    Comment


      #3
      Re: apt update problem

      If you retry few times ? It's still the same errors ?
      i am trying to update from the last three days but still got these errors.

      if there is network pro then tell me how can i resolve it?

      Comment


        #4
        Re: apt update problem

        Sometimes the localized (by country) mirrors don't work.

        Try these instructions:
        http://www.psychocats.net/linux/sources
        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

        Comment


          #5
          Re: apt update problem

          If it's always the 'universe' repos that keep failing, as a workaround you can replace
          Code:
          deb [url]http://in.archive.ubuntu.com/ubuntu[/url] breezy universe
          deb-src [url]http://in.archive.ubuntu.com/ubuntu[/url] breezy universe
          with
          Code:
          deb [url]http://archive.ubuntu.com/ubuntu[/url] breezy universe
          deb-src [url]http://archive.ubuntu.com/ubuntu[/url] breezy universe
          The localized mirror is probably faster so you might want to keep the rest as they are if they work ok.

          Comment


            #6
            Re: apt update problem

            I Have tried as u say but now the errors turns in this ways. Now it look like


            root@Kubuntu:~# apt-get update
            Ign cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy Release.gpg
            Ign cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy Release
            Ign cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/main Packages
            Ign cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/restricted Packages
            Err cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/main Packages
              Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
            Err cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/restricted Packages
              Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
            Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
            Hit http://security.ubuntu.com breezy-security Release
            Get:2 http://archive.ubuntu.com breezy Release.gpg [189B]
            Get:3 http://archive.ubuntu.com breezy-updates Release.gpg [189B]
            Get:4 http://archive.ubuntu.com breezy-backports Release.gpg [189B]
            Get:5 http://archive.ubuntu.com breezy Release [30.9kB]
            Hit http://security.ubuntu.com breezy-security/main Packages
            Hit http://security.ubuntu.com breezy-security/restricted Packages
            Hit http://security.ubuntu.com breezy-security/main Sources
            Get:6 http://security.ubuntu.com breezy-security/restricted Sources [960B]
            Hit http://security.ubuntu.com breezy-security/universe Packages
            Hit http://security.ubuntu.com breezy-security/universe Sources
            82% [6 Sources bzip2 0] [5 Release 20272/30.9kB 65%]
            bzip2: Data integrity error when decompressing.
                    Input file = (stdin), output file = (stdout)

            It is possible that the compressed file(s) have become corrupted.
            You can use the -tvv option to test integrity of such files.

            You can use the `bzip2recover' program to attempt to recover
            data from undamaged sections of corrupted files.

            Err http://security.ubuntu.com breezy-security/restricted Sources
              Sub-process bzip2 returned an error code (2)
            Get:7 http://archive.ubuntu.com breezy-updates Release [30.9kB]
            Get:8 http://archive.ubuntu.com breezy-backports Release [19.6kB]
            Get:9 http://archive.ubuntu.com breezy/main Packages [585kB]
            Ign http://archive.ubuntu.com breezy/main Packages
            Get:10 http://archive.ubuntu.com breezy/restricted Packages [5061B]
            Get:11 http://archive.ubuntu.com breezy/main Sources [232kB]
            Ign http://archive.ubuntu.com breezy/main Sources
            Get:12 http://archive.ubuntu.com breezy/restricted Sources [1454B]
            Get:13 http://archive.ubuntu.com breezy/universe Packages [2304kB]
            Ign http://archive.ubuntu.com breezy/universe Packages
            Get:14 http://archive.ubuntu.com breezy/universe Sources [915kB]
            Ign http://archive.ubuntu.com breezy/universe Sources
            Get:15 http://archive.ubuntu.com breezy-updates/main Packages [31.3kB]
            Get:16 http://archive.ubuntu.com breezy-updates/restricted Packages [14B]
            Get:17 http://archive.ubuntu.com breezy-updates/main Sources [15.7kB]
            Get:18 http://archive.ubuntu.com breezy-updates/restricted Sources [14B]
            Get:19 http://archive.ubuntu.com breezy-backports/main Packages [14.0kB]
            Get:20 http://archive.ubuntu.com breezy-backports/restricted Packages [14B]
            Get:21 http://archive.ubuntu.com breezy-backports/universe Packages [26.1kB]
            Get:22 http://archive.ubuntu.com breezy-backports/multiverse Packages [1353B]
            Get:23 http://archive.ubuntu.com breezy-backports/main Sources [5185B]
            Get:24 http://archive.ubuntu.com breezy-backports/restricted Sources [14B]
            Get:25 http://archive.ubuntu.com breezy-backports/universe Sources [10.2kB]
            Get:26 http://archive.ubuntu.com breezy-backports/multiverse Sources [701B]
            Get:27 http://archive.ubuntu.com breezy/main Packages [767kB]
            Err http://archive.ubuntu.com breezy/main Packages
              Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Get:28 http://archive.ubuntu.com breezy/main Sources [305kB]
            Err http://archive.ubuntu.com breezy/main Sources
              Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Get:29 http://archive.ubuntu.com breezy/universe Packages [3028kB]
            Err http://archive.ubuntu.com breezy/universe Packages
              Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Get:30 http://archive.ubuntu.com breezy/universe Sources [1223kB]
            Err http://archive.ubuntu.com breezy/universe Sources
              Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Fetched 193kB in 1m55s (1680B/s)
            Failed to fetch cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/dists/breezy/main/binary-i386/Packages.gz  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
            Failed to fetch cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/dists/breezy/restricted/binary-i386/Packages.gz  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
            Failed to fetch http://security.ubuntu.com/ubuntu/di...e/Sources.gz  Sub-process bzip2 returned an error code (2)
            Failed to fetch http://archive.ubuntu.com/ubuntu/dis.../Packages.gz  Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Failed to fetch http://archive.ubuntu.com/ubuntu/dis...e/Sources.gz  Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Failed to fetch http://archive.ubuntu.com/ubuntu/dis.../Packages.gz  Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Failed to fetch http://archive.ubuntu.com/ubuntu/dis...e/Sources.gz  Error reading from server - read (104 Connection reset by peer) [IP: 82.211.81.151 80]
            Reading package lists... Done
            W: Couldn't stat source package list cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/main Packages (/var/lib/apt/lists/Kubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_main_b inary-i386_Packages) - stat (2 No such file or directory)
            W: Couldn't stat source package list cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/restricted Packages (/var/lib/apt/lists/Kubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_restri cted_binary-i386_Packages) - stat (2 No such file or directory)
            W: Couldn't stat source package list http://archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
            W: Couldn't stat source package list cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/main Packages (/var/lib/apt/lists/Kubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_main_b inary-i386_Packages) - stat (2 No such file or directory)
            W: Couldn't stat source package list cdrom://Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/restricted Packages (/var/lib/apt/lists/Kubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_restri cted_binary-i386_Packages) - stat (2 No such file or directory)
            W: Couldn't stat source package list http://archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
            W: You may want to run apt-get update to correct these problems
            E: Some index files failed to download, they have been ignored, or old ones used instead.

            I want to ask one thing also as kubicle say remove "in." is in stand for India. Can i use mirror from another country. any tutorial about mirror plz refer. Thx

            Comment


              #7
              Re: apt update problem

              Hmm...still having problems? Does the repo that gives you errors stay the same everytime? Then you can try a different mirror for that repo.

              If not, you can clean up your sources.list a bit (comment out all the 'sources' repos and 'Kubuntu 5.10 CD' repos) to reduce the chances of a failure.

              And yes, the 'in.' is the part that directs you to the Indian mirror, you can use other two letter abbreviations for other mirrors.

              Comment


                #8
                Re: apt update problem

                And for making new sources.list:

                http://ubuntuforums.org/index.php > Other Ubuntu Support > Ubuntu Repository Support > my recommended breezy sources.list

                or

                Direct link: http://ubuntuforums.org/showthread.php?t=92672
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: apt update problem

                  Thats my mistake actually i told by one of my friend(whoiam55 [mod here]) first u need to run a command apt-setup, in this u can set the path from where to recieve connection, by default there is connection from CDROM thats why i always got errors.
                  Now the pro Solved
                  Thx for everyone helped for me

                  Comment

                  Working...
                  X