Upgrade CentOS 7 to CentOS 7.1

General support questions
Post Reply
bertan
Posts: 55
Joined: 2014/01/12 23:43:19
Location: Canada

Upgrade CentOS 7 to CentOS 7.1

Post by bertan » 2015/03/25 12:31:16

I've found both of these on the Internet. Which is correct?

Code: Select all

# yum clean all && yum update
or

Code: Select all

# yum -y upgrade

stevemowbray
Posts: 395
Joined: 2012/06/26 14:20:47

Re: Upgrade CentOS 7 to CentOS 7.1

Post by stevemowbray » 2015/03/25 14:03:44

Either will do it. But only once 7.1 is released, which is not yet.

User avatar
avij
Forum Moderator
Posts: 2722
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Upgrade CentOS 7 to CentOS 7.1

Post by avij » 2015/03/25 14:54:20

Using -y is discouraged for yum operations. Surely you have a few moments to review the changes yum is going to do your system, before letting yum to proceed.

bertan
Posts: 55
Joined: 2014/01/12 23:43:19
Location: Canada

Re: Upgrade CentOS 7 to CentOS 7.1

Post by bertan » 2015/03/25 15:37:55

Thank you.

Post Reply