Jump to content
Sign in to follow this  
Owyn

RedHat 9 Updates (and CD)

Recommended Posts

I thought I better get a local copy of all RH9 critical updates.Reasons:1)My up2date demo account was for another system and was coming up to it's first 60 day expiry.2)I want to see if I can get the equivalent of the Mandrake Update CD working for RH93)I expect RedHat to close down access to these updates in the near future.I decided to combine it with another practical experiment in ftp tools.This time, "ncftp"The initial process-------------------------------# mkdir rhupdates# cd rhupdates# ncftp updates.redhat.comncftp> get -R 9ncftp> byeThe questions---------------------------------Should this work in principle?What about in practice? Is there an apt-get or urpmi for RedHat?

Share this post


Link to post
Share on other sites
Yep. I knew it would work with wget. Just happened to be in a mood to experiment with other ftp tools. :DWorking. But I will probably stick with wget for the big jobs.
apt-get does exist for redhat, apt4rpm (I believe).http://apt.freshrpms.net/http://apt4rpm.sourceforge.net/tranquilo
Tx. Will give it a try after I install a minimal RH9 system on my test system. I blew away my prior RH9 install for Mdk91.

Share this post


Link to post
Share on other sites
Are there other (non-official) mirrors you could download from? Would that help  :thumbsup:  :rolleyes:
Probably. But I thought I would start the process directly from RedHat. Getting clean 160KB from site, so should have everything downloaded soon.

Share this post


Link to post
Share on other sites
Apt4rpm brings the following features:    * Support for multiple distributions/versions/architectures in a single apt repository.    * "Atomic" switching from an old apt repository to the newly created one.    * Analyzes the rpm packages in the rpm repository and creates a unified apt package name. This mechanism uses caching to speed up the creation of a subsequent created apt repository. The rpm name, version and architecture are stored seperately in the cache. This makes it possible to easily search for 1 particular rpm throughout the whole apt repository.    * Can create signed repositories.    * Can mirror download server directories after downloading the apt repository will be created.    * Can be run without root priveledge.    * If possible it will mark a package as a security update, and will put it in the "security" component of the apt repository.    * Provides an example sources.list file for the "file:", "ftp://" and "http://" method.    * The apt repository is created with links from the rpm repository. The rpm repository can have any format. Rpms can be filtered with accept/reject rules.    * Creates seperated binary, patch and source rpms components automatically.    * A single XML formatted config file    * The existing apt repository component is preserved if the underlying rpm repository did not change. This prevents unneccessary downloads by the apt client and saves resources at the server.    * The source-rpm apt components can be provided in a flat or noflat structure. Switching between those 2 can be performed without problem.    * A most recent rpm list can be created for each component.    * A contents list is created for the whole apt repository.
Looks great. Should do the trick.

Share this post


Link to post
Share on other sites
[owyn@TestMdk92 rhupdates]$ du233M    ./9/en/os/SRPMS27M  ./9/en/os/athlon269M    ./9/en/os/i38627M  ./9/en/os/i58648M  ./9/en/os/i6866.9M    ./9/en/os/noarch610M    ./9/en/os610M    ./9/en610M    ./9610M
Got everything (in updates) for RH9. Will fit nicely on a CD.

Share this post


Link to post
Share on other sites

Owyn,Another fabulous idea/project!! Worked great! :)Tranquilo,Thank you, the "Apt4RPM" program is tremendous...it truly makes updating/upgrading RH and even Fedora, as concisely as Debian...fantastic!! :thumbsup:

Share this post


Link to post
Share on other sites

This is true. Apt-get does work very well... upgrading is very easy. I read that fedora also has something called yum, which is similar to apt-get. You will have to give us your fedora report ;)tranquilo

Share this post


Link to post
Share on other sites
Owyn,Another fabulous idea/project!! Worked great! :)Tranquilo,Thank you, the "Apt4RPM" program is tremendous...it truly makes updating/upgrading RH and even Fedora, as concisely as Debian...fantastic!! :thumbsup:
Quint:You beat me to it. :rolleyes: I just finished installing RH9 and doing some checking on sound configuration. Checking in from RH9 before starting updates.Did you go with a local copy or use the freshrpms repository?Tranquilo:The yum setups are also available via the configuration file links at your freshrpms link.

Share this post


Link to post
Share on other sites

I am back in Fedora. I tried a dozen times to install RH and it would not install on my system. I tried every configuration I could think of but it just would not install so I went back and reinstalled Fedora, making sure I got all the packages I wanted in the initial install instead of the defaults. It crashed before every time I tried to add sndconfig or something like that so I made sure I installed it the first time.It is now added into my lilo. It would not take my partitioning from Mandrake. Nor would it let me partition it. I ended up doing the autoconfig and it took 57 GB for /. I do believe I will be going back in Mandrake and resizing that one! :D Did not find anything called Yum but it has "Up2Date" that goes in and checks for new packages. Nothing new yet according to that.

Share this post


Link to post
Share on other sites
I am back in Fedora.  I tried a dozen times to install RH and it would not install on my system.  I tried every configuration I could think of but it just would not install so I went back and reinstalled Fedora, making sure I got all the packages I wanted in the initial install instead of the defaults.    It crashed before every time I tried to add sndconfig or something like that so I made sure I installed it the first time.It is now added into my lilo.  It would not take my partitioning from Mandrake.  Nor would it let me partition it.  I ended up doing the autoconfig and it took 57 GB for /.  I do believe I will be going back in Mandrake and resizing that one!  :D Did not find anything called Yum but it has "Up2Date" that goes in and checks for new packages.  Nothing new yet according to that.
Does that mean I have to burn the ISOs now? :D.Almost got to the point of getting RH9 properly set up.PS: I decided to go the grub route for boot manager. Very simple to install and update master boot menu.1)Install RH9 with grub to root of new RH9 partition.2)At the first boot you will come back to your prior boot menu. Let it default boot to Mandrake.3)Mounted new partition and copied new lines from RH9/boot/grub/menu.lst to the end of Mdk92/boot/grub/menu.lst.4)Rebooted and selected RH9 from menu.I could probably have done it with lilo as well, but, I decided I really liked the function provided by the grub console and chainloading. More value to me than the prettiness of the graphic lilo.---------------Forget up2date. The apt4rpm / apt-get procedure is the way to go. You will not be tied into any RedHat marketting schemes. B) I will leave it to Quint to post details, serves him right for getting it to work before I had a chance to.

Share this post


Link to post
Share on other sites

Owyn quote:

Quint:You beat me to it.I just finished installing RH9 and doing some checking on sound configuration. Checking in from RH9 before starting updates.Did you go with a local copy or use the freshmeat rpms?
Hi Owyn, Thanks again for your idea! My RH9 distro is on my smallest partition (6.5GB), so I'm unable to "keep" very much...that said, your method of obtaining all the "updates" was a God-send; I even ran out of space before the 608MB were finished...I deleted a few files, started over, and much to my surprise/delight, it picked up where it had left off!! :D Excellent..."burned" all to CD, deleted the files/folders...room for next "batch". :D The "APT4RPM", I d/l from "Sourceforge.net", read all the appropriate documents, tried it, simply amazing! Maybe it even works BETTER than in Debian. B) Owyn, you and Tranquilo have enabled me to have a most productive and enjoyable day...thank you both! B) Oh, btw, "YUM" is very interesting, but very powerful - will have to read more on it...but it looks quite promising.

Share this post


Link to post
Share on other sites

Let's just say that if daughter's class next quarter was not Red Hat based, it would not be on my computer. It took all afternoon to get everything loaded right! I don't know how it installed Grub the second time because I did not see a screen asking like the previous install. :D Took a while to get rid of it and reinstall a properly configured Lilo. I did not care for the looks of the Grub screen. I just reduced the partition down to 10 GB. If it does not work when I go back to Fedora then I might not be doing Fedora. The scary part is wondering how daughter's computer will install if she does not bring it home on the plane. I hope she can grab one of those "geeks" from school to come to her room and install it for her! She was real excited after one of them talked to her basic animation class about Perl.

Share this post


Link to post
Share on other sites

Julia:Not sure why you had problems installing. It was fairly straight forward for me, but, I chose the custom route.I pre-created a new 2GB partition via diskdrake and the only thing that was special in diskdruid was setting a "/" mount point for the partition. Other than that, I trimmed the package selection down to the basic minimum to test Gnome/KDE/Updates and Configuration. Total install was about 1350MB.My effective disk space is of course much larger than that. I can mount other partitions on this system or my network as required, and, of course the common swap file for all distros.Switching topics.When you are ready to test the sound on your system open a new topic and we can discuss it there. I have found instructions on adding alsa to RH9 and probably Fedora, but, have not yet had time to test them.

Share this post


Link to post
Share on other sites

Okay. Sound will be another day. Bruno told me not to touch the computer again today. Actually I am about ready to crash for the night. I have done enough tinkering for the day.I have no idea why Red Hat did not like my computer. It would freeze in IceWM right after running the monitor, video card, and mouse config every time, even when I told it to do a text install! I might put my extra stick in my computer before I do anymore software tinkering. :D

Share this post


Link to post
Share on other sites
Okay.  Sound will be another day.  Bruno told me not to touch the computer again today.  Actually I am about ready to crash for the night.  I have done enough tinkering for the day.I have no idea why Red Hat did not like my computer.  It would freeze in IceWM right after running the monitor, video card, and mouse config every time, even when I told it to do a text install!  I might put my extra stick in my computer before I do anymore software tinkering. :D
No idea of why the install problems, but, the install cheat codes that Tranquilo posted may help. Leave it till Bruno is available.No problem on holding off on the sound tests. I still need to get apt4rpms working, etc.Take care and get some sleep. My worst disasters came from pushing too hard and too long.

Share this post


Link to post
Share on other sites

Owyn quote:

Forget up2date. The apt4rpms / apt-get procedure is the way to go. You will not be tied into any RedHat marketting schemes.
I never was able to get "up2date" to work...it asked, and expected, too much information...always gave me errors, when I refused to feed it what it wanted. That experience is just adding to my enjoyment over "APT4RPM". :D

Share this post


Link to post
Share on other sites

I went through many of those including the noapic, the text, noprobe.......Maybe I will figure it out eventually. The screen just did not give me any clues, even when killing, as to what was causing it to hang. Just a screen with a red hat on it and nothing else! This is it for the night for me. Morning comes way to early around here.

Share this post


Link to post
Share on other sites

It looks like it can handle the 1GB of RAM so that is one test out of the way. It is amazing the progress made in just a few short months. Now if I can get eveyrthing else to wrok. Tried to install apt4RPM but it had some dependency problems. I wish I had the MCC to do things!

Share this post


Link to post
Share on other sites
Tried to install apt4RPM but it had some dependency problems.
Julia:I installed "rpm -ihv apt-0.5.5cnc6-fr1.i386.rpm" without any dependency problems on an unpatched vanilla RH9 system. In fact, it was the first thing I did on the system.

Share this post


Link to post
Share on other sites

Oops. Sorry, I see your problem.

[root@TestRH9 apt4rpm]# rpm -ihv apt4rpm-0.65.2-0.noarch.rpmerror: Failed dependencies:        apt-server is needed by apt4rpm-0.65.2-0        perl-XML-LibXML is needed by apt4rpm-0.65.2-0
This should help.

Share this post


Link to post
Share on other sites

Let me bounce back to Fedora. I had just switched back to Drake after a botched Slack install (disk trash now).

Share this post


Link to post
Share on other sites
Let me  bounce back to Fedora.
Ok. But I will have to postpone my involvement till tomorrow. Hopefully Quint can pop in and help. I think he allready has a Fedora distro running.

Share this post


Link to post
Share on other sites

Julia,This was the file I used for "Fedora Core1":Fedora...but all I did was this:supasswordrpm -Uvh apt-0.5.5cnc7-1.fr.i386.rpmHTH. :whistling:

Share this post


Link to post
Share on other sites

Got back and have been reviewing the various update options.The options (for RedHat) break down as follows:1)up2date: Native for RedHat9. A bit complicated to set up. Biggest restriction is limited access (single system demo account) and fees. Service may not be available in the future. Proprietary service. Works well once installed. Not available for Fedora.2)apt-rpm: Requires apt-enabled repositories as sources. Simple to install (no dependency issues) on RH9 or Fedora Core 1. Original OS images not apt enabled, instrtuctions available at link for creating apt enabled CDs. Repositories available on net for easy upgrade. May need broadband for large updates. Managing arbritary collections of rpms difficult. 3)apt4rpm: Addresses the issues of creating repositories from arbritary collections of rpms, including original installation Cds. This makes it easy to install new, missed, or updated apps. Easy to use local sources in preference to net. Tricky to get installed on vanilla RH9 system (lots of dependencies).4)yum: Fedora's replacement for up2date. Originally from Yellow Dog Linux. Has been effectively deployed in enterprises. Similar design objectives to apt4rpm. May be the best long term solution.5)RedCarpet: A very good (currently) free service for upgrade of Gnome and Ximian packages.This article gives a good comparison of some of the tools. It is a bit out of date but is a good introduction to the subject.-----------Past the witching hour. Next installment, getting Yum to work in RH9 and Fedora.

Share this post


Link to post
Share on other sites

Installed without a hitch Quint!Fedora definitely has some nice choices in Gnome for wall papers and screensavers. It has been a long time since I have seen flying toasters and bouncing cows - like 10 - 15 years - but it is fun to see. I now have a flower garden on my desktop! No allergies this way! :lol:

Share this post


Link to post
Share on other sites
yum (RedHat 9)==============Updating your system to latest for installed known packages can be almost trivial with yum.
1)Download Stable for Red Hat Linux 9: yum-2.0.4-1.noarch.rpm (Check the link above to see if a later version is available).2)Install yum# su# rpm -ivh yum-2.0.4-1.noarch.rpm3)Update your system# yum update
I actually did it in several more steps. I wanted to test out the various functions and get a better feel of how yum would work in production use. More about that in a moment.My conclusions after finishing the tests remained the same as before, yum may be the best long term package manager. But it is not there yet.The biggest advantage of yum is that it's database is composed of a small header list file (header.info) and individual .hdr files for each package. The .hdr files are extracted from the .rpm files. When a package is added or changed only the header list and package .hdr files are downloaded/updated. Contrast this with downloading relatively massive monolithic rpm databases each time for sometimes only a few (or worse no) changes.There are other advantages, see Yum: Support/Questions for details.The biggest disadvantage of Yum (at this time) is that it does not support arbritary file: based repositiories. It is not the best choice for dial up users. The time saved in updating the headers can easily be lost by the time required to download copies of rpms which are allready available from an installation CD. This is likely to change.
If I can get file URLs working sanely it would mean anyone could use it w/o a server at all.
This does not mean that Yum can not be customized. In fact it is used that way today in production at Duke, Fermi Labs, etc. Again. quoting from Support/Questions
Q. Why not use Current and up2date?A. I don't like the client-server model of Current and up2date. It means you have to deal with a custom server and the server side then becomes the bottleneck. Using a normal ftp/http server means almost anyone can do it. If I can get file URLs working sanely it would mean anyone could use it w/o a server at all. Also up2date doesn't support multiple repositories. Which makes it a horrible pain in my environment. We have many departments using the same core linux installation but they each have their own custom packages they like to install. Rather than have to put up with lots of requests to have them put into the main tree so automatic updates work, I can just tell them to set up their own Yum repository and stop bothering me :lol:
See "man yum" for more details.------------------------------------Next installment, RedHat9 yum detail test report

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...