Re: [CentOS] Upgrade from CentOS 6.x to 7
Sure, I can umount /usr/local and comment it out of fstab, my comment was more about the fact that the software confused my configuration more that than anything else. But then again it's probably best that they take the most conservative route and make folks aware of any and all possible ways that it might fail. The report also listed a driver for an Ethernet card that was not supported in CentOS 7 which does make the software useful for identifying things like that. All in all I think that it's worthwhile to run the software to see what it finds so that you can be aware of the types of issues that you might run into. I agree that doing an upgrade using this method would be a bit of a last resort, I might try it just to see how it goes, just for the heck of it, but ultimately a re-install is best as it get's rid of all the chaff as well. On 09/10/14 14:45, Les Mikesell wrote: On Wed, Sep 10, 2014 at 1:24 PM, Pete Geenhuizen wrote: You should be able to just unmount /usr/local and take it out of fstab for the duration of the upgrade then put it back and fix the contents later. But, that sort of thing makes a bare-metal reinstall sound even more sensible since it shows how many options there are and how many they may not have considered. -- Unencumbered by the thought process. -- Click and Clack the Tappet brothers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
On Wed, Sep 10, 2014 at 1:24 PM, Pete Geenhuizen wrote: > I just ran the pre-upgrade, and it said that I couldn't do an in place > upgrade for the following reason: > > "/usr directory is on separate partition. In-place Upgrade is NOT possible." > > Well that was news to me because I never separate /usr, so what is going on? > It apparently turns out that /usr/local is on a separate partition and the > software isn't smart enough to realize that there's a big difference between > /usr and /usr/local, so I'm guessing that that is the reason. > > I sure do hate software that makes lame or at worst incorrect assumptions, > almost as bad as when you change a config file and comment out the default > line and add you duplicate the line with changes, and the software is too > dumb to realize what you did. > You should be able to just unmount /usr/local and take it out of fstab for the duration of the upgrade then put it back and fix the contents later. But, that sort of thing makes a bare-metal reinstall sound even more sensible since it shows how many options there are and how many they may not have considered. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
I just ran the pre-upgrade, and it said that I couldn't do an in place upgrade for the following reason: "/usr directory is on separate partition. In-place Upgrade is NOT possible." Well that was news to me because I never separate /usr, so what is going on? It apparently turns out that /usr/local is on a separate partition and the software isn't smart enough to realize that there's a big difference between /usr and /usr/local, so I'm guessing that that is the reason. I sure do hate software that makes lame or at worst incorrect assumptions, almost as bad as when you change a config file and comment out the default line and add you duplicate the line with changes, and the software is too dumb to realize what you did. On 09/10/14 08:03, Clovis Tristao wrote: Hi, Em 09-09-2014 18:16, m.r...@5-cent.us escreveu: No exist this lines in yum.conf enabled=1 Yes, exist. Thanks a lot guys. Clovis -- Unencumbered by the thought process. -- Click and Clack the Tappet brothers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
Hi, Em 09-09-2014 18:16, m.r...@5-cent.us escreveu: Johnny Hughes wrote: On 09/09/2014 03:01 PM, Clovis Tristao wrote: Hi, Em 09-09-2014 15:38, John R Pierce escreveu: On 9/9/2014 11:11 AM, Clovis Tristao wrote: I'm using exactly this tutorial. I didn't see the special repo mentioned there on your yum output. re-read section 1.1. I'm using this repo, see the output of yum: Error: Package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch (upg)<- Requires: preupgrade-assistant >= 1.0.2-4 Error: Package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch (upg) <- Requires: preupgrade-assistant(x86-64) >= 1.0.2-14 # yum repolist Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: centos.xpg.com.br * epel: mirror.globo.com * extras: centos.xpg.com.br * updates: centos.xpg.com.br repo id repo name status base CentOS-6 - Base 4.802 epel Extra Packages for Enterprise Linux 6 - i386 9.138 extras CentOS-6 - Extras 13 updates CentOS-6 - Updates 1.081 upg CentOS-6 - Upgrade Tool <- here 15 Thanks a lot, Clovis Do you have any of these lines in either the /etc/yum.conf OR /etc/yum.repos.d/upd.conf? exclude= Or are you using yum priorities? No exist this lines in yum.conf Or is the repo not enabled (enabled=0)? mark enabled=1 preupgrade-assistant-1.0.2-36.0.1.el6.centos.x86_64.rpm <== this exists in the repo Yes, exist. I just checked the instructions and the repo and it works: = Package Arch VersionRepository Size = Installing: preupgrade-assistant-contents noarch 0.5.14-1.el6.centosupg 917 k redhat-upgrade-tool noarch 1:0.7.22-3.el6.centos upg85 k Installing for dependencies: libxslt-devel x86_64 1.1.26-2.el6_3.1 base 561 k openscapx86_64 1.0.8-1.0.1.el6.centos.1 updates 2.9 M pcre-devel x86_64 7.8-6.el6 base 318 k preupgrade-assistantx86_64 1.0.2-36.0.1.el6.centosupg ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks a lot guys. Clovis -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola Administrador de Redes - Secao de Informatica (SINFO) E-mail: clo...@feagri.unicamp.br http://www.feagri.unicamp.br MSN: clovis_trista...@hotmail.com Fone: 55(19) 35211031-35211038-35211047-91173116 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
Johnny Hughes wrote: > On 09/09/2014 03:01 PM, Clovis Tristao wrote: >> Hi, >> >> Em 09-09-2014 15:38, John R Pierce escreveu: >>> On 9/9/2014 11:11 AM, Clovis Tristao wrote: > I'm using exactly this tutorial. >>> >>> I didn't see the special repo mentioned there on your yum output. >>> re-read section 1.1. >>> >> I'm using this repo, see the output of yum: >> >> Error: Package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch >> (upg)<- >>Requires: preupgrade-assistant >= 1.0.2-4 >> Error: Package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch >> (upg) <- >>Requires: preupgrade-assistant(x86-64) >= 1.0.2-14 >> >> # yum repolist >> Loaded plugins: fastestmirror, presto >> Loading mirror speeds from cached hostfile >> * base: centos.xpg.com.br >> * epel: mirror.globo.com >> * extras: centos.xpg.com.br >> * updates: centos.xpg.com.br >> repo id repo name status >> base CentOS-6 - Base 4.802 >> epel Extra Packages for Enterprise >> Linux 6 - i386 9.138 >> extras CentOS-6 - Extras 13 >> updates CentOS-6 - Updates 1.081 >> upg CentOS-6 - Upgrade Tool <- >> here 15 >> >> Thanks a lot, >> >> Clovis >> > > > Do you have any of these lines in either the /etc/yum.conf OR > /etc/yum.repos.d/upd.conf? > > exclude= > > Or are you using yum priorities? Or is the repo not enabled (enabled=0)? mark > > preupgrade-assistant-1.0.2-36.0.1.el6.centos.x86_64.rpm <== this > exists in the repo > > I just checked the instructions and the repo and it works: > > = > Package Arch > VersionRepository Size > = > Installing: > preupgrade-assistant-contents noarch > 0.5.14-1.el6.centosupg 917 k > redhat-upgrade-tool noarch > 1:0.7.22-3.el6.centos upg85 k > Installing for dependencies: > libxslt-devel x86_64 > 1.1.26-2.el6_3.1 base 561 k > openscapx86_64 > 1.0.8-1.0.1.el6.centos.1 updates 2.9 M > pcre-devel x86_64 > 7.8-6.el6 base 318 k > preupgrade-assistantx86_64 > 1.0.2-36.0.1.el6.centosupg > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
On 09/09/2014 03:01 PM, Clovis Tristao wrote: > Hi, > > Em 09-09-2014 15:38, John R Pierce escreveu: >> On 9/9/2014 11:11 AM, Clovis Tristao wrote: >>> I'm using exactly this tutorial. >> >> I didn't see the special repo mentioned there on your yum output. >> re-read section 1.1. >> > I'm using this repo, see the output of yum: > > Error: Package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch > (upg)<- >Requires: preupgrade-assistant >= 1.0.2-4 > Error: Package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch > (upg) <- >Requires: preupgrade-assistant(x86-64) >= 1.0.2-14 > > # yum repolist > Loaded plugins: fastestmirror, presto > Loading mirror speeds from cached hostfile > * base: centos.xpg.com.br > * epel: mirror.globo.com > * extras: centos.xpg.com.br > * updates: centos.xpg.com.br > repo id repo name status > base CentOS-6 - Base 4.802 > epel Extra Packages for Enterprise > Linux 6 - i386 9.138 > extras CentOS-6 - Extras 13 > updates CentOS-6 - Updates 1.081 > upg CentOS-6 - Upgrade Tool <- > here 15 > > Thanks a lot, > > Clovis > Do you have any of these lines in either the /etc/yum.conf OR /etc/yum.repos.d/upd.conf? exclude= Or are you using yum priorities? preupgrade-assistant-1.0.2-36.0.1.el6.centos.x86_64.rpm <== this exists in the repo I just checked the instructions and the repo and it works: = Package Arch VersionRepository Size = Installing: preupgrade-assistant-contents noarch 0.5.14-1.el6.centosupg 917 k redhat-upgrade-tool noarch 1:0.7.22-3.el6.centos upg85 k Installing for dependencies: libxslt-devel x86_64 1.1.26-2.el6_3.1 base 561 k openscapx86_64 1.0.8-1.0.1.el6.centos.1 updates 2.9 M pcre-devel x86_64 7.8-6.el6 base 318 k preupgrade-assistantx86_64 1.0.2-36.0.1.el6.centosupg signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
Hi, Em 09-09-2014 15:38, John R Pierce escreveu: On 9/9/2014 11:11 AM, Clovis Tristao wrote: I'm using exactly this tutorial. I didn't see the special repo mentioned there on your yum output. re-read section 1.1. I'm using this repo, see the output of yum: Error: Package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch (upg)<- Requires: preupgrade-assistant >= 1.0.2-4 Error: Package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch (upg) <- Requires: preupgrade-assistant(x86-64) >= 1.0.2-14 # yum repolist Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: centos.xpg.com.br * epel: mirror.globo.com * extras: centos.xpg.com.br * updates: centos.xpg.com.br repo id repo name status base CentOS-6 - Base 4.802 epel Extra Packages for Enterprise Linux 6 - i386 9.138 extras CentOS-6 - Extras 13 updates CentOS-6 - Updates 1.081 upg CentOS-6 - Upgrade Tool <- here 15 Thanks a lot, Clovis -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola Administrador de Redes - Secao de Informatica (SINFO) E-mail: clo...@feagri.unicamp.br http://www.feagri.unicamp.br MSN: clovis_trista...@hotmail.com Fone: 55(19) 35211031-35211038-35211047-91173116 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
On 9/9/2014 11:11 AM, Clovis Tristao wrote: I'm using exactly this tutorial. I didn't see the special repo mentioned there on your yum output. re-read section 1.1. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
Hi, Em 09-09-2014 15:08, John R Pierce escreveu: On 9/9/2014 10:51 AM, Clovis Tristao wrote: Any idea? http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool I'm using exactly this tutorial. :-) Clovis -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola Administrador de Redes - Secao de Informatica (SINFO) E-mail: clo...@feagri.unicamp.br http://www.feagri.unicamp.br MSN: clovis_trista...@hotmail.com Fone: 55(19) 35211031-35211038-35211047-91173116 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
On 9/9/2014 10:51 AM, Clovis Tristao wrote: Any idea? http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
Hi, I have try to upgrade CentOS 6.5 to 7, appears this error: ]# yum install redhat-upgrade-tool preupgrade-assistant-contents Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: centos.xpg.com.br * extras: centos.xpg.com.br * updates: centos.xpg.com.br Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package preupgrade-assistant-contents.noarch 0:0.5.14-1.el6.centos will be installed --> Processing Dependency: preupgrade-assistant(x86-64) >= 1.0.2-14 for package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch ---> Package redhat-upgrade-tool.noarch 1:0.7.22-3.el6.centos will be installed --> Processing Dependency: preupgrade-assistant >= 1.0.2-4 for package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch --> Finished Dependency Resolution Error: Package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch (upg) Requires: preupgrade-assistant >= 1.0.2-4 Error: Package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch (upg) Requires: preupgrade-assistant(x86-64) >= 1.0.2-14 Any idea? Clovis Em 09-09-2014 14:30, m.r...@5-cent.us escreveu: SilverTip257 wrote: On Tue, Sep 9, 2014 at 12:39 PM, John R Pierce wrote: On 9/9/2014 9:33 AM, Mike Watson wrote: Can I directly upgrade (update?) from my current 6.5 box to version 7? Or, must I wipe my drives and install from scratch? I wouldn't. redhat does have an upgrade script for headless server-only type configurations, but there's just so much room for 'wrong', with newer versions of all the system components like python, apache, libc and other libraries, postgresql database server, etc etc etc. I would save /home, a copy of /etc/passwd,shadow and any other specific configuration files, dump any databases, apache configurations, etc etc, then do a clean install and piece that stuff back together. As John says, it's risky. And you're going to want backups anyways if things go south. There is a tool in the works, but last I heard it needs testing. http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool (I'm a member of the fresh install camp!) Huh. I thought preupgrade was part of RHEL 7, since it's in fedora 19 (and pretty much works, most of the time...). Another idea: back up your o/s: mv /boot/* to /boot/old, stuff off / to /old, then just install. Easy downgrade path mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola Administrador de Redes - Secao de Informatica (SINFO) E-mail: clo...@feagri.unicamp.br http://www.feagri.unicamp.br MSN: clovis_trista...@hotmail.com Fone: 55(19) 35211031-35211038-35211047-91173116 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
SilverTip257 wrote: > On Tue, Sep 9, 2014 at 12:39 PM, John R Pierce > wrote: >> On 9/9/2014 9:33 AM, Mike Watson wrote: >> >>> Can I directly upgrade (update?) from my current 6.5 box to version 7? >>> Or, must I wipe my drives and install from scratch? >> >> I wouldn't. redhat does have an upgrade script for headless >> server-only type configurations, but there's just so much room for 'wrong', with >> newer versions of all the system components like python, apache, libc and >> other libraries, postgresql database server, etc etc etc. >> >> I would save /home, a copy of /etc/passwd,shadow and any other specific >> configuration files, dump any databases, apache configurations, etc etc, >> then do a clean install and piece that stuff back together. >> > As John says, it's risky. > And you're going to want backups anyways if things go south. > > There is a tool in the works, but last I heard it needs testing. > http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool > > (I'm a member of the fresh install camp!) Huh. I thought preupgrade was part of RHEL 7, since it's in fedora 19 (and pretty much works, most of the time...). Another idea: back up your o/s: mv /boot/* to /boot/old, stuff off / to /old, then just install. Easy downgrade path mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
On Tue, Sep 9, 2014 at 12:39 PM, John R Pierce wrote: > On 9/9/2014 9:33 AM, Mike Watson wrote: > >> Can I directly upgrade (update?) from my current 6.5 box to version 7? >> Or, must I wipe my drives and install from scratch? >> > > I wouldn't. redhat does have an upgrade script for headless server-only > type configurations, but there's just so much room for 'wrong', with newer > versions of all the system components like python, apache, libc and other > libraries, postgresql database server, etc etc etc. > > I would save /home, a copy of /etc/passwd,shadow and any other specific > configuration files, dump any databases, apache configurations, etc etc, > then do a clean install and piece that stuff back together. > > As John says, it's risky. And you're going to want backups anyways if things go south. There is a tool in the works, but last I heard it needs testing. http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool (I'm a member of the fresh install camp!) -- ---~~.~~--- Mike // SilverTip257 // ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrade from CentOS 6.x to 7
On 9/9/2014 9:33 AM, Mike Watson wrote: Can I directly upgrade (update?) from my current 6.5 box to version 7? Or, must I wipe my drives and install from scratch? I wouldn't. redhat does have an upgrade script for headless server-only type configurations, but there's just so much room for 'wrong', with newer versions of all the system components like python, apache, libc and other libraries, postgresql database server, etc etc etc. I would save /home, a copy of /etc/passwd,shadow and any other specific configuration files, dump any databases, apache configurations, etc etc, then do a clean install and piece that stuff back together. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Upgrade from CentOS 6.x to 7
Can I directly upgrade (update?) from my current 6.5 box to version 7? Or, must I wipe my drives and install from scratch? mw -- -- "Lose not thy airspeed, lest the ground rises up and smites thee." -- William Kershner http://crucis-court.com http://www.crucis.net/1632search ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos