Announcement

Collapse
No announcement yet.

hanging update/install (solved)

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

    hanging update/install (solved)

    When I try and update or install a program in Jaunty (new installation)
    it "hangs" with the final line in terminal reading:
    99% [1 packages bzip2 0].

    Below is my sources.list where I thought the problem lies. On another
    forum the problem wasn't solved but nobody thought that the sources list
    was at fault.
    Help please! I can't update or install any program. Should I re-install
    Jaunty from scratch?
    TIA
    Errol

    # deb cdrom:[Kubuntu 9.04 _Jaunty Jackalope_ - Release i386
    (20090420.1)]/ jaunty main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted

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

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://archive.ubuntu.com/ubuntu/ jaunty universe
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe
    deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates universe

    ## 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.
    deb http://archive.ubuntu.com/ubuntu/ jaunty multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse
    deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

    ## 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://il.archive.ubuntu.com/ubuntu/ jaunty-backports main
    restricted universe multiverse
    deb-src http://il.archive.ubuntu.com/ubuntu/ jaunty-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 jaunty partner
    deb-src http://archive.canonical.com/ubuntu jaunty partner

    deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
    deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security universe
    deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
    deb http://archive.ubuntu.com/ubuntu/ jaunty-backports restricted main
    multiverse universe
    deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main
    multiverse universe
    deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse

    #2
    Re: hanging update/install

    I would start by editing the sources in Adept or Synaptic if they run. For instance, disable all the source code, and most third party software. Can you do that? If not, I would start by commenting out everything, and doing

    "sudo apt-get update"

    In a terminal, and then add them one by one. Most likely you don;t need the backports, and you don;t need the deb-src ones.

    No need to reinstall

    Comment


      #3
      Re: hanging update/install

      In a terminal, and then add them one by one. Most likely you don;t need the backports, and you don;t need the deb-src ones.

      Imilano,
      Please explain why you think the above should work.. I tried it to no avail.
      Errol

      Comment


        #4
        Re: hanging update/install

        Well, if you start with just nothing to retrieve, the process should complete. Could you do that, and ap-tget update in a terminal and post exactly the output?

        Then add the most basic one (to comment out the rest you add # at the line beginning.

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

        If it doesn't work, try adding some locale:

        deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted

        Please post the exact command execution and outputs.

        Comment


          #5
          Re: hanging update/install (solved)

          After reading and trying all sorts of suggestions (including cancelling src) I read on some thread (sorry there were so many that I don't remember which) to type
          sudo apt-get dist-upgrade
          I don't know why dist-upgrade but that's what solved the problem for me.
          Errol

          Comment

          Working...
          X