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

Re: Script to create pool mirror with more then one release



Hello Karl,

Am 2011-04-11 12:50:11, hacktest Du folgendes herunter:
> Have you tried any of the resources at [1]?
> Personally I use a wrapper around apt-ftparchive and a couple of config
> files.

I use it already, any I have a nn TByte Mirror gotten since  Slink  (any
packages ever hit unstable), but the problem is, if you have  more  then
one version in the pool e.g..

   pool/main/m/my-package/my-package_1.0.0_i386.deb
                          my-package_2.0.0_i386.deb
                          my-package_3.0.0_i386.deb

where the packages  are  respectively  unstable,  stable  and  oldstable
"dpkg-scanpackages" and "apt-ftparchive" make no difference between  the
three packages and take always the one with the highest version.

I was thinking I can tell "dpkg-scanpackages"  with  a  "override"  that
"2.0.0" is for example "stable"... and if I run

cd debian/
dpkg-scanpackages pool/main Overrides/stable >dists/stable/main/binary-386/Packages

it select the versions I setup in the "Overrides/stable"

Also I have tried the Options "FileList" and "SourceFileList"and put the
name of the "debs" and "orig.tar.gz" into it which I want to add, but it
seems not to work.

I do not now why, because I do not get an error message.  :-/

Any hints?

Thanks, Greetings and nice Week
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL       itsystems@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle@jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature


Reply to: