Spoke too soon again ;-)

dpkg-repack 1.30 indeed puts a second 'Architecture' field in control.
Or it always was there, I never checked.
So eliminate the second field:

    *  HOWTO eliminate the duplicate Architecture field:
    * Create a package directory (say /mc_4.6.2-2)
    * /Wed May 26-11:46:27SDB6# dpkg-deb -x
mc_4.6.2~git20080311-4_i386.deb /mc_4.6.2-2
    * /Wed May 26-11:47:35SDB6# dpkg-deb -e
mc_4.6.2~git20080311-4_i386.deb /mc_4.6.2-2
    * Move the files from the latter into a dir named ‘DEBIAN’
    * Edit the control file in DEBIAN and delete the second Architecture field.
    * /Wed May 26-11:50:15SDB6# dpkg-deb -b /mc_4.6.2-2
    * This will create mc_4.6.2-2.deb
    * dpkg -i mc_4.6.2-2.deb

This maybe common knowledge to all, but this is the first time I've run into it.

I create a Debian mirror of all the packages I install with
dpkg-repack and reprepro. Then I start a new installation from a
script with the sources file pointing to that mirror.

But every single one of the packages in the mirror have duplicate
Architecture fields.

Regards,

Hugo Vanwoerkom


-- 
zwei Seelen, eine Gedanke
http://counter.li.org/
http://www.google.com/chrome




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to