>Ubuntu Kickstart and the corrupt Packages message

>

If you get a “Debootstrap warning http://server/dists/lucid/restricted/binary-amd64/Packages was corrupt” error message during your PXE / Kickstart installation, just create the file manually on your install Server ( #touch path_to/dists/lucid/restricted/binary-amd64/Packages ). The installer seems to have a problem unpacking a 0 size file for whatever reason….


  • Anonymous

    >I'd like to find a real solution to this as this work around can't be applied when you've mounted an ISO and the path is read-only.

  • Rick

    >If you have a iso or CD mounted, you can mount a different folder on top of the folder which contains the corrupt Packages file, with mount –bind.

    So make a directory /var/www/ubuntu/lucid/bugfix for example, copy the Release and Packages.gz file from the problem directory, and mount the directory, for example:

    mount –bind /var/www/ubuntu/lucid/bugfix /path/to/directory/dists/lucid/restricted/binary-amd64

    Now do 'gzip -d /var/www/ubuntu/lucid/bugfix/Packages.gz' and it should be fine.