On Fri, May 20, 2016 at 8:50 PM, Yasha Karant <[email protected]> wrote: > > Would someone please remind me how to do the following. > > The current SL 7.2 DVD does not have an upgrade in place choice (only from a > SL 7.x system; EL does not support upgrade between different major > releases). I recall that someone explained that one can treat the DVD as an > upgrade repository, point yum or some other utility (possibly a GUI) to the > (mounted?) DVD, and then an ungrade in place without considering the process > a new install (e.g., requesting time zone, etc.) will automagically happen.
This should do it (untested): Mount DVD. # cat > /etc/yum.repos.d/dvd.repo <<EOF [dvd] name=dvd baseurl=file:///path_to_dvd_mount enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl7 EOF # yum --disablerepo=\* --enablerepo=dvd update (You don't need to do this if you're tracking the 7 or 7x repo.)
