当前位置:   article > 正文

升级 Oracle Linux 6 到 7_oracle6.10升级到oracle7.6

oracle6.10升级到oracle7.6

本实验参考:

  • https://docs.oracle.com/en/operating-systems/oracle-linux/7/install/ol7-upgrade.html#ol7-upgrade-inplace
  • https://kerneltalks.com/linux/how-to-upgrade-from-oracle-linux-6-to-oracle-linux-7/

本实验为操作系统就地升级(In-Place Upgrade),从Oracle Linux 6.9升级到7.9。

升级前已经下载好Oracle Linux 7.9的介质:

$ wget http://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/OracleLinux-R7-U9-Server-x86_64-dvd.iso
$ ls -lh *iso
-rw-r--r--. 1 oracle oinstall 4.6G May 28 13:02 OracleLinux-R7-U9-Server-x86_64-dvd.iso
  • 1
  • 2
  • 3

Oracle Linux安装介质位于这里 , 下载方法参考这里

运行以下命令先升级到Oracle Linux 6的最新版6.10:

# yum update -y
# uname -a
Linux bigdatalite.localdomain 4.1.12-112.14.1.el6uek.x86_64 #2 SMP Fri Dec 8 18:36:27 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@bigdatalite oracle]# lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: OracleServer
Description:    Oracle Linux Server release 6.10
Release:        6.10
Codename:       n/a

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

安装升级所需包,由于这些包在ol6_addons repository中,因此需要修改/etc/yum.repos.d/public-yum-ol6.repo文件,将以下的enabled从0改为1:

[ol6_addons]
name=Oracle Linux $releasever Add ons ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

安装升级所需包:

# yum install redhat-upgrade-tool preupgrade-assistant \
  preupgrade-assistant-el6toel7 preupgrade-assistant-el6toel7-data-0 \
  preupgrade-assistant-tools preupgrade-assistant-ui openscap
  • 1
  • 2
  • 3

运行安装前检查程序:

