[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: self signed repository



On Thu, Jul 05, 2012 at 04:59:05PM +0400, Anton Gorlov wrote:
> 05.07.2012 16:40, Roger Leigh пишет:
> >On Thu, Jul 05, 2012 at 04:24:12PM +0400, Anton Gorlov wrote:
> >>05.07.2012 12:46, Roger Leigh пишет:
> >>>You also need the Release file in the apt repository signing.
> >>>apt-get doesn't get check per-package signatures?  Individual
> >>>packages aren't signed by default; just the archive as a whole
> >>>via the Release/InRelease files.
> 
> Hm. I try generate Release in top of tree
> /opt/work/myrepo/dists/squeeze/
> 
> stalker@deb60-builder:/opt/work/myrepo/dists/squeeze$ cat Release
> main/binary-amd64/Packages.gz

> after sign
> 
> apt-get update
> W: Failed to fetch file:/opt/work/myrepo/dists/squeeze/Release
> Unable to find expected entry  main/binary-amd64/Packages in
> Meta-index file (malformed Release file?)
> 
> E: Some index files failed to download, they have been ignored, or
> old ones used instead.

I think you might need both Packages and Packages.gz?  Maybe
configure apt to only download .gz?

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: