Re: RHN Channels on RHL 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you William, Tom, and Declan.  

The issue was resolved by commenting out the following two lines in the
etc/sysconfig/rhn/up2date file:

versionOverride[comment]=Override the automatically determined system
version

and 

versionOverride=8.0

Admittedly, I needed some help with this.  For those of you who are in
the early phases of learning about RHL (like me), here is what I did:

- Open terminal 
- su - root <enter> (You must have root privileges -- I started from a
user account.)
- (enter your root password) <enter>
- vi /etc/sysconfig/rhn/up2date <enter>
- i (to insert in vi)
- Find the two lines from above -- they should be consecutive
- Insert a "#" at the beginning of each line
- Press <Esc> (to exit from insert mode in vi)
- Press "ZZ" (capital letters -- saves your changes and exits vi)
- Type "exit" <enter> (to end root privileges in terminal) 
- Run up2date as you would otherwise

Hope this helps!
-Jake

On Thu, 2003-05-22 at 11:27, Tom Ryan wrote:
> Try up2date -p
> 
> That should fix your problem.
> 
> Tom
> 
> On 22 May 2003, Jake Mazur wrote:
> 
> > My apologies to you, William, and the listserve.  I'll send my replies
> > to the listserve from now on.  
> > 
> > You asked about the output from /etc/sysconfig/rhn/.  Here it is:
> > total 56
> > drwxr-xr-x    2 root     root         4096 May 22 09:18 .
> > drwxr-xr-x    8 root     root         4096 May 21 19:29 ..
> > -rw-r--r--    1 root     root          270 Apr 29 10:34 rhn-applet
> > -rw-r--r--    1 root     root           13 Feb 24 21:52 rhnsd
> > -rw-------    1 root     root         1304 May 21 18:01 systemid
> > -rw-------    1 root     root         1302 May 21 17:24 systemid.save
> > -rw-------    1 root     root         2931 Feb  5 23:00 up2date
> > -rw-------    1 root     root         1160 Aug 29  2002
> > up2date-keyring.gpg
> > -rw-r--r--    1 root     root         2303 Jan 16 03:07 up2date.rpmnew
> > -rw-------    1 root     root           97 Apr 29 10:18 up2date-uuid
> > -rw-------    1 root     root        12288 May 21 10:16
> > .up2date:versionOverride=9.swp
> > 
> > The .up2date:versionOverride=9.swp file was created after I followed a
> > suggestion from one of the archived threads from this listserve.  Per
> > that message, as root, I did:
> > rpm --query redhat-release
> > cat /etc/redhat-release
> > up2date --upgrade-to-release=9 --update
> > 
> > Responses were, respectively:
> > redhat-release-9-3
> > Red Hat Linux release 9 (Shrike)
> > (the up2date command performed the update)
> > 
> > Unfortunately, after all of that, I am now getting the exact opposite of
> > the problem I was having initially:  the RHN update notification icon is
> > showing that my PC is up to date, but up2date is showing multiple
> > updates available.  
> > 
> > I am open to your suggestions.  
> > 
> > Thank you, 
> > -Jake
> > 
> > On Wed, 2003-05-21 at 21:45, William Hooper wrote:
> > > Please send replies to the list.  If the previous person had done that,
> > > you might have your answer by now...
> > > 
> > > Jake Mazur said:
> > > > Good Morning, William,
> > > >
> > > > Thank you for your suggestions.  Unfortunately, I was unable to resolve
> > > > the
> > > > issue... yet.  I did narrow down the issue to the following file:
> > > > /etc/sysconfig/rhn/versionOverride=8.0
> > > >
> > > > The file does not appear in Nautilus.
> > > 
> > > Hmm.  I have no such file.
> > > 
> > > > I used grep -i version
> > > > /etc/sysconfig/rhn/*
> > > > to see the file names, but how do I edit it to point to version 9?  Do you
> > > > have any
> > > > suggestions?
> > > 
> > > This returns nothing for me either (of course mine is working).  Maybe
> > > there is an extra file left over that you need to remove?  Please post the
> > > output of:
> > > 
> > > $ cd /etc/sysconfig/rhn/
> > > $ ls -al
> > > 
> > > > I am fairly new to the terminal, so this question is
> > > > probably
> > > > showing my inexperience.
> > > >
> > > > Warmest Regards and Thanks,
> > > > -Jake Mazur
> > > 
> > > Inexperience is no problem, we were all there at some point.  As long as
> > > you are open minded and have a desire to learn you should be OK.
> > 
> 
> -- 
> _______________________________________________________________________
> Tom Ryan                                            Voice: 856-225-6361
> Consulting System Administrator                       Fax: 856-969-7900
> Rutgers School of Law - Camden
-- 
Jake Mazur <jakubmazur@xxxxxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux