Re: update os

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

 



Hello All,
Thanks for reply
In Centos,  /etc/sysconfig/rhn/sources file is exist, which are

*** Start ***

### This describes the various package repositories (repos) that up2date
will
### query for packages. It currently supports apt-rpm, yum, and "dir" repos.

### Format is one repository (repo) entry per line, # starts comments, the
### first word on each line is the type of repo.

### The default RHN (using "default" as the url means use the one in the
### up2date config file). This is required.
#up2date default

### Note: when a channel label is required for the non up2date repos,
### the label is solely used as an internal identifier and is not
### based on the url or any other info from the repos.

### An apt style repo (the example is arjan's 2.6 kernel repo).
### The format is:
### type  channel-label      service:server        path        repo name
#apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

### Note: for apt repos, there can be multiple repo names specified (space
### seperated).

### A yum style repo. The format is:
### type  channel-label     url
#yum fedora-core-development
http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH/

### A local directory full of packages (a "dir" repo). For example:
#dir my-favorite-rpms /var/spool/RPMS/

# Multiple versions of all repos except "up2date" can be used. Dependencies
# can be resolved "cross-repo" if need be.

yum centos4-Base http://mirror.centos.org/centos/4/os/$ARCH/
yum centos4-Updates http://mirror.centos.org/centos/4/updates/$ARCH/
yum centos4-extras http://mirror.centos.org/centos/4/extras/$ARCH/
#yum centos4-contrib http://mirror.centos.org/centos/4/contrib/$ARCH/
yum centos4-addons http://mirror.centos.org/centos/4/addons/$ARCH/
#yum centos4-centosplus http://mirror.centos.org/centos/4/centosplus/$ARCH/
 *** End ***


From: "Nabeel Moidu" <nabeelmoidu@xxxxxxxxx>
Subject: Re: update os

Do you have the /etc/sysconfig/rhn/sources file ?
The steps I'd given was for RHEL based on up2date. I'm not sure whats
the CENTOS equivalent for the /etc/sysconfig/rhn/sources file.
Maybe someone with more exp on centos can help you. btw if you do have
the above file, please post the contents of it.

--
Thanks and Regards
Nabeel Moidu
Doha, Qatar

On Thu, Jun 26, 2008 at 5:16 PM, Vivek Mangal <vivek.mangal9685@xxxxxxxxx>
wrote:

> hello All,
> Thanks for the reply and help me
> but their is still a problem
> The link which you gave me show these steps, which are
>
> ***start****
>
> 1) Download the isos for the specific version from
> https://rhn.redhat.com/rhn/software/downloads/SupportedISOs.do using the
> rhn login.
>
> 2) Mount the CDs/DVD and copy the rpm packages in the RPMS folder in it to
> a particular folder like say /var/spool/RPMS/.
>
> 3) Open the file /etc/sysconfig/rhn/sources and comment the line
>
>    #up2date default
>
>  Modify the line beginning "# dir my-favorite-rpms "
>
>    dir UPDA-RPMS /var/spool/RPMS/
>
>  Save the file and exit.
>
> 4) Run the following command
>
>   [root@rhel ~]# up2date --configure
> 0.  adminAddress       ['root@localhost', '']
> 1.  debug              No
>
>
>
> ==SNIPPED==
> 19. pkgSkipList        ['kernel*', '']
> 20. pkgsToInstallNotUp ['kernel', 'kernel-modules', 'kernel-devel', '']
>
>
>
> ==SNIPPED==
> Enter number of item to edit :
>
>  Edit the pkgSkipList to include the kernel rpms for update.
>
> 5) Make sure the server is backed up in the current state. Then run the
> command
>
>    [root@rhel ~]# up2date -u
>
>  If all goes well the system will update to the version of the dvd we have
> put in the /var/spool/RPMS folder.
>
> 6) Reboot the server for the new kernel to be loaded. To verify the update,
> run
>
>    [root@rhel ~]# cat /etc/redhat-release
>
> ****End****
> when i run up2date -u command
> it show me an error
> There was some sort of I/O error: <urlopen error (-3. 'Temporary failure in
> name resolution')>
>
> Now tell me what i do ?
>
> >>On Wed, Jun 25, 2008 at 2:42 PM, Vivek Mangal
> >><vivek.mangal9685@xxxxxxxxx> wrote:
> >> Hello All,
> >>
> >> and i want to update my PC which have Centos 4.2
> >> now i want to update it into Centos 4.4
> >> and for this i have Centos 4.4 in DVD
> >> when i tried to update it
> >> Firstly it asked to recreate the partition table
> >> and after that it asked to make a Server/ Workstation/desktop
> >> but did not ask me to update it.
> >> then tell me how can i update my system using DVD ?
> >> --
> >
> >Try this to update RHEL/CENTOS to a specific version..
> >
> >
> http://nmkuttiady.blogspot.com/2008/06/updating-rhel-to-specific-version_25.html
> >
> >
> >
> >Thanks and Regards
> >Nabeel Moidu
> >Doha, Qatar
>
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux