Comment 6 for bug 913927

Revision history for this message
James Ferguson (jamesf) wrote :

@Pitti - perhaps a bug in `apt-cache policy`? It reports them as "file:/foo/bar". The archive was created as a directory on the system, with $ARCHIVE as an absolute path (having moved aside the real sources.list temporarily):

    cd "$ARCHIVE"
    apt-ftparchive packages . | gzip -n9 > Packages.gz
    echo "deb file://$ARCHIVE" > /etc/apt/sources.list

As for unsigned binary archives, jockey considers the packages from the above archive unsigned and refuses them. Any way to get around this is fine.