CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
but I am not sure if the release would be updated autmatically from 7.2 to 8. Do you hav any experience with?
Already tried without success:
downloaded the Everything.iso image from here . After validation of the image file using the following procedure (see following 3 links: link1 , link2 and link3 ), the next issue appears: I cannot mount the .iso file (using the following procedure), when I use:
$mount -o -loop CentOS-7-x86_64-Everything-1810.iso /media/7_6_centos/
mount: /dev/loop0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Any idea will be wellcome because I have the cluster completely stopped.
I would prefer to update to the last one as you recommend but as we simulate in another bigger cluster, in which centos 7.6 is installed, we have to replicate the same conditions in our cluster to avoid issues with different OS, softwares, etc...
my scope: update the cluster of my chair from centos 7.2 to centos 7.6 (and all dependencies) and not to the last available version (8).
You can only update to the latest available 7.x version, as previous point updates are deleted from the servers when the next one gets released.
The 7.6 directory ON those servers now only contain a 'readme' file:
Quote:
This directory (and version of CentOS) is deprecated. For normal users,
you should use /7/ and not /7.6.1810/ in your path.
So when you use /7/ in your repo list you will get updated to the current latest 7.x release.
The current (and latest) release of CentOS 7 is 7.7.1908 (which means it is based on the 2019/08 sources from RHEL). But there probably will be a 7.8 one later this year.
8.1.1911 for the 8 series,
7.7.1908 for the 7 series
and even the 6 series of CentOS is still supported:
6.10 is the latest (and probably the last) point update for that.
It was released in 2018 (july).
BTW: the 6 series was the last one to still support a 32-bit kernel and iso images:
Code:
$ ls -l 6.10/isos
i386 07/03/2018 12:00:00 AM
x86_64 07/02/2018 12:00:00 AM
This is _NOT_ an updated tree for installing CentOS Linux : It is a snapshot of the older trees that have been removed from the main CentOS servers as new point releases are released.
This is provided for reference and to provide access to older archived versions, and we do not put security updates into the trees on this server.
So even all updates in this tree are more than half a year out of date:
Packages/ 2019-09-20 01:58
The OP would be best advised to update all of the CentOS systems, both the clients and servers, to 7.7 (and 7.8 as soon as it will be released).
Note that CentOS (following RHEL) will only issue bugfixes and security patches in point releases, NOT newer versions.So everything should stay working after updating to 7.7
mount: /dev/loop0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
The first line is actually not an error but a warning "mount: /dev/loop0 is write-protected, mounting read-only". In my case I wanted to read only the -iso file, so I can use "mount -r" -r= read-only or live with this warning. Thatīs all.
For the second line"mount: wrong fs type, bad option, bad superblock on /dev/loop0,... " I can avoid that using "-t auto", allowing linux to detect automatically the type:
mount -t auto CentOS-7-x86_64-Everything-1810.iso
After that I followed the instructions 2-7 (see here) and the update from CentOS 7.2 to 7.6 worked.
If you want to update other packages, which are not dependent of the centos-release 7.6, I have used the famous:
yum update < names of packages to be installed>
or better, create a new file: new_repo.repo with the information you suggested maintaining a back-up of the .repo files in the folder /etc/yum.repos.d/.
What I donīt understand is: when I add the new file new_repo.repo in the folder yum.repos.d, how does linux know that it has to take the new one instead of the older files??
You can only update to the latest available 7.x version, as previous point updates are deleted from the servers when the next one gets released.
The 7.6 directory ON those servers now only contain a 'readme' file:
So when you use /7/ in your repo list you will get updated to the current latest 7.x release.
The current (and latest) release of CentOS 7 is 7.7.1908 (which means it is based on the 2019/08 sources from RHEL). But there probably will be a 7.8 one later this year.
actually this is not completely correct. In my case I have found the deprecated repositories (see my first thread) and could download the 7.6 release from the CERN repository (not only the readme) You are right that to find the deprecated repositories is quite difficult... but possible
You are right that to find the deprecated repositories is quite difficult... but possible
And I deliberately didn't mention them as they are not being maintained anymore, so bugfixes and/or security problems will not be fixed IN them, they're a pure (and static) archive of old releases.
The 7.7 point update is just that: 7.6 with newer bugfixes and security updates (just as all 7.x updates are the 7 release with all - at that point - available fixes).
RHEL is very conservative with that, all 7.x releases should be the same, with only necessary updates applied, so a point update should never break existing software.
There are no version updates to kernel or supplied applications, unless really unavoidable (mozilla firefox/thunderbird is one as even the esr versions are only maintained for a year).
Hey there! I understand your frustration with trying to update your cluster from Centos 7.2 to 7.6. I've had a similar experience in the past. I would recommend trying the command "yum update --skip-broken" instead of just "yum update doc." This will only update packages that are not causing conflicts or errors.
Last edited by michaelk; 01-24-2023 at 09:24 AM.
Reason: deleted spam link
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.