apt-ftparchive release generates broken Release file

Tollef Fog Heen tfheen at canonical.com
Fri Sep 7 09:24:20 BST 2007

* Soren Hansen 

| This command line creates an empty dists/gutsy/Release before running
| apt-ftparchive, so when apt-ftparchive finally runs, it finds that extra
| file and thinks it should create an entry for it. Instead, you could
| apt-ftparchive -c /home/joe/etc/apt-gutsy-release.conf release
| dists/gutsy > /tmp/Release.tmp ; mv /tmp/Release.tmp dists/gutsy/Release

sponge(1) from moreutils is probably what you want here:

apt-ftparchive -c /home/joe/etc/apt-gutsy-release.conf release
dists/gutsy | sponge dists/gutsy/Release

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

More information about the ubuntu-devel mailing list