Ask a Question related to Debian, Design and Development.
-
Rene Cunningham #1
regenerate Packages.gz
Gday,
Is there a Debian tool that will help me regenerate Packages.gz from a
pool of packages? I can use dpkg-scanpackages in a script but since i
have woody and sid packages in the same pool directory, the latest
version is written to Packages.gz
Script goes something like
PKGDIR=`find pool -type d -print | uniq`
for PKG in ${PKGDIR}; do
if [ -d "${PKG}" ]; then
chmod a+r ${PKG}
echo Making Packages.gz
echo
dpkg-scanpackages ${PKG} /dev/null | gzip -9c >>
dists/stable/main/binary-i386/Packages.gz
fi
--
Rene Cunningham
DCLabs Pty Ltd
[url]http://www.dclabs.com.au[/url]
----------------------------------------
Netscape is not a newsreader, and probably never shall be.
-- Tom Christiansen
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Rene Cunningham Guest
-
Packages and AS2
In order to reference one class in a package path from another you'll need to add the root directory of the project to the global classpath - yes I... -
[PHP-DEV] RPM packages of PHP 4.3.4
Hi, I have build RPM packages of PHP 4.3.4 wit a lot of modules. The packages are - as my previous packages - based on Troels Arvin's work. ... -
packages
Hi, after installing an sw-package, i get no no output about the sw in 'lslpp -L'. If I do a 'lslpp -w /path/to/one/of/the/files', it shows the... -
Reinstall all packages
On Wednesday 06 August 2003 10:30, Philipp Leusmann wrote: If you can get aptitude to run, get the cursor over the "Installed Packages" category... -
New packages
Hi all, I've found a rather useful little app that doesn't appear to be in the distribution yet. How can I go about getting it in there? I have... -
Greg Folkert #2
Re: regenerate Packages.gz
On Mon, 2003-07-28 at 23:58, Rene Cunningham wrote:
apt-move is a significant piece I'd say. Here is the Package> Gday,
>
> Is there a Debian tool that will help me regenerate Packages.gz from a
> pool of packages? I can use dpkg-scanpackages in a script but since i
> have woody and sid packages in the same pool directory, the latest
> version is written to Packages.gz
>
> Script goes something like
>
> PKGDIR=`find pool -type d -print | uniq`
>
> for PKG in ${PKGDIR}; do
> if [ -d "${PKG}" ]; then
> chmod a+r ${PKG}
> echo Making Packages.gz
> echo
> dpkg-scanpackages ${PKG} /dev/null | gzip -9c >>
> dists/stable/main/binary-i386/Packages.gz
> fi
>
Description:
apt-move is used to move a collection of Debian package files into a
proper archive hierarchy as is used in the official Debian archive. It
is intended as a tool to help manage the apt-get(8) file cache, but
could be configured to work with any collection of Debian packages.
Running apt-move periodically will assist in managing the resulting
partial mirror by optionally removing obsolete packages, and creating
valid local Packages.gz files. It can also build a partial or complete
local mirror of a Debian binary distribution (including an
``installed-packages only'' mirror).
Also once you install it make sure you do a "man apt-move" WOW!
Hope this helps.
--
greg, [email]greg@gregfolkert.net[/email]
REMEMBER ED CURRY! [url]http://www.iwethey.org/ed_curry[/url]
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Greg Folkert Guest
-
johnmkaljc #3
reverse phone lookup
[URL=http://www.reversephonelookup.com/]reverse phone lookup[/URL]
johnmkaljc Guest



Reply With Quote