# preupg
The Preupgrade Assistant is a diagnostics tool
and does not perform the actual upgrade.
Do you want to continue? [Y/n]
Y
Gathering logs used by the Preupgrade Assistant:
All installed packages                                 : 01/10 ...finished (time 00:00s)
All changed files                                      : 02/10 ...finished (time 05:06s)
Changed config files                                   : 03/10 ...finished (time 00:00s)
All users                                              : 04/10 ...finished (time 00:00s)
All groups                                             : 05/10 ...finished (time 00:00s)
Service statuses                                       : 06/10 ...finished (time 00:00s)
All installed files                                    : 07/10 ...finished (time 00:03s)
All local files                                        : 08/10 ...finished (time 00:13s)
All executable files                                   : 09/10 ...finished (time 00:01s)
Oracle signed packages                                 : 10/10 ...finished (time 00:00s)
Assessment of the system, running checks / SCE scripts:
001/141 ...done    (Configuration files to be reviewed) (time: 00:02s)
002/141 ...done    (File lists for the manual migration) (time: 00:00s)
003/141 ...done    (Bacula Backup Software) (time: 00:00s)
004/141 ...done    (MySQL configuration) (time: 00:00s)
005/141 ...done    (MySQL data stack) (time: 00:00s)
006/141 ...done    (Changes related to moving from MySQL to MariaDB) (time: 00:00s)
007/141 ...done    (PostgreSQL) (time: 00:00s)
008/141 ...done    (GNOME desktop environment) (time: 00:00s)
009/141 ...done    (KDE desktop environment) (time: 00:00s)
010/141 ...done    (POWER6 processors) (time: 00:00s)
011/141 ...done    (Graphic drivers not supported in Oracle Linux 7) (time: 00:00s)
012/141 ...done    (Input drivers not supported in Oracle Linux 7) (time: 00:00s)
013/141 ...done    (Kernel networking drivers not available in Oracle Linux 7) (time: 00:00s)
014/141 ...done    (Kernel storage drivers not available in Oracle Linux 7) (time: 00:00s)
015/141 ...done    (Oracle Directory Server) (time: 00:00s)
016/141 ...done    (Arptables) (time: 00:00s)
017/141 ...done    (BIND9 in a chroot environment) (time: 00:00s)
018/141 ...done    (BIND9 configuration compatibility) (time: 00:00s)
019/141 ...done    (Moving the 'dhcpd' and 'dhcrelay' arguments) (time: 00:00s)
020/141 ...done    (Dnsmasq) (time: 00:00s)
021/141 ...done    (Dovecot) (time: 00:00s)
022/141 ...done    (Compatibility between iptables and ip6tables) (time: 00:00s)
023/141 ...done    (Net-SNMP) (time: 00:00s)
024/141 ...done    (NFSv2) (time: 00:00s)
025/141 ...done    (OpenLDAP server daemon configuration) (time: 00:00s)
026/141 ...done    (Moving openssh-keycat) (time: 00:00s)
027/141 ...done    (SSH configuration file and SSH keys) (time: 00:00s)
028/141 ...done    (Postfix) (time: 00:00s)
029/141 ...done    (SMB) (time: 00:00s)
030/141 ...done    (Sendmail) (time: 00:00s)
031/141 ...done    (Squid) (time: 00:00s)
032/141 ...done    (VSFTP daemon configuration) (time: 00:00s)
033/141 ...done    (Reusable configuration files) (time: 00:00s)
034/141 ...done    (Changed configuration files) (time: 00:00s)
035/141 ...done    (Rsyslog configuration incompatibility) (time: 00:00s)
036/141 ...done    (VCS repositories) (time: 00:00s)
037/141 ...done    (Added and extended options for BIND9) (time: 00:00s)
038/141 ...done    (Added options in dnsmasq) (time: 00:00s)
039/141 ...done    (Changes in utilities) (time: 00:00s)
040/141 ...done    (Packages from other system variants) (time: 00:03s)
041/141 ...done    (Load balancer support) (time: 00:03s)
042/141 ...done    (Packages not signed by Oracle) (time: 00:03s)
043/141 ...done    (Obsolete RPM packages) (time: 00:02s)
044/141 ...done    (w3m browser) (time: 00:00s)
045/141 ...done    (The qemu-guest-agent package) (time: 00:00s)
046/141 ...done    (The coreutils packages) (time: 00:00s)
047/141 ...done    (The gawk package) (time: 00:00s)
048/141 ...done    (Removed command line options) (time: 00:00s)
049/141 ...done    (The netstat binary) (time: 00:00s)
050/141 ...done    (Quota) (time: 00:00s)
051/141 ...done    (The util-linux (util-linux-ng) binaries) (time: 00:00s)
052/141 ...done    (Removed RPM packages) (time: 00:07s)
053/141 ...done    (TaskJuggler) (time: 00:00s)
054/141 ...done    (Replaced RPM packages) (time: 00:13s)
055/141 ...done    (GMP library incompatibilities) (time: 00:00s)
056/141 ...done    ("not-base" channels) (time: 00:08s)
057/141 ...done    (Package downgrades) (time: 00:04s)
058/141 ...done    (Custom SELinux policy) (time: 00:00s)
059/141 ...done    (Custom SELinux configuration) (time: 00:00s)
060/141 ...done    (Samba SELinux context check) (time: 00:00s)
061/141 ...done    (Removing sandbox from SELinux) (time: 00:00s)
062/141 ...done    (CUPS Browsing and BrowsePoll) (time: 00:00s)
063/141 ...done    (CVS) (time: 00:00s)
064/141 ...done    (FreeRADIUS) (time: 00:00s)
065/141 ...done    (httpd) (time: 00:00s)
066/141 ...done    (The bind-dyndb-ldap configuration file) (time: 00:00s)
067/141 ...done    (Identity Management Server) (time: 00:00s)
068/141 ...done    (IPA Server CA) (time: 00:00s)
069/141 ...done    (Network Time Protocol) (time: 00:00s)
070/141 ...done    (time-sync.target) (time: 00:00s)
071/141 ...done    (OpenLDAP /etc/sysconfig and data compatibility) (time: 00:00s)
072/141 ...done    (The OpenSSH sshd_config file migration) (time: 00:00s)
073/141 ...done    (The OpenSSH sysconfig/sshd file migration) (time: 00:00s)
074/141 ...done    (The quota_nld service) (time: 00:00s)
075/141 ...done    (Moving the disk quota netlink message daemon into the quota-nld package) (time: 00:00s)
076/141 ...done    (System Security Services Daemon) (time: 00:00s)
077/141 ...done    (Tomcat configuration compatibility check) (time: 00:00s)
078/141 ...done    (Detection of LUKS devices using Whirlpool for password hash) (time: 00:00s)
079/141 ...done    (Detection of Direct Access Storage Device (DASD) format on s390x platform for LDL format) (time: 00:00s)
080/141 ...done    (The clvmd and cmirrord daemon management) (time: 00:00s)
081/141 ...done    (Logical Volume Management 2 services) (time: 00:00s)
082/141 ...done    (Device Mapper Multipath) (time: 00:00s)
083/141 ...done    (The scsi-target-utils packages) (time: 00:00s)
084/141 ...done    (Backing up warnquota) (time: 00:00s)
085/141 ...done    (The warnquota tool) (time: 00:00s)
086/141 ...done    (Add-Ons) (time: 00:00s)
087/141 ...done    (Unsupported architectures) (time: 00:00s)
088/141 ...done    (Binaries to be rebuilt) (time: 03:07s)
089/141 ...done    (Debuginfo packages) (time: 00:03s)
090/141 ...done    (Read-only FHS directories) (time: 00:00s)
091/141 ...done    (FHS incompatibilities) (time: 00:00s)
092/141 ...done    (Requirements for the /usr/ directory) (time: 00:00s)
093/141 ...done    (Cluster and High Availability) (time: 00:00s)
094/141 ...done    (The quorum implementation) (time: 00:00s)
095/141 ...done    (The krb5kdc configuration file) (time: 00:00s)
096/141 ...done    (File systems, partitions, and the mounts configuration) (time: 00:00s)
097/141 ...done    (Removable media in the /etc/fstab file) (time: 00:00s)
098/141 ...done    (Libraries with their soname bumped) (time: 00:07s)
099/141 ...done    (Libraries with their soname kept) (time: 00:06s)
100/141 ...done    (Removed .so libraries) (time: 01:11s)
101/141 ...done    (CGROUP_DAEMON in sysconfig scripts) (time: 00:00s)
102/141 ...done    (Checking the system version and variant) (time: 00:00s)
103/141 ...done    (Consequences of upgrading to RHEL 7.6 instead of the latest RHEL minor version) (time: 00:00s)
104/141 ...done    (AIDE) (time: 00:00s)
105/141 ...done    (CA bundles) (time: 00:00s)
106/141 ...done    (Oracle Developer Toolset) (time: 00:00s)
107/141 ...done    (GRUB to GRUB 2 migration) (time: 00:00s)
108/141 ...done    (Grubby) (time: 00:00s)
109/141 ...done    (Obsoleting Hardware Abstraction Layer) (time: 00:11s)
110/141 ...done    (Hyper-V) (time: 00:00s)
111/141 ...done    (Enabled and disabled services in Oracle Linux 6) (time: 00:06s)
112/141 ...done    (Ethernet interface naming) (time: 00:00s)
113/141 ...done    (The /etc/rc.local and /etc/rc.d/rc.local files) (time: 00:00s)
114/141 ...done    (java-1.8.0-ibm compatibility check) (time: 00:00s)
115/141 ...done    (Java upgrade) (time: 00:00s)
116/141 ...done    (The kernel-kdump package) (time: 00:00s)
117/141 ...done    (The cgroups configuration compatibility) (time: 00:00s)
118/141 ...done    (Pluggable authentication modules (PAM)) (time: 00:00s)
119/141 ...done    (Perl modules not distributed by Oracle) (time: 00:25s)
120/141 ...done    (PHP modules not distributed by Oracle) (time: 00:00s)
121/141 ...done    (PolicyKit) (time: 00:00s)
122/141 ...done    (Python packages) (time: 00:03s)
123/141 ...done    (Repositories for Kickstart) (time: 00:00s)
124/141 ...done    (System requirements) (time: 00:00s)
125/141 ...done    (Ruby 2.0.0) (time: 00:00s)
126/141 ...done    (Oracle Software Collections (RHSCL)) (time: 00:00s)
127/141 ...done    (Oracle Subscription Manager) (time: 00:00s)
128/141 ...done    (Oracle Network Classic unsupported) (time: 00:00s)
129/141 ...done    (Copying Kickstart) (time: 00:00s)
130/141 ...done    (The 'tuned' profiles) (time: 00:00s)
131/141 ...done    (UEFI boot loader) (time: 00:00s)
132/141 ...done    (Yaboot) (time: 00:00s)
133/141 ...done    (The yum configuration file) (time: 00:05s)
134/141 ...done    (Dangerous ranges of UIDs and GIDs) (time: 00:00s)
135/141 ...done    (Incorrect usage of reserved UIDs and GIDs) (time: 00:01s)
136/141 ...done    (The libuser.conf file) (time: 00:00s)
137/141 ...done    (NIS ypbind) (time: 00:00s)
138/141 ...done    (NIS Makefile) (time: 00:00s)
139/141 ...done    (NIS server maps) (time: 00:00s)
140/141 ...done    (NIS server UID_MIN and GID_MIN limits) (time: 00:00s)
141/141 ...done    (The NIS server configuration file) (time: 00:00s)
The assessment finished (time 06:27s)
The '/root/preupgrade/cleanconf/etc/maven/maven2-depmap.xml' configuration file already exists in the '/root/preupgrade/cleanconf/etc/maven' directory
The '/root/preupgrade/dirtyconf/etc/sysconfig/rhn/up2date' file already exists in the dirtyconf directory
The '/root/preupgrade/dirtyconf/etc/rsyslog.conf' file already exists in the dirtyconf directory
Result table with checks and their results for 'main contents':
-------------------------------------------------------------------------------------------------------------------
|Bacula Backup Software                                                                        |notapplicable     |
|PostgreSQL                                                                                    |notapplicable     |
|Oracle Directory Server                                                                       |notapplicable     |
|Arptables                                                                                     |notapplicable     |
|BIND9 in a chroot environment                                                                 |notapplicable     |
|BIND9 configuration compatibility                                                             |notapplicable     |
|Moving the 'dhcpd' and 'dhcrelay' arguments                                                   |notapplicable     |
|Dovecot                                                                                       |notapplicable     |
|Net-SNMP                                                                                      |notapplicable     |
|OpenLDAP server daemon configuration                                                          |notapplicable     |
|SMB                                                                                           |notapplicable     |
|Sendmail                                                                                      |notapplicable     |
|Squid                                                                                         |notapplicable     |
|VSFTP daemon configuration                                                                    |notapplicable     |
|Added and extended options for BIND9                                                          |notapplicable     |
|Load balancer support                                                                         |notapplicable     |
|w3m browser                                                                                   |notapplicable     |
|The qemu-guest-agent package                                                                  |notapplicable     |
|TaskJuggler                                                                                   |notapplicable     |
|Custom SELinux configuration                                                                  |notapplicable     |
|Samba SELinux context check                                                                   |notapplicable     |
|FreeRADIUS                                                                                    |notapplicable     |
|The bind-dyndb-ldap configuration file                                                        |notapplicable     |
|Identity Management Server                                                                    |notapplicable     |
|IPA Server CA                                                                                 |notapplicable     |
|OpenLDAP /etc/sysconfig and data compatibility                                                |notapplicable     |
|System Security Services Daemon                                                               |notapplicable     |
|Tomcat configuration compatibility check                                                      |notapplicable     |
|Detection of Direct Access Storage Device (DASD) format on s390x platform for LDL format      |notapplicable     |
|The clvmd and cmirrord daemon management                                                      |notapplicable     |
|Device Mapper Multipath                                                                       |notapplicable     |
|The scsi-target-utils packages                                                                |notapplicable     |
|The quorum implementation                                                                     |notapplicable     |
|The krb5kdc configuration file                                                                |notapplicable     |
|AIDE                                                                                          |notapplicable     |
|java-1.8.0-ibm compatibility check                                                            |notapplicable     |
|The kernel-kdump package                                                                      |notapplicable     |
|PHP modules not distributed by Oracle                                                         |notapplicable     |
|Ruby 2.0.0                                                                                    |notapplicable     |
|Oracle Network Classic unsupported                                                            |notapplicable     |
|Oracle Subscription Manager                                                                   |notapplicable     |
|The 'tuned' profiles                                                                          |notapplicable     |
|Yaboot                                                                                        |notapplicable     |
|NIS ypbind                                                                                    |notapplicable     |
|NIS Makefile                                                                                  |notapplicable     |
|NIS server maps                                                                               |notapplicable     |
|NIS server UID_MIN and GID_MIN limits                                                         |notapplicable     |
|The NIS server configuration file                                                             |notapplicable     |
|POWER6 processors                                                                             |pass              |
|Graphic drivers not supported in Oracle Linux 7                                               |pass              |
|Input drivers not supported in Oracle Linux 7                                                 |pass              |
|Kernel networking drivers not available in Oracle Linux 7                                     |pass              |
|Kernel storage drivers not available in Oracle Linux 7                                        |pass              |
|Dnsmasq                                                                                       |pass              |
|Compatibility between iptables and ip6tables                                                  |pass              |
|time-sync.target                                                                              |pass              |
|The OpenSSH sshd_config file migration                                                        |pass              |
|The quota_nld service                                                                         |pass              |
|Moving the disk quota netlink message daemon into the quota-nld package                       |pass              |
|Detection of LUKS devices using Whirlpool for password hash                                   |pass              |
|Backing up warnquota                                                                          |pass              |
|Add-Ons                                                                                       |pass              |
|Unsupported architectures                                                                     |pass              |
|Debuginfo packages                                                                            |pass              |
|Read-only FHS directories                                                                     |pass              |
|Requirements for the /usr/ directory                                                          |pass              |
|Cluster and High Availability                                                                 |pass              |
|CGROUP_DAEMON in sysconfig scripts                                                            |pass              |
|Checking the system version and variant                                                       |pass              |
|CA bundles                                                                                    |pass              |
|Oracle Developer Toolset                                                                      |pass              |
|Obsoleting Hardware Abstraction Layer                                                         |pass              |
|Hyper-V                                                                                       |pass              |
|The /etc/rc.local and /etc/rc.d/rc.local files                                                |pass              |
|Pluggable authentication modules (PAM)                                                        |pass              |
|System requirements                                                                           |pass              |
|Oracle Software Collections (RHSCL)                                                           |pass              |
|Copying Kickstart                                                                             |pass              |
|The libuser.conf file                                                                         |pass              |
|MySQL configuration                                                                           |informational     |
|MySQL data stack                                                                              |informational     |
|Changes related to moving from MySQL to MariaDB                                               |informational     |
|NFSv2                                                                                         |informational     |
|Postfix                                                                                       |informational     |
|VCS repositories                                                                              |informational     |
|Added options in dnsmasq                                                                      |informational     |
|The coreutils packages                                                                        |informational     |
|The gawk package                                                                              |informational     |
|Removed command line options                                                                  |informational     |
|The netstat binary                                                                            |informational     |
|Quota                                                                                         |informational     |
|The util-linux (util-linux-ng) binaries                                                       |informational     |
|GMP library incompatibilities                                                                 |informational     |
|CVS                                                                                           |informational     |
|Network Time Protocol                                                                         |informational     |
|The warnquota tool                                                                            |informational     |
|FHS incompatibilities                                                                         |informational     |
|File systems, partitions, and the mounts configuration                                        |informational     |
|Removable media in the /etc/fstab file                                                        |informational     |
|Libraries with their soname kept                                                              |informational     |
|Consequences of upgrading to RHEL 7.6 instead of the latest RHEL minor version                |informational     |
|Perl modules not distributed by Oracle                                                        |informational     |
|PolicyKit                                                                                     |informational     |
|UEFI boot loader                                                                              |informational     |
|The yum configuration file                                                                    |informational     |
|SSH configuration file and SSH keys                                                           |fixed             |
|Reusable configuration files                                                                  |fixed             |
|Package downgrades                                                                            |fixed             |
|Custom SELinux policy                                                                         |fixed             |
|CUPS Browsing and BrowsePoll                                                                  |fixed             |
|The OpenSSH sysconfig/sshd file migration                                                     |fixed             |
|Logical Volume Management 2 services                                                          |fixed             |
|Grubby                                                                                        |fixed             |
|Dangerous ranges of UIDs and GIDs                                                             |fixed             |
|File lists for the manual migration                                                           |needs_inspection  |
|Moving openssh-keycat                                                                         |needs_inspection  |
|Changed configuration files                                                                   |needs_inspection  |
|Rsyslog configuration incompatibility                                                         |needs_inspection  |
|Changes in utilities                                                                          |needs_inspection  |
|httpd                                                                                         |needs_inspection  |
|Binaries to be rebuilt                                                                        |needs_inspection  |
|Ethernet interface naming                                                                     |needs_inspection  |
|Java upgrade                                                                                  |needs_inspection  |
|Python packages                                                                               |needs_inspection  |
|Repositories for Kickstart                                                                    |needs_inspection  |
|Incorrect usage of reserved UIDs and GIDs                                                     |needs_inspection  |
|Configuration files to be reviewed                                                            |needs_action      |
|KDE desktop environment                                                                       |needs_action      |
|Packages from other system variants                                                           |needs_action      |
|Packages not signed by Oracle                                                                 |needs_action      |
|Obsolete RPM packages                                                                         |needs_action      |
|Removed RPM packages                                                                          |needs_action      |
|Replaced RPM packages                                                                         |needs_action      |
|"not-base" channels                                                                           |needs_action      |
|Removing sandbox from SELinux                                                                 |needs_action      |
|Libraries with their soname bumped                                                            |needs_action      |
|Removed .so libraries                                                                         |needs_action      |
|GRUB to GRUB 2 migration                                                                      |needs_action      |
|Enabled and disabled services in Oracle Linux 6                                               |needs_action      |
|The cgroups configuration compatibility                                                       |needs_action      |
|GNOME desktop environment                                                                     |fail              |
-------------------------------------------------------------------------------------------------------------------
The tarball with results is stored in '/root/preupgrade-results/preupg_results-210706070803.tar.gz' .
The latest assessment is stored in the '/root/preupgrade' directory.
Summary information:
We have found some critical issues. In-place upgrade or migration is not advised.
Read the file /root/preupgrade/result.html for more details.
Please ensure you have backed up your system and/or data
before doing a system upgrade to prevent loss of data in
case the upgrade fails and full re-install of the system
from installation media is needed.
Upload results to UI by the command:
e.g. preupg -u http://example.com:8099/submit/ -r /root/preupgrade-results/preupg_results-210706070803.tar.gz .
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317

