Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am kinda struggling in creating local repo for our LAN PXE installation. I use the official 12.04.2 alternate ISO and rsync all the contents to our web server, and add some our own debs in pool/main and repack it and sign it. The way I say repack it and sign it is following this steps

apt-ftparchive packages pool/main > Packages
gzip -c Packages > Package.gz
apt-ftparchive release dists/precise > Release
gpg --yes -abs -u $KEYNAME -o Release.gpg Release

I have Packages and Packages.gz in these directories.

/dists/precise/main/dist-upgrader/binary-all/Packages
./dists/precise/main/debian-installer/binary-i386/Packages
./dists/precise/main/binary-i386/Packages
./dists/precise/restricted/debian-installer/binary-i386/Packages
./dists/precise/restricted/binary-i386/Packages
./pool/main/Packages

I have Release in those directories

./dists/precise/main/binary-i386/Release (this only has the codename, arch, etc)
./dists/precise/restricted/binary-i386/Release (this only has the codename, arch, etc)
./dists/precise/Release (this has codename, arch and file path of the Packages and 
Packages.gz)
./Release

I encounter all kind of funny issues. I trouble shoot one by one till I hit this one that I don't really know what's going on.

coreutils process rm: relocation error: rm: symbol GLIBC_2.2 not
defined in file libc.so.6

Besides this, the installation seems hold on the mirror/http/proxy for minutes till it hits that error.

Any help will be appreciated.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.