Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Doctor V on 5 March 2003, 05:58
-
When I update my redhat system at home, I just open up the redhat network while in kde, it prompts me for the root password and then does all the searching and prompts me for everything. However, not I am to update redhat remotely, not using KDE, doing it all from the command line (need to update sendmail). Is there an easy way to do this? All that I know of is downloading the rpm, ftping it over, and installing it, not being able to, getting all dependancy packages, trying again, getting the dependancy files for the packages upon which sendmail depends, blah you know what I mean. I am hoping there is a faster and easier way to update the packages using the command line.
God this makes me feel like a noobie,
Thanks in advance,
V
-
up2date is a good command.
Although I think that is just the command to bring up the GUI. I think u have to add different paramaters to do it all on the command line.
[ March 05, 2003: Message edited by: SAJChurchey ]
-
I don't want to do it on a gui, I can't do it on a gui. I'm doing it remotely. All with the command line.
-
# up2date
Is command line. You might want to configure it: http://www.redhat.com/docs/manuals/RHNetwork/ref-guide/3.3/up2date-config-text.html (http://www.redhat.com/docs/manuals/RHNetwork/ref-guide/3.3/up2date-config-text.html)
-
ok, I gotcha, up2date.
without the command line is:
up2date --nox
however, when I run that, it says it needs to record the user, which I am assuming to be my redhat network login name and password. I don't know how to set that up, it dosn't seem to be available under
up2date --nox --configure
-
And to follow up on that issue, after searching I found that I needed to register the system on RHN, and the commands to do that in the command line are:
rhn_register --nox --configure
rhn_register --nox
after using that I registrerd the system, which included creating an account and giving RH all kinds of info, and took lots of time, after that running the above
up2date --nox --nosig -u
(who needs the damn key) started updating everything, lets see how it goes, I was told to update everything so its going to take a while.
V
-
And in the end all is well, everything installed properly. Not so difficult, thanks for your help SAJChurchey and TheQuirk.
:cool:
V