Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: can't update 12.04

  1. #1
    Join Date
    Oct 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    can't update 12.04

    I installed a fresh ubuntu 12.04 on my i5 machine.
    However the update manager fails with the following error.

    E:Unable to parse package file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Index (1)

    Any idea what should be done to get the updates to work ?

  2. #2
    Join Date
    Oct 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: can't update 12.04

    When I do a
    sudo apt-get update

    I get several messages of the form.

    Get:70 http://archive.ubuntu.com precise-security/main i386 Packages [73 B]
    91% [70 Packages bzip2 0 B] [Waiting for headers] 68.0 kB/s 12sbzip2: (stdin) is not a bzip2 file.

    Could this be the reason for the " E:Unable to parse package file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Index (1)" error?

    How do I fix this ?

  3. #3
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: can't update 12.04

    In terminal:

    sudo rm /var/lib/apt/lists/* -vf

    sudo apt-get update

  4. #4
    Join Date
    Oct 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: can't update 12.04

    i tried
    sudo rm /var/lib/apt/lists/* -vf
    sudo apt-get update

    but the same error

  5. #5
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: can't update 12.04

    Hi ,
    can you give here the results of this command ?
    Code:
    find /etc/apt  -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
    Click on "New Reply" and put the results inside [CODE] tags to be easier to read. See here how

    Thanks

  6. #6
    Join Date
    Oct 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: can't update 12.04

    Hi NikTh

    This is the output of the find command

    Code:
    /etc/apt/sources.list
    
         1    # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ dists/precise/main/binary-i386/
         2    
         3    # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ dists/precise/restricted/binary-i386/
         4    # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ precise main restricted
         5    
         6    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
         7    # newer versions of the distribution.
         8    deb http://archive.ubuntu.com/ubuntu precise main restricted
         9    deb-src http://archive.ubuntu.com/ubuntu precise main restricted
        10    
        11    ## Major bug fix updates produced after the final release of the
        12    ## distribution.
        13    deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
        14    deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
        15    
        16    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
        17    ## team. Also, please note that software in universe WILL NOT receive any
        18    ## review or updates from the Ubuntu security team.
        19    deb http://archive.ubuntu.com/ubuntu precise universe
        20    deb-src http://archive.ubuntu.com/ubuntu precise universe
        21    deb http://archive.ubuntu.com/ubuntu precise-updates universe
        22    deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
        23    
        24    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
        25    ## team, and may not be under a free licence. Please satisfy yourself as to 
        26    ## your rights to use the software. Also, please note that software in 
        27    ## multiverse WILL NOT receive any review or updates from the Ubuntu
        28    ## security team.
        29    deb http://archive.ubuntu.com/ubuntu precise multiverse
        30    deb-src http://archive.ubuntu.com/ubuntu precise multiverse
        31    deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
        32    deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
        33    
        34    ## N.B. software from this repository may not have been tested as
        35    ## extensively as that contained in the main release, although it includes
        36    ## newer versions of some applications which may provide useful features.
        37    ## Also, please note that software in backports WILL NOT receive any review
        38    ## or updates from the Ubuntu security team.
        39    deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
        40    deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
        41    
        42    deb http://archive.ubuntu.com/ubuntu precise-security main restricted
        43    deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
        44    deb http://archive.ubuntu.com/ubuntu precise-security universe
        45    deb-src http://archive.ubuntu.com/ubuntu precise-security universe
        46    deb http://archive.ubuntu.com/ubuntu precise-security multiverse
        47    deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
        48    
        49    ## Uncomment the following two lines to add software from Canonical's
        50    ## 'partner' repository.
        51    ## This software is not part of Ubuntu, but is offered by Canonical and the
        52    ## respective vendors as a service to Ubuntu users.
        53    # deb http://archive.canonical.com/ubuntu precise partner
        54    # deb-src http://archive.canonical.com/ubuntu precise partner
        55    
        56    ## This software is not part of Ubuntu, but is offered by third-party
        57    ## developers who want to ship their latest software.
        58    deb http://extras.ubuntu.com/ubuntu precise main
        59    deb-src http://extras.ubuntu.com/ubuntu precise main

  7. #7
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: can't update 12.04

    open your terminal and type as
    Code:
    sudo rm -rf /var/lib/apt/lists/*
    sudo apt-get update
    one more helpful link : http://askubuntu.com/questions/19022...m-rf-and-rm-vf
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  8. #8
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: can't update 12.04

    Are you building or modifying software packages from source code?

    If not, uncheck source code and update. That may clear the problem.

    https://help.ubuntu.com/community/Re...u_Software_Tab

    Hi raja

  9. #9
    Join Date
    Oct 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: can't update 12.04

    @ ibjsb4

    I unchecked all the source code but that doesn't help.

    @ Raja.genupula

    I've tried removing the lists already, but the error
    still persists.

  10. #10
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: can't update 12.04


Page 1 of 2 12 LastLast

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
  •