Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: 12.04 - Will not update nor download packages

  1. #11
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 12.04 - Will not update nor download packages

    please post the output of : cat /etc/apt/sources.list

  2. #12
    Join Date
    Jan 2012
    Beans
    13

    Re: 12.04 - Will not update nor download packages

    Quote Originally Posted by dino99 View Post
    please post the output of : cat /etc/apt/sources.list
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423]/ precise 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 precise restricted main multiverse universe #Added by software-properties

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://archive.ubuntu.com/ubuntu precise-ubdates main restricted
    deb-src http://archive.ubuntu.com/ubuntu precise-updates restricted main multiverse universe #Added by software-properties

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

    ## 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 precise-backports main restricted universe multiverse
    deb-src htpp://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse #Added by software-properties

    deb http://archive.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://archive.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties
    deb http://archive.ubuntu.com/ubuntu precise-security universe
    deb http://archive.ubuntu.com/ubuntu precise-security 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 precise partner
    deb-src http://archive.canonical.com/ubuntu precise partner

    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main

  3. #13
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 12.04 - Will not update nor download packages

    Code:
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://archive.ubuntu.com/ubuntu precise-ubdates main restricted
    deb-src http://archive.ubuntu.com/ubuntu precise-updates restricted main multiverse universe #Added by software-properties
    In the above line, see bold text, there is a spelling mistake. Try removing the text in italics... save the sources.list and run update.

    Also, unless you are a developer, you may want to comment out Sources (deb-src) repos.
    "Evolution is Nature's way of issuing upgrades."


  4. #14
    Join Date
    Jan 2012
    Beans
    13

    Re: 12.04 - Will not update nor download packages

    Quote Originally Posted by fantab View Post
    Code:
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://archive.ubuntu.com/ubuntu precise-ubdates main restricted
    deb-src http://archive.ubuntu.com/ubuntu precise-updates restricted main multiverse universe #Added by software-properties
    In the above line, see bold text, there is a spelling mistake. Try removing the text in italics... save the sources.list and run update.

    Also, unless you are a developer, you may want to comment out Sources (deb-src) repos.
    Actually, I double checked that and I made that error when copying it over here to the forums (had to type it not copy and paste it cause I was going back and forth between the Ubuntu Guest Machine and My Windows Host Machine).

    I'm thinking that something was just plain corrupted.
    I've downloaded a new iso and reformatted, changed the mirror to the local Uni, and updated before installing VirtualBox's guest additions and now I'm updating just fine. (and I doubt changing the swappiness when I originally installed it had a hand in it).

    Thanks for your time folks.
    Last edited by bigoops; June 5th, 2012 at 07:57 PM.

  5. #15
    Join Date
    Jun 2012
    Beans
    1

    Re: 12.04 - Will not update nor download packages

    I´m having the exact same problem. Please tell me where you got the different iso.
    thanks,

  6. #16
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 12.04 - Will not update nor download packages

    Quote Originally Posted by gemdriver View Post
    I´m having the exact same problem. Please tell me where you got the different iso.
    thanks,
    By new ISO he means he downloaded again. Always try to download your .iso from Torrent... and after that do a md5sum to check your download.
    "Evolution is Nature's way of issuing upgrades."


  7. #17
    Join Date
    Nov 2010
    Beans
    69

    Re: 12.04 - Will not update nor download packages

    This is a routing issue I think.
    I had his exact same problem yesterday.

    I could SSH in, resolve dns, but could not update or access internet

    type 'route' in a terminal
    if your missing a line that says default, such as
    Code:
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    default         DD-WRT          0.0.0.0         UG    0      0        0 wlan0
    then routing is messed up.

    I fixed it on mine by typing
    Code:
    sudo route add default gw 192.168.1.1 netmask 0.0.0.0
    192.168.1.1 should be your routers IP

    but this is likely to reset when you restart the PC
    Last edited by Kr0nZ; June 6th, 2012 at 06:32 PM.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •