Difference between revisions of "Red Hat Registration"
Line 12: | Line 12: | ||
rpm -q rhn-client-tools<br> | rpm -q rhn-client-tools<br> | ||
rhn-client-tools-0.4.13-1.el5<br> | rhn-client-tools-0.4.13-1.el5<br> | ||
+ | |||
+ | '''Problems with Red Hat 5'''<br> | ||
+ | <source lang="text> | ||
+ | |||
+ | -rw-r--r-- 1 root root 3584000 Nov 6 11:30 registration_update-rhel-5.tar.gz | ||
+ | |||
+ | -rw-r--r-- 1 root root 387571 Sep 3 2012 hal-0.5.8.1-64.el5.x86_64.rpm | ||
+ | -rw-r--r-- 1 root root 510748 Jul 25 2012 m2crypto-0.16-9.el5.x86_64.rpm | ||
+ | -rw-r--r-- 1 root root 91514 Sep 6 2010 python-dmidecode-3.10.13-1.el5_5.1.x86_64.rpm | ||
+ | -rw-r--r-- 1 root root 34363 Jul 26 2012 python-iniparse-0.2.3-6.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 47454 May 21 2014 rhn-check-0.4.20.1-9.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 944636 May 21 2014 rhn-client-tools-0.4.20.1-9.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 73624 Aug 22 2013 rhnlib-2.5.22.1-6.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 34839 Oct 11 2012 rhnsd-4.7.0-14.el5.x86_64.rpm | ||
+ | -rw-r--r-- 1 root root 126934 May 21 2014 rhn-setup-0.4.20.1-9.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 157546 May 21 2014 rhn-setup-gnome-0.4.20.1-9.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 1034777 Jul 24 2012 yum-3.2.22-40.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 26063 Jul 18 2012 yum-metadata-parser-1.1.2-4.el5.x86_64.rpm | ||
+ | -rw-r--r-- 1 root root 73718 Sep 10 2013 yum-rhn-plugin-0.5.4.1-7.el5.noarch.rpm | ||
+ | -rw-r--r-- 1 root root 23245 Aug 4 2014 yum-updatesd-0.9-6.el5_10.noarch.rpm | ||
+ | |||
+ | |||
+ | # rpm -Uvh *.rpm --replacefiles | ||
+ | warning: hal-0.5.8.1-64.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 | ||
+ | error: Failed dependencies: | ||
+ | pm-utils >= 0.99.3-6 is needed by hal-0.5.8.1-64.el5.x86_64 | ||
+ | # rpm -q pm-utils | ||
+ | pm-utils-0.19-3 | ||
+ | |||
+ | |||
+ | |||
+ | </source> |
Revision as of 14:20, 6 November 2015
subscription-manager list --available --all
or
subscription-manager list ( to see the current machine )
Check for software updates - gpk-update-viewer
Update the operating system - yum update
Install a specific package - yum install vsftpd
To update a specific package - yum update bind
Checking a certificate :
openssl s_client -connect xmlrpc.rhn.redhat.com:443 -CAfile /usr/share/rhn/RHNS-CA-CERT
rpm -q rhn-client-tools
rhn-client-tools-0.4.13-1.el5
Problems with Red Hat 5
Invalid language.
You need to specify a language like this: <source lang="html4strict">...</source>
Supported languages for syntax highlighting:
4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic
-rw-r--r-- 1 root root 3584000 Nov 6 11:30 registration_update-rhel-5.tar.gz -rw-r--r-- 1 root root 387571 Sep 3 2012 hal-0.5.8.1-64.el5.x86_64.rpm -rw-r--r-- 1 root root 510748 Jul 25 2012 m2crypto-0.16-9.el5.x86_64.rpm -rw-r--r-- 1 root root 91514 Sep 6 2010 python-dmidecode-3.10.13-1.el5_5.1.x86_64.rpm -rw-r--r-- 1 root root 34363 Jul 26 2012 python-iniparse-0.2.3-6.el5.noarch.rpm -rw-r--r-- 1 root root 47454 May 21 2014 rhn-check-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 944636 May 21 2014 rhn-client-tools-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 73624 Aug 22 2013 rhnlib-2.5.22.1-6.el5.noarch.rpm -rw-r--r-- 1 root root 34839 Oct 11 2012 rhnsd-4.7.0-14.el5.x86_64.rpm -rw-r--r-- 1 root root 126934 May 21 2014 rhn-setup-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 157546 May 21 2014 rhn-setup-gnome-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 1034777 Jul 24 2012 yum-3.2.22-40.el5.noarch.rpm -rw-r--r-- 1 root root 26063 Jul 18 2012 yum-metadata-parser-1.1.2-4.el5.x86_64.rpm -rw-r--r-- 1 root root 73718 Sep 10 2013 yum-rhn-plugin-0.5.4.1-7.el5.noarch.rpm -rw-r--r-- 1 root root 23245 Aug 4 2014 yum-updatesd-0.9-6.el5_10.noarch.rpm # rpm -Uvh *.rpm --replacefiles warning: hal-0.5.8.1-64.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: pm-utils >= 0.99.3-6 is needed by hal-0.5.8.1-64.el5.x86_64 # rpm -q pm-utils pm-utils-0.19-3