输出在文件 /root/preupgrade/result.html,下载一看,很多错误和警告。鉴于我是测试,于是全部忽略。

开始升级,居然只让升级到7.6:

# redhat-upgrade-tool-cli --iso=OracleLinux-R7-U9-Server-x86_64-dvd.iso --debuglog=/tmp/upgrade.log --cleanup-post
setting up repos...
upgradeiso                                                                                                                 | 3.6 kB     00:00 ...
upgradeiso/primary_db                                                                                                      | 5.2 MB     00:00 ...
The installed version of Preupgrade Assistant allows upgrade only to the system version 7.6.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

那就从edelivery下载7.6:

$ ls -l *.iso
-rw-r--r--. 1 oracle oinstall 4857004032 May 28 13:02 OracleLinux-R7-U9-Server-x86_64-dvd.iso
-rw-r--r--. 1 oracle oinstall 4571791360 Dec 12  2018 V980739-01.iso
  • 1
  • 2
  • 3

然后升级,还是报警告:

$ redhat-upgrade-tool-cli --iso=V980739-01.iso --debuglog=/tmp/upgrade.log --cleanup-post
setting up repos...
upgradeiso                                                                                                                 | 3.6 kB     00:00 ...
upgradeiso/primary_db                                                                                                      | 5.0 MB     00:00 ...
The Preupgrade Assistant has found EXTREME upgrade risks.
Run preupg --riskcheck --verbose to view
 these risks.
