Re: [Cooker] Rpmslist

2001-08-31 Thread Warly

Sergio Korlowsky [EMAIL PROTECTED] writes:

 On Thursday 30 August 2001 04:31 pm, you wrote:
  Sergio Korlowsky wrote:
  On Thursday 30 August 2001 01:37 am, you wrote:
   Spencer [EMAIL PROTECTED] writes:
Warly, would it be possible to generate a new -rpmslist- please.
There's way too many new packages :-)
  
   hum,
  
   You should now do not need rpmslist anymore, the new mkcd2 script in
   the misc dir is now able to automatically generate as much CDs as
   necessarry from a repository,
  
   I have updated mkcds also to call it with the right option.
  
   However it must have some bugs, so just warn.
 
  when I call mkcds it ask for a repository of files...
  if I have all the cooker files in /home/admin/cooker/i586
  then this should be the place... isn't?
 
  I have not been able to run it correctly...
  just give some samples... thanks!
 
  SK

 You also need to give a destination for the iso's.  My line is ./mkcds
 /Cooker /Iso . You will find mkcds.old in /misc, use this for the
 moment. Mkcd2 is still buggy.

It should work a bit better now.

-- 
Warly




Re: [Cooker] Rpmslist

2001-08-30 Thread Warly

Spencer [EMAIL PROTECTED] writes:

 Warly, would it be possible to generate a new -rpmslist- please. There's
 way too many new packages :-)

hum,

You should now do not need rpmslist anymore, the new mkcd2 script in the misc
dir is now able to automatically generate as much CDs as necessarry from a
repository,

I have updated mkcds also to call it with the right option.

However it must have some bugs, so just warn.

-- 
Warly




Re: [Cooker] Rpmslist

2001-08-30 Thread Sergio Korlowsky

On Thursday 30 August 2001 04:31 pm, you wrote:
 Sergio Korlowsky wrote:
  On Thursday 30 August 2001 01:37 am, you wrote:
   Spencer [EMAIL PROTECTED] writes:
Warly, would it be possible to generate a new -rpmslist- please.
There's way too many new packages :-)
  
   hum,
  
   You should now do not need rpmslist anymore, the new mkcd2 script in
   the misc dir is now able to automatically generate as much CDs as
   necessarry from a repository,
  
   I have updated mkcds also to call it with the right option.
  
   However it must have some bugs, so just warn.
 
  when I call mkcds it ask for a repository of files...
  if I have all the cooker files in /home/admin/cooker/i586
  then this should be the place... isn't?
 
  I have not been able to run it correctly...
  just give some samples... thanks!
 
  SK

 You also need to give a destination for the iso's.  My line is ./mkcds
 /Cooker /Iso . You will find mkcds.old in /misc, use this for the
 moment. Mkcd2 is still buggy.

 ---
 Spence

Funny... it doesn't matter which one I use... gives the same error, 
I rename one by one... I had three of them in /misc
mkcds-0.1.0  mkcds.0ld (mkcds-0.0.3) and mkcds~ (same as 0.1.0)

./mkcds: exec: /cooker/Mandrake/mdkinst/lib/ld-linux.so.2: cannot execute: No
such file or directory

I re-ran rsync and the old ones are gone for good!
but still the same results with the recently downloaded file.

I'll wait for the fixed version ;-)
sk
-- 
SedeComp Comunicaciones Internet Solutions
MandrakeSoft's VAR and System Integrator
mailto:[EMAIL PROTECTED]
OpenPGP key available on:http://www.keyserver.net/en/
|--|


Current Linux kernel 2.4.8-12mdkenterprise uptime: 5 hours 28 minutes.




Re: [Cooker] Rpmslist

2001-08-30 Thread Sergio Korlowsky

On Thursday 30 August 2001 01:37 am, you wrote:
 Spencer [EMAIL PROTECTED] writes:
  Warly, would it be possible to generate a new -rpmslist- please. There's
  way too many new packages :-)

 hum,

 You should now do not need rpmslist anymore, the new mkcd2 script in the
 misc dir is now able to automatically generate as much CDs as necessarry
 from a repository,

 I have updated mkcds also to call it with the right option.

 However it must have some bugs, so just warn.

when I call mkcds it ask for a repository of files...
if I have all the cooker files in /home/admin/cooker/i586
then this should be the place... isn't?

I have not been able to run it correctly...
just give some samples... thanks!

SK
-- 
SedeComp Comunicaciones Internet Solutions
MandrakeSoft's VAR and System Integrator
mailto:[EMAIL PROTECTED]
OpenPGP key available on:http://www.keyserver.net/en/
|--|


Current Linux kernel 2.4.8-12mdkenterprise uptime: 0 hours 23 minutes.




[Cooker] Rpmslist

2001-08-29 Thread Spencer

Warly, would it be possible to generate a new -rpmslist- please. There's
way too many new packages :-)

TIA  

---
Spence




[Cooker] Lint-checker for cooker rpmslist

2001-07-14 Thread Gary Lawrence Murphy


This may be redundant, or it may be useful.  All I know is that it
works for me:  The following script will verify the contents of your
cooker/misc/rpmslist against the actual contents of your RPMS
and report on

- packages missing in the RPMS
- multiple versions of the same package
- packages in RPMS but missing in your rpmslist
- total count and size of all rpms for each CD

This is based on the mkcd.pl so as to be as compatible with it as
possible (same regexs c).  You can also take the output list of
extra packages and simply cut and paste into your rpmslist.

#!/usr/bin/perl

# Perl Program: chklist.pl
#
# Mandrake Cooker utility program to check your rpmslist file against
# the actual files in your Mandrake/RPMS directory.  Given the same
# repository directory as the mkcd.pl script, this script will check
# for duplicate packages (same package different versions), packages
# listed in the rpmslist but missing from the RPMS and packages found
# in the RPMS but missing from the rpmslist.
# 
# The output report will also list the total size can count of all RPMS
# for each CD (but remember to leave some room on CD1!)
# 
# This program is licensed under the GNU General Public License
#
# Created: Sat Jul 14 14:28:31 EDT 2001
# $Log: chklist.pl,v $
# Revision 1.2  2001/07/14 18:39:54  garym
# added documentation
#
# Revision 1.1  2001/07/14 18:32:43  garym
# Initial release to the cooker mailing list
#
#
# Author:  Gary Lawrence Murphy [EMAIL PROTECTED]
# Copyright:  2001 TeleDynamics Communications Inc (www.teledyn.com)
# Version: $Id: chklist.pl,v 1.2 2001/07/14 18:39:54 garym Exp $

my $version = '$Id: chklist.pl,v 1.2 2001/07/14 18:39:54 garym Exp $';
my ($rep,$verbose) = @ARGV;
$rep or usage();

open A, $rep/Mandrake/base/rpmslist;
my ($count,$size,$num,@a);
my @cd;
my %list;
my %count;
my %size;

while(A){
/\/CD/ and $num = 0;
/CD num=(\d+)/ and do { $num = $1; push @cd, $num};
/(?:.*)*([^]*)\n/; 
$1 and do {
push @{$list{$num}}, $1;
}
}
close A;
print \nPACKAGE DUPLICATES  . (= x 50) . \n;
my $dir = $rep/Mandrake/RPMS;
my %rpms;
opendir DIR, $dir or die unable to opendir $dir: !$\n;
foreach (readdir DIR) {
my ($file, $pkg) 
  = /(([^\/]*)-[^-]*-[^-]*\.[^\/\.]*\.rpm)$/ or next;
$rpms{$pkg} and do {
  print \n$pkg\t $file /  . $rpms{$pkg};
  next;
  };
$file and do {
  $rpms{$pkg} = $file;
};
}
print \n;

foreach my $disk (@cd){
  print \nCD $disk  . = x 64;
  foreach my $pkg (@{$list{$disk}}) {
if ( $rpms{$pkg}  !($rpms{$pkg} eq ) ) {
  $count{$disk}++;
  $size{$disk} += -s $dir/ . $rpms{$pkg};
  if ($verbose) {
print \n;
print -s $dir/ . $rpms{$pkg};
print \t$pkg;
  }
  undef $rpms{$pkg};
} else {
  print \nmissing $pkg;
}
  }
  print \n\tDISK $disk TOTALS:\n\t\tfile count:  . $count{$disk};
  print \n\t\ttotal size:  . $size{$disk};
  print  ( . int($size{$disk} / 1024 / 1024) . M);
}

print \nUNREFERENCED PACKAGES  . (= x 47) . \n;
foreach my $pkg (sort keys %rpms) {
  $rpms{$pkg} and do {
print \n$pkg;
print \t . $rpms{$pkg} if $verbose;
};
}
print \n;



sub usage {
  print 
Cooker chklist version $version
Copyright 2001 by Teledynamics (www.teledyn.com)

  Verify cooker/Mandrake/RPMS against cooker/misc/rpmslist and
  report missing or extra files and disk sizes.

  usage:

  $0 cooker dir
\n;
  exit;
}

# 2001 by TeleDynamics Communications Inc - [EMAIL PROTECTED]





[Cooker] rpmslist for 8.0

2001-06-06 Thread Radek Vybiral

Hi,

is it anywhere available rpmslist for 8.0 download edition?

rpmslist in /Mandrake/base/ on CD #1 is for Cooker (3 CDs).

Thanks

R.V.






[Cooker] Rpmslist?

2001-05-30 Thread Spencer

Can anyone tell me what script generates the /base/rpmslist? 

TIA

---
Spence




[Cooker] Rpmslist

2001-05-13 Thread Spencer

Thank you for updating this list. One pb though, CD2 comes in at 686
megs :(

---
Spence




[Cooker] Rpmslist

2001-05-10 Thread Spencer

Hi all;

Would it be possible to have an updated -rpmslist- please? There are
over 50 packages not entered or need updating.  I'm running a heavily
edited list and its beginning to look rather strange ;)

---
Spence