apt-ftparchive release generates broken Release file

Soren Hansen soren at ubuntu.com
Thu Aug 30 09:23:25 BST 2007

On Tue, Aug 28, 2007 at 04:04:30PM -0700, Joe Cooper wrote:
> When I run:
> apt-ftparchive -c /home/joe/etc/apt-gutsy-release.conf release 
> dists/gutsy >dists/gutsy/Release

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

That should fix your issue.

As always, be careful with temporary files and such.

Soren Hansen
Ubuntu Server Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20070830/00d497cb/attachment.pgp 

More information about the ubuntu-devel mailing list