热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

CentOS6.5升级为CentOS7.0

CentOS6.5升级为CentOS7升级前:[root@localhost~]#cat/proc/versionLinuxversion2.6.32-431.el6.x86_64(mockbuild@c6b8.bsys.dev.centos.org)(gccversion4.4.720120313(RedHat4

CentOS6.5升级为CentOS7

升级前:

[root@localhost ~]# cat /proc/version 
Linux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013 
[root@localhost ~]# uname -a 
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux 
[root@localhost ~]# uname -r 
2.6.32-431.el6.x86_64 
[root@localhost ~]# 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: CentOS 
Description: CentOS release 6.5 (Final) 
Release: 6.5 
Codename: Final

[root@localhost ~]# df -lhT 
Filesystem Type Size Used Avail Use% Mounted on 
/dev/mapper/VolGroup-lv_root ext4 45G 32G 12G 73% / 
tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm 
/dev/sda1 ext4 485M 75M 385M 17% /boot

升级过程:

redhat提供了一个redhat-upgrade-tool的升级工具; 
[1]配置软件源 
vim /etc/yum.repos.d/upgrade.repo 
[upgrade] 
name=upgrade 
baseurl=http://dev.centos.org/centos/6/upg/x86_64/ 
enable=1 
gpgcheck=0 
[2]安装软件工具 
# yum -y install preupgrade-assistant-contents redhat-upgrade-tool preupgrade-assistant 
[3]升级前检查潜在问题 
preupg 
Preupg tool doesn't do the actual upgrade. 
Please ensure you have backed up your system and/or data in the event of a failed upgrade 
that would require a full re-install of the system from installation media. 
Do you want to continue? y/n 

