SCIENTIFIC-LINUX-USERS Archives

May 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 20 May 2016 23:54:48 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On Fri, May 20, 2016 at 8:50 PM, Yasha Karant <[log in to unmask]> 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.)

ATOM RSS1 RSS2