Results 1 to 6 of 6

Thread: Error on updating

  1. #1
    Join Date
    Nov 2008
    Location
    GREECE
    Beans
    292

    Exclamation Error on updating

    Hello to all.
    I got this error while I run the update command.

    Fetched 466 kB in 9s (48.9 kB/s)
    W: GPG error: http://www.bchemnet.com debian Release: The following signatures were invalid: BADSIG C95104E509BAC46D Samung Unified Linux Driver Repository
    W: Failed to fetch copy:/var/lib/apt/lists/partial/liveusb.info_multisystem_depot_dists_all_main_i18n _Translation-en%5fUS Encountered a section with no Package: header

    W: Failed to fetch gzip:/var/lib/apt/lists/partial/liveusb.info_multisystem_depot_dists_all_main_i18n _Translation-en Encountered a section with no Package: header

    W: Failed to fetch gzip:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_precise_main_i18n_T ranslation-en Encountered a section with no Package: header

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    How can I resolve it?
    Thank you.
    Last edited by vagelism; March 6th, 2013 at 08:51 AM.
    Evangelos Meintasis
    CNAP/CCNA

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

    Re: Error on updating

    Run the following commands one by one in the Terminal:

    Code:
    $ sudo -s                 
    # apt-get clean
    # cd /var/lib/apt
    # mv lists lists.old
    # mkdir -p lists/partial
    # apt-get clean
    # apt-get update
    # exit
    OR

    Code:
    $ sudo rm /var/lib/apt/lists/* -vf
    $ sudo apt-get update
    Last edited by fantab; March 6th, 2013 at 11:33 AM.
    "Evolution is Nature's way of issuing upgrades."


  3. #3
    Join Date
    Nov 2008
    Location
    GREECE
    Beans
    292

    Re: Error on updating

    Thank you, worked great!
    Can you please explain me what this code did?
    Copy paste is great , but I would like to learn something from it.
    Evangelos Meintasis
    CNAP/CCNA

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

    Re: Error on updating

    For an explaination you can use googlubuntu

    http://www.googlubuntu.com/results/?...ch&cof=FORID:9
    https://help.ubuntu.com/community/Us...minal#Commands
    https://help.ubuntu.com/10.04/basic-...-commands.html
    https://help.ubuntu.com/community/Ap...nance_commands

    And so on. Or you can use the man page. So open a terminal and enter (one at a time):

    Code:
    man apt-get
    man mv
    man mkdir
    And so on

  5. #5
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Error on updating

    Errors like
    Code:
    W: Failed to fetch copy:/var/lib/apt/lists/partial/liveusb.info_multisystem_depot_dists_all_main_i18n_Translation-en%5fUS
    Encountered a section with no Package: header
    mean that some files under the directory /var/lib/apt/lists got corrupted. Removing them, or just moving them out of the directory makes apt-get update regenerate them anew. That's precisely what was suggested to you.
    Last edited by schragge; March 6th, 2013 at 03:38 PM.

  6. #6
    Join Date
    Nov 2008
    Location
    GREECE
    Beans
    292

    Re: Error on updating

    Quote Originally Posted by schragge View Post
    Code:
    W: Failed to fetch copy:/var/lib/apt/lists/partial/liveusb.info_multisystem_depot_dists_all_main_i18n_Translation-en%5fUS
    Encountered a section with no Package: header
    Those errors mean that some files in the directory /var/lib/apt/lists/partial got corrupted. If you remove them, or simply move out of the way, apt-get will happily generate them anew. That's precisely what was suggested to you.
    Thank you for the advice!
    I have plenty of study now!
    Evangelos Meintasis
    CNAP/CCNA

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
  •