Gathering logs used by preupgrade assistant: 
All installed packages : 01/11 ...finished (time 00:00s) 
All changed files : 02/11 ...finished (time 01:34s) 
Changed config files : 03/11 ...finished (time 00:00s) 
All users : 04/11 ...finished (time 00:00s) 
All groups : 05/11 ...finished (time 00:00s) 
Service statuses : 06/11 ...finished (time 00:00s) 
All installed files : 07/11 ...finished (time 00:01s) 
All local files : 08/11 ...finished (time 00:02s) 
All executable files : 09/11 ...finished (time 00:01s) 
RedHat signed packages : 10/11 ...finished (time 00:00s) 
CentOS signed packages : 11/11 ...finished (time 00:00s) 
Assessment of the system, running checks / SCE scripts: 
001/096 ...done (Configuration Files to Review) 
002/096 ...done (File Lists for Manual Migration) 
003/096 ...done (Bacula Backup Software) 
004/096 ...done (MySQL configuration) 
005/096 ...done (Migration of the MySQL data stack) 
006/096 ...done (Changes related to moving from MySQL to MariaDB) 
007/096 ...done (PostgreSQL upgrade content) 
008/096 ...done (GNOME Desktop Environment underwent several design modifications in CentOS 7 release) 
009/096 ...done (KDE Desktop Environment underwent several design modifications in CentOS 7 release) 
010/096 ...done (several graphic drivers not supported in CentOS 7) 
011/096 ...done (several input drivers not supported in CentOS 7) 
012/096 ...done (several kernel networking drivers not available in CentOS 7) 
013/096 ...done (several kernel storage drivers not available in CentOS 7) 
014/096 ...done (Names, Options and Output Format Changes in arptables) 
015/096 ...done (BIND9 running in a chroot environment check.) 
016/096 ...done (BIND9 configuration compatibility check) 
017/096 ...done (Move dhcpd/dhcprelay arguments from /etc/sysconfig/* to *.service files) 
018/096 ...done (DNSMASQ configuration compatibility check) 
019/096 ...done (Dovecot configuration compatibility check) 
020/096 ...done (Compatibility Between iptables and ip6tables) 
021/096 ...done (Net-SNMP check) 
022/096 ...done (Squid configuration compatibility check) 
023/096 ...done (Reusable Configuration Files) 
024/096 ...done (VCS repositories) 
025/096 ...done (Added and extended options for BIND9 configuration) 
026/096 ...done (Added options in DNSMASQ configuration) 
027/096 ...done (Packages not signed by CentOS) 
028/096 ...done (Obsoleted rpms) 
029/096 ...done (w3m not available in CentOS 7) 
030/096 ...done (report incompatibilities between CentOS 6 and 7 in qemu-guest-agent package) 
031/096 ...done (Removed options in coreutils binaries) 
032/096 ...done (Removed options in gawk binaries) 
033/096 ...done (Removed options in netstat binary) 
034/096 ...done (Removed options in quota tools) 
035/096 ...done (Removed rpms) 
036/096 ...done (Replaced rpms) 
037/096 ...done (GMP library incompatibilities) 
038/096 ...done (package downgrades) 
039/096 ...done (restore custom selinux configuration) 
040/096 ...done (General) 
041/096 ...done (samba shared directories selinux) 
042/096 ...done (CUPS Browsing/BrowsePoll configuration) 
043/096 ...done (CVS Package Split) 
044/096 ...done (FreeRADIUS Upgrade Verification) 
045/096 ...done (httpd configuration compatibility check) 
046/096 ...done (bind-dyndb-ldap) 
047/096 ...done (Identity Management Server compatibility check) 
048/096 ...done (IPA Server CA Verification) 
049/096 ...done (NTP configuration) 
050/096 ...done (Information on time-sync.target) 
051/096 ...done (OpenLDAP /etc/sysconfig and data compatibility) 
052/096 ...done (OpenSSH sshd_config migration content) 
053/096 ...done (OpenSSH sysconfig migration content) 
054/096 ...done (Configuration for quota_nld service) 
055/096 ...done (Disk quota netlink message daemon moved into quota-nld package) 
056/096 ...done (SSSD compatibility check) 
057/096 ...done (Luks encrypted partition) 
058/096 ...done (Clvmd and cmirrord daemon management.) 
059/096 ...done (State of LVM2 services.) 
060/096 ...done (device-mapper-multipath configuration compatibility check) 
061/096 ...done (Removal of scsi-target-utils) 
062/096 ...done (Configuration for warnquota tool) 
063/096 ...done (Disk quota tool warnquota moved into quota-warnquota package) 
064/096 ...done (Architecture Support) 
065/096 ...done (Binary rebuilds) 
066/096 ...done (Debuginfo packages) 
067/096 ...done (Cluster and High Availability) 
068/096 ...done (Quorum implementation) 
069/096 ...done (fix krb5kdc config file) 
070/096 ...done (File Systems, Partitions and Mounts Configuration Review) 
071/096 ...done (Read Only FHS directories) 
072/096 ...done (Sonamebumped libs) 
073/096 ...done (SonameKept Reusable Dynamic Libraries) 
074/096 ...done (Removed .so libs) 
075/096 ...done (In-place Upgrade Requirements for the /usr/ Directory) 
076/096 ...done (CA certificate bundles modified) 
077/096 ...done (Developer Tool Set packages) 
078/096 ...done (Hyper-V) 
079/096 ...done (Content for enabling and disabling services based on CentOS 6 system) 
080/096 ...done (Check for ethernet interface naming) 
081/096 ...done (User modification in /etc/rc.local and /etc/rc.d/rc.local) 
082/096 ...done (cgroups configuration compatibility check) 
083/096 ...done (Plugable authentication modules (PAM)) 
084/096 ...done (Foreign Perl modules) 
085/096 ...done (Python 2.7.5) 
086/096 ...done (Ruby 2.0.0) 
087/096 ...done (SCL collections) 
088/096 ...done (System kickstart) 
089/096 ...done (YUM) 
090/096 ...done (Check for usage of dangerous range of UID/GIDs) 
091/096 ...done (Incorrect usage of reserved UID/GIDs) 
092/096 ...done (NIS ypbind config files back-up) 
093/096 ...done (NIS Makefile back-up) 
094/096 ...done (NIS server maps check) 
095/096 ...done (NIS server MAXUID and MAXGID limits check) 
096/096 ...done (NIS server config file back-up) 
Assessment finished (time 01:32s) 
Result table with checks and their results for main contents: 
--------------------------------------------------------------------------------------------------------------- 
|Bacula Backup Software |notapplicable | 
|MySQL configuration |notapplicable | 
|Migration of the MySQL data stack |notapplicable | 
|Changes related to moving from MySQL to MariaDB |notapplicable | 
|PostgreSQL upgrade content |notapplicable | 
|GNOME Desktop Environment underwent several design modifications in CentOS 7 release |notapplicable | 
|KDE Desktop Environment underwent several design modifications in CentOS 7 release |notapplicable | 
|several graphic drivers not supported in CentOS 7 |notapplicable | 
|several input drivers not supported in CentOS 7 |notapplicable | 
|Names, Options and Output Format Changes in arptables |notapplicable | 
|BIND9 running in a chroot environment check. |notapplicable | 
|BIND9 configuration compatibility check |notapplicable | 
|Move dhcpd/dhcprelay arguments from /etc/sysconfig/* to *.service files |notapplicable | 
|DNSMASQ configuration compatibility check |notapplicable | 
|Dovecot configuration compatibility check |notapplicable | 
|Net-SNMP check |notapplicable | 
|Squid configuration compatibility check |notapplicable | 
|Added and extended options for BIND9 configuration |notapplicable | 
|Added options in DNSMASQ configuration |notapplicable | 
|w3m not available in CentOS 7 |notapplicable | 
|report incompatibilities between CentOS 6 and 7 in qemu-guest-agent package |notapplicable | 
|restore custom selinux configuration |notapplicable | 
|samba shared directories selinux |notapplicable | 
|FreeRADIUS Upgrade Verification |notapplicable | 
|httpd configuration compatibility check |notapplicable | 
|bind-dyndb-ldap |notapplicable | 
|Identity Management Server compatibility check |notapplicable | 
|IPA Server CA Verification |notapplicable | 
|OpenLDAP /etc/sysconfig and data compatibility |notapplicable | 
|SSSD compatibility check |notapplicable | 
|Clvmd and cmirrord daemon management. |notapplicable | 
|device-mapper-multipath configuration compatibility check |notapplicable | 
|Removal of scsi-target-utils |notapplicable | 
|Quorum implementation |notapplicable | 
|fix krb5kdc config file |notapplicable | 
|Ruby 2.0.0 |notapplicable | 
|NIS ypbind config files back-up |notapplicable | 
|NIS Makefile back-up |notapplicable | 
|NIS server maps check |notapplicable | 
|NIS server MAXUID and MAXGID limits check |notapplicable | 
|NIS server config file back-up |notapplicable | 
|several kernel networking drivers not available in CentOS 7 |pass | 
|several kernel storage drivers not available in CentOS 7 |pass | 
|Compatibility Between iptables and ip6tables |pass | 
|Reusable Configuration Files |pass | 
|NTP configuration |pass | 
|Information on time-sync.target |pass | 
|OpenSSH sshd_config migration content |pass | 
|Configuration for quota_nld service |pass | 
|Disk quota netlink message daemon moved into quota-nld package |pass | 
|Luks encrypted partition |pass | 
|Configuration for warnquota tool |pass | 
|Architecture Support |pass | 
|Debuginfo packages |pass | 
|Cluster and High Availability |pass | 
|Read Only FHS directories |pass | 
|In-place Upgrade Requirements for the /usr/ Directory |pass | 
|CA certificate bundles modified |pass | 
|Developer Tool Set packages |pass | 
|Hyper-V |pass | 
|Check for ethernet interface naming |pass | 
|User modification in /etc/rc.local and /etc/rc.d/rc.local |pass | 
|cgroups configuration compatibility check |pass | 
|Plugable authentication modules (PAM) |pass | 
|SCL collections |pass | 
|System kickstart |pass | 
|Incorrect usage of reserved UID/GIDs |pass | 
|VCS repositories |informational | 
|Removed options in coreutils binaries |informational | 
|Removed options in gawk binaries |informational | 
|Removed options in netstat binary |informational | 
|Removed options in quota tools |informational | 
|GMP library incompatibilities |informational | 
|CVS Package Split |informational | 
|Disk quota tool warnquota moved into quota-warnquota package |informational | 
|File Systems, Partitions and Mounts Configuration Review |informational | 
|Sonamebumped libs |informational | 
|SonameKept Reusable Dynamic Libraries |informational | 
|Removed .so libs |informational | 
|Foreign Perl modules |informational | 
|YUM |informational | 
|Replaced rpms |fixed | 
|package downgrades |fixed | 
|CUPS Browsing/BrowsePoll configuration |fixed | 
|OpenSSH sysconfig migration content |fixed | 
|State of LVM2 services. |fixed | 
|Configuration Files to Review |needs_inspection | 
|File Lists for Manual Migration |needs_inspection | 
|Obsoleted rpms |needs_inspection | 
|Binary rebuilds |needs_inspection | 
|Python 2.7.5 |needs_inspection | 
|Check for usage of dangerous range of UID/GIDs |needs_inspection | 
|Packages not signed by CentOS |needs_action | 
|Removed rpms |needs_action | 
|General |needs_action | 
|Content for enabling and disabling services based on CentOS 6 system |needs_action | 
--------------------------------------------------------------------------------------------------------------- 
Tarball with results is stored here /root/preupgrade-results/preupg_results-150112105344.tar.gz . 
The latest assessment is stored in directory /root/preupgrade . 
Summary information: 
We found some potential in-place upgrade risks. 
Read the file /root/preupgrade/result.html for more details. 
Upload results to UI by command: 
e.g. preupg -u http://127.0.0.1:8099/submit/ -r /root/preupgrade-results/preupg_results-*.tar.gz . 

 

[root@localhost ~]# preupg --riskcheck --verbose 
INPLACERISK: HIGH: We detected some non-CentOS signed packages, you can find the list in /root/preupgrade/./kickstart/noncentospkgs. You need to handle them yourself! 
INPLACERISK: HIGH: After upgrading to CentOS 7 there are still some el6 packages left. Add --cleanup-post option to redhat-upgrade-tool if you want to remove them automatically. 
INPLACERISK: HIGH: There were changes in SELinux policies between CentOS 6 and CentOS 7. Please, check solution in order to resolve this issue. 
INPLACERISK: HIGH: The service autofs on CentOS 7 is disabled by default. Enable them via commands: systemctl enable autofs && systemctl start autofs.service . 
INPLACERISK: HIGH: The service blk-availability on CentOS 7 is disabled by default. Enable them via commands: systemctl enable blk-availability && systemctl start blk-availability.service . 
INPLACERISK: HIGH: The service certmonger on CentOS 7 is disabled by default. Enable them via commands: systemctl enable certmonger && systemctl start certmonger.service . 
INPLACERISK: HIGH: The service haldaemon on CentOS 7 is disabled by default. Enable them via commands: systemctl enable haldaemon && systemctl start haldaemon.service . 
INPLACERISK: HIGH: The service ip6tables on CentOS 7 is disabled by default. Enable them via commands: systemctl enable ip6tables && systemctl start ip6tables.service . 
INPLACERISK: HIGH: The service mcelogd on CentOS 7 is disabled by default. Enable them via commands: systemctl enable mcelogd && systemctl start mcelogd.service . 
INPLACERISK: HIGH: The service messagebus on CentOS 7 is disabled by default. Enable them via commands: systemctl enable messagebus && systemctl start messagebus.service . 
INPLACERISK: HIGH: The service netfs on CentOS 7 is disabled by default. Enable them via commands: systemctl enable netfs && systemctl start netfs.service . 
INPLACERISK: HIGH: The service network on CentOS 7 is disabled by default. Enable them via commands: systemctl enable network && systemctl start network.service . 
INPLACERISK: HIGH: The service nfslock on CentOS 7 is disabled by default. Enable them via commands: systemctl enable nfslock && systemctl start nfslock.service . 
INPLACERISK: HIGH: The service portreserve on CentOS 7 is disabled by default. Enable them via commands: systemctl enable portreserve && systemctl start portreserve.service . 
INPLACERISK: HIGH: The service postfix on CentOS 7 is disabled by default. Enable them via commands: systemctl enable postfix && systemctl start postfix.service . 
INPLACERISK: HIGH: The service rpcgssd on CentOS 7 is disabled by default. Enable them via commands: systemctl enable rpcgssd && systemctl start rpcgssd.service . 
INPLACERISK: HIGH: The service udev-post on CentOS 7 is disabled by default. Enable them via commands: systemctl enable udev-post && systemctl start udev-post.service . 
INPLACERISK: MEDIUM: We detected some packages installed on the system were removed (obsoleted) between CentOS 6 and CentOS 7. This may break the functionality of the packages depending on them. 
INPLACERISK: MEDIUM: We detected some packages installed on the system were removed between CentOS 6 and CentOS 7. This may break the functionality of the packages depending on them. 
INPLACERISK: MEDIUM: Package coreutils-libs not provided by its replacement coreutils. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package libudev not provided by its replacement systemd-libs. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package ql2400-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package ql2200-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package redhat-lsb-graphics not provided by its replacement redhat-lsb-desktop. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package bfa-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package rt73usb-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package ql23xx-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package ql2100-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package ql2500-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: Package rt61pci-firmware not provided by its replacement linux-firmware. In-place upgrade might not work properly, will be finished by postupgrade script! 
INPLACERISK: MEDIUM: having one of [mdadm nss-util nss-tools audit libitm cmake libX11-common ca-certificates gtk2 libdrm pixman-devel mesa-libGLU gtk2-devel tzdata tzdata-java nspr elfutils-libelf nss openldap elfutils-libs libref_array libini_config java-1.7.0-openjdk libipa_hbac xorg-x11-proto-devel elfutils sssd systemtap-runtime mcelog libxcb libxcb-devel libX11 mesa-libGL pixman mesa-dri-drivers openscap certmonger audit-libs libpciaccess biosdevname sssd-client nss-sysinit java-1.6.0-openjdk libsss_idmap libipa_hbac-python libX11-devel kpartx mesa-private-llvm] package installed breaks upgrade 
INPLACERISK: MEDIUM: We detected some soname bumps in the libraries installed on the system. This may break the functionality of some of your 3rd party applications. They may need rebuild. Please check their requirements. 
INPLACERISK: MEDIUM: We detected some .so libraries installed on the system were removed between CentOS 6 and CentOS 7. This may break the functionality of some of your 3rd party applications. 
INPLACERISK: MEDIUM: The name cups-lpd was changed on CentOS 7 to one of these services: cups-lpd.socket cups-lpd@.service 
INPLACERISK: MEDIUM: The service mysqld is not handled by any package and will not be automatically enabled after in-place upgrade. 
INPLACERISK: SLIGHT: We detected some files where modifications are not tracked in the rpms. You may need to check their functionality after successful upgrade. 
INPLACERISK: SLIGHT: We detected some files untracked by rpms. Some of these may need manual check/migration after redhat-upgrade-tool and/or can cause conflicts or troubles during the installation. Try to reduce unnecessary untracked files before running redhat-upgrade-tool. 
INPLACERISK: SLIGHT: We detected some packages installed on the system changed their name between CentOS 6 and CentOS 7. Although they should be compatible, monitoring after the update is recommended. 
INPLACERISK: SLIGHT: export shell commands will be deleted from /etc/sysconfig/sshd 
INPLACERISK: SLIGHT: Some binaries untracked by RPM were discovered on the system and may need rebuild after upgrade. 
INPLACERISK: SLIGHT: Some scripts untracked by RPM were discovered on the system and may not work properly after upgrade. 
INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/gtk-2.0 is owned by an RPM package that was not signed by CentOS. 
INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/report is not owned by any RPM package. 
INPLACERISK: SLIGHT: /usr/lib64/python2.6/site-packages/reportclient is not owned by any RPM package. 

[root@localhost ~]# redhat-upgrade-tool --force --cleanup-post --network 7.0 --instrepo=http://mirror.centos.org/centos/7.0.1406/os/x86_64 
setting up repos... 
No upgrade available for the following repos: base extras updates 
.treeinfo | 1.1 kB 00:00 
getting boot images... 
vmlinuz-redhat-upgrade-tool | 4.7 MB 00:30 
initramfs-redhat-upgrade-tool.img | 32 MB 09:54 
setting up update... 
finding updates 100% [==========================================================] 
(1/920): GConf2-3.2.6-8.el7.x86_64.rpm | 1.0 MB 00:06 
(2/920): ORBit2-2.14.19-13.el7.x86_64.rpm | 176 kB 00:01

(616/920): perl-File-Fetch-0.42-2.el7.noarch.rpm                              |  27 kB     00:00     

 

Downloading failed: 下载软件包时出错。

  perl-Test-Harness-3.28-2.el7.noarch: failure: Packages/perl-Test-Harness-3.28-2.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  perl-IO-HTML-1.00-2.el7.noarch: failure: Packages/perl-IO-HTML-1.00-2.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  perl-XML-Grove-0.46alpha-52.el7.noarch: failure: Packages/perl-XML-Grove-0.46alpha-52.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  sed-4.2.2-5.el7.x86_64: failure: Packages/sed-4.2.2-5.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  redhat-lsb-cxx-4.1-24.el7.x86_64: failure: Packages/redhat-lsb-cxx-4.1-24.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  python-nose-1.3.0-2.el7.noarch: failure: Packages/python-nose-1.3.0-2.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  perl-HTTP-Date-6.02-8.el7.noarch: failure: Packages/perl-HTTP-Date-6.02-8.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  tcp_wrappers-libs-7.6-77.el7.x86_64: failure: Packages/tcp_wrappers-libs-7.6-77.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  samba-client-4.1.1-31.el7.x86_64: failure: Packages/samba-client-4.1.1-31.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  tzdata-2014b-1.el7.noarch: failure: Packages/tzdata-2014b-1.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  xcb-util-0.3.9-4.el7.x86_64: failure: Packages/xcb-util-0.3.9-4.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  xorg-x11-fonts-Type1-7.5-9.el7.noarch: failure: Packages/xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  perl-podlators-2.5.1-3.el7.noarch: failure: Packages/perl-podlators-2.5.1-3.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  samba-winbind-clients-4.1.1-31.el7.x86_64: failure: Packages/samba-winbind-clients-4.1.1-31.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  2:vim-minimal-7.4.160-1.el7.x86_64: failure: Packages/vim-minimal-7.4.160-1.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  1:qt-x11-4.8.5-8.el7.x86_64: failure: Packages/qt-x11-4.8.5-8.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  2:texlive-kpathsea-bin-svn27347.0-32.20130427_r30134.el7.x86_64: failure: Packages/texlive-kpathsea-bin-svn27347.0-32.20130427_r30134.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  perl-Version-Requirements-0.101022-244.el7.noarch: failure: Packages/perl-Version-Requirements-0.101022-244.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  rpm-4.11.1-16.el7.x86_64: failure: Packages/rpm-4.11.1-16.el7.x86_64.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

  sound-theme-freedesktop-0.8-3.el7.noarch: failure: Packages/sound-theme-freedesktop-0.8-3.el7.noarch.rpm from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

 

 

失败后再次执行该语句即可

由于此过程时间比较长,中间很可能因网络原因而中断,再次执行命令会接着上次出错的继续(304=920-616)

[root@localhost ~]# redhat-upgrade-tool --force --cleanup-post --network 7.0 --instrepo=http://mirror.centos.org/centos/7.0.1406/os/x86_64
setting up repos...
var cpro_id = "u6885494";
推荐阅读
  • 本文讨论了Alink回归预测的不完善问题,指出目前主要针对Python做案例,对其他语言支持不足。同时介绍了pom.xml文件的基本结构和使用方法,以及Maven的相关知识。最后,对Alink回归预测的未来发展提出了期待。 ... [详细]
  • Nginx使用AWStats日志分析的步骤及注意事项
    本文介绍了在Centos7操作系统上使用Nginx和AWStats进行日志分析的步骤和注意事项。通过AWStats可以统计网站的访问量、IP地址、操作系统、浏览器等信息,并提供精确到每月、每日、每小时的数据。在部署AWStats之前需要确认服务器上已经安装了Perl环境,并进行DNS解析。 ... [详细]
  • 安装mysqlclient失败解决办法
    本文介绍了在MAC系统中,使用django使用mysql数据库报错的解决办法。通过源码安装mysqlclient或将mysql_config添加到系统环境变量中,可以解决安装mysqlclient失败的问题。同时,还介绍了查看mysql安装路径和使配置文件生效的方法。 ... [详细]
  • Java验证码——kaptcha的使用配置及样式
    本文介绍了如何使用kaptcha库来实现Java验证码的配置和样式设置,包括pom.xml的依赖配置和web.xml中servlet的配置。 ... [详细]
  • 本文介绍了在CentOS上安装Python2.7.2的详细步骤,包括下载、解压、编译和安装等操作。同时提供了一些注意事项,以及测试安装是否成功的方法。 ... [详细]
  • iOS超签签名服务器搭建及其优劣势
    本文介绍了搭建iOS超签签名服务器的原因和优势,包括不掉签、用户可以直接安装不需要信任、体验好等。同时也提到了超签的劣势,即一个证书只能安装100个,成本较高。文章还详细介绍了超签的实现原理,包括用户请求服务器安装mobileconfig文件、服务器调用苹果接口添加udid等步骤。最后,还提到了生成mobileconfig文件和导出AppleWorldwideDeveloperRelationsCertificationAuthority证书的方法。 ... [详细]
  • 本文详细介绍了在Centos7上部署安装zabbix5.0的步骤和注意事项,包括准备工作、获取所需的yum源、关闭防火墙和SELINUX等。提供了一步一步的操作指南,帮助读者顺利完成安装过程。 ... [详细]
  • Python项目实战10.2:MySQL读写分离性能优化
    本文介绍了在Python项目实战中进行MySQL读写分离的性能优化,包括主从同步的配置和Django实现,以及在两台centos 7系统上安装和配置MySQL的步骤。同时还介绍了创建从数据库的用户和权限的方法。摘要长度为176字。 ... [详细]
  • 本文介绍在使用vmware中配置centos6.5时遇到的网络问题,包括host-only和natip的配置,以及无法上网的原因。同时提供了解决方法,包括去掉host-only配置文件中的gateway。 ... [详细]
  • 导读:在编程的世界里,语言纷繁多样,而大部分真正广泛流行的语言并不是那些学术界的产物,而是在通过自由发挥设计出来的。和那些 ... [详细]
  • 1、打开etcsysconfiggrub,   #vimetcsysconfiggrub   内容如下: ... [详细]
  • php课程Json格式规范需要注意的小细节
    JSON(JavaScriptObjectNotation)是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。它基于JavaScriptProgramming ... [详细]
  • MySQL5.6.40在CentOS764下安装过程 ... [详细]
  • 1、概述首先和大家一起回顾一下Java消息服务,在我之前的博客《Java消息队列-JMS概述》中,我为大家分析了:然后在另一篇博客《Java消息队列-ActiveMq实战》中 ... [详细]
  • 本文介绍了计算机网络的定义和通信流程,包括客户端编译文件、二进制转换、三层路由设备等。同时,还介绍了计算机网络中常用的关键词,如MAC地址和IP地址。 ... [详细]
author-avatar
AU_123_126_218
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有