PDA

View Full Version : [SOLVED] Problem with network automated installation



Zrc
April 12th, 2010, 10:00 PM
I'm trying to configure an unattended network installation using Ubuntu Server 8.04LTS to install an Ubuntu Alternate 9.10 client. Preseeding, TFTP, DHCP and this works fine, but process always needs human intervention because of a debootstrap warning. User Nimdae described the same problem a few months ago but nobody answered him.

Nimdae wrote:

I use netboot installs inside my network because it makes things easier and faster (no CDs to maintain). I loaded up the karmic alternative ISO and created the appropriate configs, tftp repo, and http repo for karmic and discovered there appears to be a problem with the ISO build, possibly. In this directory:

/dists/karmic/restricted/binary-i386

There are two files:

-r--r--r-- 1 root root 20 2009-09-29 06:46 Packages.gz
-r--r--r-- 1 root root 100 2009-09-29 06:45 Release

I ran into this warning when attempting install:

Warning:
http://<address>/<path to>/dists/karmic/restricted/binary-i386/Packages was corrupt

When I compared the Packages.gz to the one from jaunty in the same location, it is considerably larger:

-r--r--r-- 1 root root 1786 2009-04-20 09:02 Packages.gz

The Packages.gz in karmic is a valid gzip file, and extracts to an empty Packages file.

I've checked also Packages.gz and it seems is empty but ok.

Any idea?

CVirus
April 14th, 2010, 08:09 PM
Me and my team are facing the exact same problem with amd64 !

CVirus
April 14th, 2010, 10:05 PM
Found the solution cd dists/karmic/restricted/binary-amd64/ && gunzip Packages.gz .. Now the error is gone. Don't forget to adjust to i386 instead of amd64.

Zrc
April 19th, 2010, 11:45 AM
Found the solution cd dists/karmic/restricted/binary-amd64/ && gunzip Packages.gz .. Now the error is gone. Don't forget to adjust to i386 instead of amd64.

I'm trying an automated installation and need to avoid any human intervention. Have you unzipped the Packages.gz package into the server's repository folder? Can you specify which is exactly the solution you have found?

Ok, that solved my error too!

P1STOL
August 27th, 2010, 03:34 AM
Found the solution cd dists/karmic/restricted/binary-amd64/ && gunzip Packages.gz .. Now the error is gone. Don't forget to adjust to i386 instead of amd64.

So this is more of a 'work around' as opposed to a 'solution' and kind of takes the automation out of this process.

I'm mounting an ISO as I don't want to replicate it's contents on the local file system (nor should I have to) - making that path read-only.