Guest anon Posted September 13, 2002 Share Posted September 13, 2002 http://homepage.ntlworld.com/brian.robinso...cs/urpmi-howto/ Link to comment Share on other sites More sharing options...
DOlson Posted September 17, 2002 Share Posted September 17, 2002 This is on the links page now. :) Link to comment Share on other sites More sharing options...
ezroller Posted September 19, 2002 Share Posted September 19, 2002 this should get moved me thinks? kernel and programming DOLson?????? 8) :roll: :roll: :roll: Link to comment Share on other sites More sharing options...
DOlson Posted September 19, 2002 Share Posted September 19, 2002 Why did you say my name? It's not like I can move it or anything, so talk to one of the mods. And when I originally replied, the forum layout hadn't been changed. So there. :P Link to comment Share on other sites More sharing options...
ezroller Posted September 19, 2002 Share Posted September 19, 2002 LMAO Link to comment Share on other sites More sharing options...
Guest DirtDart Posted October 7, 2002 Share Posted October 7, 2002 I usually store the RPMs from the distro CDs, and a few others like Texstar's, on my local developement box, then use FTP to install new stuff. Well, quickly found that I needed more-updated hdlist.cz files. To create them, I found a script called genhdlist which makes the hdlist.cz files. From what I've read, it used to be included with a few distros but not anymore for some strange reason. Anyway, here is the script, for those that want it. NOTE: I did not write this and take no credit for doing anything execpt finding it on the 'net. #!/usr/bin/perl use strict; use URPM; use URPM::Build; use File::Find; use File::Path; my $urpm = new URPM; my $tmpdir = "/tmp/genhdlist"; my $index="hdlist.cz"; my $synthesis="synthesis.$index"; my $dir = @ARGV[0] or die "usage: genhdlist <dir>"; chdir $dir or die "can't chdir in directory $dir"; # get rpm list my @rpms; File::Find::find({wanted => &wanted}, "."); sub wanted { if (-f $_ && $_ =~ /^.*.rpm$/ ) { print "$File::Find::namen"; push(@rpms, $File::Find::name); } } if (!@rpms) { print "no rpms found, abortingn"; exit(0); } # create index file mkpath($tmpdir); $urpm->parse_rpms_build_headers(dir => $tmpdir, rpms => @rpms); @{$urpm->{depslist}} > 0 or die "nothing read"; $urpm->build_hdlist(start => 0, end => $#{$urpm->{depslist}}, dir => $tmpdir, hdlist => $index, ratio => 9); rmtree($tmpdir); # create synthesis file $urpm->build_synthesis(start => 0, end => $#{$urpm->{depslist}}, synthesis => $synthesis); # create list file open(LIST, "> list") or die "can't create list file list: $!"; foreach my $rpm (@rpms) { print LIST "$rpmn" }; close(LIST); Hope this helps. DirtDart Link to comment Share on other sites More sharing options...
bvc Posted November 24, 2002 Share Posted November 24, 2002 The original link above has changed to http://myweb.tiscali.co.uk/jwrobinson/docs.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now