Re: [Cooker] How to set up a cooker system and keeping it current ?
On Friday 23 February 2001 07:27, Andrej Borsenkow wrote: > > > No, that won't work. rpm -Uvh *.rpm will.Freshen will ignore > > > new rpms that were not there before. > > > > Exactly - that's why I use freshen. You need to watch for the extra > > packages, like when a single package splits into two, manually. > > You may consider urpmi. It has exactly the task to check dependencies and > install them if needed. So, > > urpmi foo > > is basically the same as > > rpm -Fvh foo + rpm -ivh for additional packages foo depends upon. This is incorrect. Try for example: rpm -e zsh-doc I picked this at random since I'm not using it Now do urpmi zsh-doc You will see 2 problems. First, it wants to install zsh-doc, which means it is NOT doing a freshen, but an install. Secondly, it has a dependency on a non-existent package (perl-base-5.7). Note that if you do an rpm -ivh on zsh-doc, the dependency is not there and the package installs normally. The bottom line is that urpmi is not the right tool for the job, and what it does try to do it is getting wrong (in this case anyway). This isn't to say that urpmi is all bad. I use urpmf regularly and find it very helpful. -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED]
Re: [Cooker] How to set up a cooker system and keeping it current ?
Ed Wilts wrote: > Exactly - that's why I use freshen. You need to watch for the extra > packages, like when a single package splits into two, manually. rpm -Uvh > will also install packages that weren't installed before so unless you want > to install EVERYTHING, don't do this. My method uses a lot less disk space > and tests the packages that I need or want to test. Why break my system > installing packages that I have no need for or start up a gazillion daemons, > some of which could have security holes? Better to use -Uvh but only download what you want to install using the exclude-file facility of rsync. -- Regards, Ron. [au]
Re: [Cooker] How to set up a cooker system and keeping it current ?
Thanks guys for a bunch of real helpful info. Since I am fairly new to this, it will take me a while to comprehend/try out/test all this input. If I need more help I will either ask or admit that the cooker isn't for me :) Jens
Re: [Cooker] How to set up a cooker system and keeping it current ?
Paul R Streitman wrote: > I have been following this discussion, and I must say that I am confused! > MandrakeUpdate worked very well for me (until whatever happened that caused > it to crash every time), but I have yet to get rpmdrake/urpmi working at > all. When I start rpmdrake, it never gives me a list of RPMs, either > currently installed or in my local mirror of the cooker. 'Edit Media' does > not seem to work at all, as it never lets me point to my mirror! If you are under the misaprehension that MandrakeUpdate works OK, you should try using it to update from Mandrake 7.2 to the current rev of cooker. > > I gather that the key to getting this working is to set up urpmi's > configuration file to point to my local copy of the cooker. However, it > certainly is not obvious how one does that and every attempt that I have > made based on mailing list comments has failed. So -- if I have created a > mirror of cooker in /e/cooker how do I tell the configuration file to use > it? An explanation? God forfend! Actually, it wasn't hard once I pieced together bits of several posts on the list and then read all the See Also manpages suggested by those manpages. urpmi.addmedia MyMirror file://usr/local/mymirror When you are ready to update your RPMS, after you've freshened your mirror run: urpmi.update MyMirror urpmi --auto-select > > Thanks, > Paul > z/OS BCP Development > Internet: [EMAIL PROTECTED]
RE: [Cooker] How to set up a cooker system and keeping it current ?
I have been following this discussion, and I must say that I am confused! MandrakeUpdate worked very well for me (until whatever happened that caused it to crash every time), but I have yet to get rpmdrake/urpmi working at all. When I start rpmdrake, it never gives me a list of RPMs, either currently installed or in my local mirror of the cooker. 'Edit Media' does not seem to work at all, as it never lets me point to my mirror! I gather that the key to getting this working is to set up urpmi's configuration file to point to my local copy of the cooker. However, it certainly is not obvious how one does that and every attempt that I have made based on mailing list comments has failed. So -- if I have created a mirror of cooker in /e/cooker how do I tell the configuration file to use it? Thanks, Paul z/OS BCP Development Internet: [EMAIL PROTECTED]
RE: [Cooker] How to set up a cooker system and keeping it current ?
> > No, that won't work. rpm -Uvh *.rpm will.Freshen will ignore > > new rpms that were not there before. > > Exactly - that's why I use freshen. You need to watch for the extra > packages, like when a single package splits into two, manually. You may consider urpmi. It has exactly the task to check dependencies and install them if needed. So, urpmi foo is basically the same as rpm -Fvh foo + rpm -ivh for additional packages foo depends upon. urpmi is using separate database that has to be updated every time you update your mirror. -andrej
Re: [Cooker] How to set up a cooker system and keeping it current ?
On Friday 23 February 2001 05:43, Ron Stodden wrote: > Ed Wilts wrote: > > This will mirror the entire cooker tree and you do can do regular updates > > from there with an rpm -Fvh. > > No, that won't work. rpm -Uvh *.rpm will.Freshen will ignore > new rpms that were not there before. Exactly - that's why I use freshen. You need to watch for the extra packages, like when a single package splits into two, manually. rpm -Uvh will also install packages that weren't installed before so unless you want to install EVERYTHING, don't do this. My method uses a lot less disk space and tests the packages that I need or want to test. Why break my system installing packages that I have no need for or start up a gazillion daemons, some of which could have security holes? -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED]
Re: [Cooker] How to set up a cooker system and keeping it current ?
Ed Wilts wrote: > This will mirror the entire cooker tree and you do can do regular updates > from there with an rpm -Fvh. No, that won't work. rpm -Uvh *.rpm will.Freshen will ignore new rpms that were not there before. > The easiest is to get a semi-recent copy of the Cooker ISO image and use that > to do a fresh install. Once you've done that, grab an rsync utility like > what I"m including below: > [ewilts@linux1 ewilts]$ cat /usr/local/bin/rsync-no-cooker > #!/bin/sh > startdate=`date` > rsync -ltrvz --partial --progress --stats --delete \ > sunsite.uio.no::Mandrake-devel/cooker /home/ > enddate=`date` > echo "Started at $startdate" > echo "Finished at $enddate" You'd be better off using my popular all.rsync.pl. It does not download anything not English (that saves 528 MB for Cooker alone) and downloads using rsync's elegant patch-in-place facility rather than a complete re-download, which yours would be doing. Free and under GPL from: http://members.optushome.com.au/ronst/ -- Regards, Ron. [au]
Re: [Cooker] How to set up a cooker system and keeping it current ?
On Thursday 22 February 2001 16:56, you wrote: > I recently decided to explore the cooker and all it's wonders but have > been stumped about how to set up a system. The instructions on the > Mandrake pages explain how to set up a mirror of the cooker on your > own system but there is no reference of how to set up an actual > system. It seems to me that there must be a way to install a fully > functional cooker system and update it daily (?) to synchronize all > changed files. A hint on how to do this or a pointer to a how-to would > greatly be appreciated. The easiest is to get a semi-recent copy of the Cooker ISO image and use that to do a fresh install. Once you've done that, grab an rsync utility like what I"m including below: [ewilts@linux1 ewilts]$ cat /usr/local/bin/rsync-no-cooker #!/bin/sh startdate=`date` rsync -ltrvz --partial --progress --stats --delete \ sunsite.uio.no::Mandrake-devel/cooker /home/ enddate=`date` echo "Started at $startdate" echo "Finished at $enddate" This will mirror the entire cooker tree and you do can do regular updates from there with an rpm -Fvh. Note that you will be getting LOTS of updates. I usually rsync every day or two and keep my copies up to date, but I do not have my rsync in my crontab, simply because if I'm not going to freshen my running copies, there's no point in burning network bandwidth transferring files that I won't use. Even the kernel gets updated every day or two, so my procedure is usually to manually update the kernel (freshen the source, headers, and doc rpms), keep at least one backup copy of the kernel installed, delete the oldest, install the newest, edit /boot/grub/menu.lst, /boot/grub/install.sh so that I've always got the newest kernel and one I know works). Once the kernel is done, I then do an rpm -Fvh on all the packages and fix whatever pops up (like cups disabling itself on every update). In the cooker/misc directory, you'll find mkcd.pl. I use it on a semi-regular basis to create new Cooker ISO images. I keep those as a handy backup in case I get a bad rpm that screws me up, like the recent network snafu that prevented my network from starting. Just mount the cooker iso on the loopback device, install an older version that works, and you're back up and running and can get a fixed rpm in a day or two. Holler if you need more help than this. Actually, if you can't understand the approach, maybe cooker isn't for you :-) Remember ALL THE TIME that cooker is alpha software. There will likely be times when you install a package that will cause you serious grief (like the net kit I mentioned above), including rendering your system unbootable. You should be prepared to learn how to recover from these kind of situations without complaining out loud (grumbling and cussing to yourself is expected!). Happy cooking! .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED]
[Cooker] How to set up a cooker system and keeping it current ?
I recently decided to explore the cooker and all it's wonders but have been stumped about how to set up a system. The instructions on the Mandrake pages explain how to set up a mirror of the cooker on your own system but there is no reference of how to set up an actual system. It seems to me that there must be a way to install a fully functional cooker system and update it daily (?) to synchronize all changed files. A hint on how to do this or a pointer to a how-to would greatly be appreciated. Jens