Continuing with this upgrade is not
 recommended - the system will be unsupported
 and most likely broken after the upgrade.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

只好不管不顾了:

$ redhat-upgrade-tool-cli --iso=V980739-01.iso --debuglog=/tmp/upgrade.log --cleanup-post --force
setting up repos...
upgradeiso                                                                                                                 | 3.6 kB     00:00 ...
upgradeiso/primary_db                                                                                                      | 5.0 MB     00:00 ...
getting boot images...
vmlinuz-redhat-upgrade-tool                                                                                                | 6.3 MB     00:00 ...
initramfs-redhat-upgrade-tool.img                                                                                          |  58 MB     00:00 ...
setting up update...
upgradeiso/filelists_db                                                                                                    | 3.8 MB     00:00 ...
finding updates 100% [===========================================================================================================================]testing upgrade transaction
rpm transaction 100% [===========================================================================================================================]
rpm install 100% [===============================================================================================================================]
setting up system for upgrade
HOOK-pkgdowngrades: INFO: start with arguments: /root/preupgrade/pkgdowngrades/enforce_downgraded --destdir=/root/preupgrade/pkgdowngrades/rpms --installroot=/root/preupgrade/pkgdowngrades/installroot --rhelupdir=/var/lib/system-upgrade
Loaded plugins: refresh-packagekit
No plugin match for: rhnplugin
Loaded plugins: refresh-packagekit
HOOK-pkgdowngrades: WARNING: The system-config-keyboard-base.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The system-config-keyboard.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The ncurses-base.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The texlive-dvips.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The texlive-latex.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Pod-Escapes.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Pod-Simple.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Module-Pluggable.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Locale-Maketext-Simple.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Params-Check.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Module-Load.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Module-Load-Conditional.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Log-Message.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Package-Constants.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-IO-Zlib.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Archive-Tar.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Log-Message-Simple.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Term-UI.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Object-Accessor.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Module-CoreList.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Module-Loaded.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Parse-CPAN-Meta.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-parent.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-CGI.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-ExtUtils-ParseXS.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Test-Harness.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-ExtUtils-MakeMaker.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-IPC-Cmd.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-File-Fetch.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Archive-Extract.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-ExtUtils-CBuilder.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Module-Build.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-CPANPLUS.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-CPAN.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-Test-Simple.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The perl-ExtUtils-Embed.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The 'plymouth-system-theme' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The 'hwdata' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The polkit-docs.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The 'rhn-client-tools' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The 'rhn-check' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The 'dracut' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The samba-common.x86_64 package switched to 'noarch' in the next RHEL release.
HOOK-pkgdowngrades: WARNING: The 'rhn-setup' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The 'rhn-setup-gnome' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: WARNING: The 'man-pages-overrides' package is not noarch anymore, x86_64 will be installed.
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libgcc.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'fontpackages-filesystem.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'redhat-release-server.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'liberation-fonts-common.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gl-manpages.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dejavu-fonts-common.noarch'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'tzdata.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'mozilla-filesystem.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'ncurses-base.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'oraclelinux-release.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'setup.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'bash.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'filesystem.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'basesystem.noarch'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-softokn-freebl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'glibc-common.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'glibc.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libstdc++.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nspr.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-util.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'ncurses-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libsepol.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'pcre.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libselinux.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'zlib.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'info.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'xz-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libffi.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'sed.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libuuid.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'bzip2-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'popt.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'chkconfig.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libdb.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'expat.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'grep.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'elfutils-libelf.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libattr.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libacl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libcap.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libcom_err.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'p11-kit.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libpng.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'freetype.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'mesa-libglapi.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libjpeg-turbo.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libwayland-client.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libxml2.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'findutils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cpio.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gawk.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gmp.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libcap-ng.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'audit-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libgpg-error.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libgcrypt.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libwayland-server.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'xz.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'readline.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'lua.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'sqlite.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-softokn.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libidn.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'diffutils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libmnl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libnfnetlink.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXau.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libxcb.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'pixman.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libICE.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libxshmfence.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'lz4.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libtasn1.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'p11-kit-trust.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'ca-certificates.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libSM.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'xcb-util.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libnetfilter_conntrack.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'iptables.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'iproute.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'nettle.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libwayland-cursor.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'jasper-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'acl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'tar.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd-opengl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libdb-utils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'groff-base.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'kmod-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'which.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'ncurses.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'graphite2.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libmodman.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libproxy.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'sysvinit-tools.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'fribidi.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gpm-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libsmartcols.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'ustr.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libsemanage.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libverto.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'qrencode-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gdbm.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-parent.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-HTTP-Tiny.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-podlators.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Pod-Perldoc.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Text-ParseWords.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Pod-Escapes.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Encode.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Pod-Usage.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-macros.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Socket.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Storable.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Time-HiRes.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Scalar-List-Utils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-threads-shared.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-threads.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Carp.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Filter.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Exporter.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-File-Path.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-PathTools.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-File-Temp.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Pod-Simple.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Time-Local.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-constant.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl-Getopt-Long.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'perl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'hostname.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'keyutils-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'coreutils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'openssl-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'krb5-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'shadow-utils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libblkid.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libmount.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'glib2.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'shared-mime-info.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'pkgconfig.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'xorg-x11-proto-devel.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'atk.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nspr-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gzip.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cracklib.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cracklib-dicts.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'pam.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libpwquality.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-util-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'hicolor-icon-theme.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXau-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libxcb-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd-core-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'harfbuzz.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gsettings-desktop-schemas.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'json-glib.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'grubby.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libutempter.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cyrus-sasl-lib.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libssh2.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-sysinit.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'nss-pem.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-tools.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libcurl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'curl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'rpm-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'rpm.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'openldap.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libuser.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'binutils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'linux-firmware.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'hardlink.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libthai.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libwayland-egl.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'json-c.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'kpartx.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'device-mapper.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'util-linux.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'procps-ng.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'device-mapper-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cryptsetup-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dracut.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'kmod.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'elfutils-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'systemd-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dbus-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'systemd.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dbus.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'elfutils-default-yama-scope.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libusbx.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libgusb.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dconf.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'hwdata.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libpciaccess.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libdrm.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'mesa-libgbm.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'iputils.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'initscripts.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'kernel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'trousers.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gnutls.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'glib-networking.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libsoup.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'rest.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'avahi-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cups-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dbus-glib.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libepoxy.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'lcms2.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'colord-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'jbigkit-libs.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libtiff.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-softokn-freebl-devel.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-softokn-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'liberation-sans-fonts.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'dejavu-sans-fonts.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'fontconfig.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'xkeyboard-config.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libxkbcommon.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'kernel-headers.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libdrm-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'redhat-indexhtml.noarch'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'vim-filesystem.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'vim-common.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libX11-common.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libX11.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXext.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXrender.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXfixes.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXdamage.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libX11-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXi.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gdk-pixbuf2.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXcursor.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXcomposite.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gtk-update-icon-cache.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXext-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXfixes-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXrandr.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXxf86vm.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd-glx.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'mesa-libGL.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXinerama.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd-egl.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'mesa-libEGL.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cairo.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'cairo-gobject.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd-gles.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libglvnd-devel.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'mesa-libGLU.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXxf86vm-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXdamage-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'mesa-libGL-devel.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXtst.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'at-spi2-core.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'at-spi2-atk.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXft.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'pango.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gtk2.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'startup-notification.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'libXt.x86_64'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'adwaita-cursor-theme.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'adwaita-icon-theme.noarch'
HOOK-pkgdowngrades: INFO: DEP: enforcing package installation 'gtk3.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'firefox.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'mesa-libGLU-devel.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'glx-utils.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'vim-enhanced.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'nss-devel.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'microcode_ctl.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'satyr.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'vim-minimal.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'libvpx.x86_64'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'redhat-menus.noarch'
HOOK-pkgdowngrades: INFO: DOWNGRADE: enforcing package installation 'tzdata-java.noarch'
HOOK-pkgdowngrades: INFO: done
Finished. Reboot to start upgrade.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344

上一部分运行只有2分多钟,耗时在下一步。

real    2m33.914s
user    1m52.017s
sys     0m8.686s
  • 1
  • 2
  • 3

提示重启:

# shutdown -r now
  • 1

因为我没有连Console,所以看不到中间过程。这个重启过程中应该是有升级操作的,然后过了估计20-30分钟。可以连上了。

$ uname -a
Linux bigdatalite.localdomain 4.14.35-1818.3.3.el7uek.x86_64 #2 SMP Mon Sep 24 14:45:01 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[oracle@bigdatalite ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
  • 1
  • 2
  • 3
  • 4

升级成功了。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/581942
推荐阅读
相关标签
  

闽ICP备14008679号