[Pkg-crosswire-devel] question about dput and distribution
dmitrij.ledkov at gmail.com
Mon Jul 20 23:33:13 BST 2009
2009/7/20 Matthew Talbert <ransom1982 at gmail.com>:
> I have set up multiple pbuilders on my machine (Hardy, Intrepid, and
> Jaunty for i386 and amd64). I have this, and I am able to
> build sword successfully in each of these. Now I am attempting to
> upload the resulting packages to my local repository so they can be
> used to build xiphos. However, I am getting this result:
> Error: uploading files for distribution UNRELEASED to local not allowed.
Generally you should change the last changelog entry with unique
version number and correct target release.
> What is confusing (to me at least), is that it did allow uploading the
> Jaunty amd64 package, although it's distribution line is UNRELEASED as
> well. My machine is JJ amd64 if that makes any difference.
What tool did you use to set-up the repository? ftp-archive
> Does anyone know what I'm doing wrong? Or point me to an appropriate
> place to ask this sort of question?
Generally All debs are stored in the same folder and then package.gz
and source.gz files are generated to create something apt can read
(and store in apt-cache) and optionally Release & Release.gpg files if
you want an authenticated repository.
Now guess what happens if you uploaded to repository
xiphos_3.1-1_amd64.deb rebuild for another distribution with same
version number and upload again? Well it fails cause
xiphos_3.1-1_amd64.deb already exists but has a different checksum!
Change last changelog entry to something like xiphos (3.1-1~jaunty1)
jaunty and everything should be fly.
And dput.cf does some sanity checks and doesn't usually allow
uploading bogus distributions see man dput.cf :
This defines a comma-separated list of distributions that this
host accepts, used to guess the host to use when none is given
on the command line.
A regular expression (of Python re module syntax) that the dis‐
tribution field must match or dput will refuse the upload.
Hope this helps =)
> Pkg-crosswire-devel mailing list
> Pkg-crosswire-devel at lists.alioth.debian.org
With best regards
Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич
More information about the Pkg-crosswire-devel