-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yum on CentOS7 sporadically installs older mono-devel 6.8.0 version of mono packages rather than 6.12.0. #21774
Comments
if it helps, we do parallel/distributed builds on several ubuntu docker contains, and mono-devel installs the 6.12.0 version of the packages there every time, including the same windows of time when yum is resolving an old version on the centos7 docker container. Get:163 https://download.mono-project.com/repo/ubuntu stable-focal/main amd64 mono-xbuild all 6.12.0.200-0xamarin2+ubuntu2004b1 [486 kB] Thanks |
I can't reproduce this locally. In your console logs, does it look like it is considering 6.12 but deciding 6.8 is easier to resolve in the dependency tree, or is it entirely failing to pull metadata for our repo? e.g. do you have:
in your yum output? |
seems to be working reliably again today. as to your meta data question, I do not see that exact line in the yum output... here is the head of the yum install for mono-devel package. ++ curl https://download.mono-project.com/repo/centos7-stable.repo |
So it's not considering our repo at all - it's only finding the el7 packages (ours have xamarin in the version). Try throwing in an explicit "yum update" before the "yum install", that should force it to refresh its metadata |
I can't tell if that resolved the package install problem, because it is working with or without the changes right now. ++ curl https://download.mono-project.com/repo/centos7-stable.repo 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
|
Looks like it is working now so closing the issue, thanks! |
Steps to Reproduce
pull the docker image for centos:7
install the mono projects yum repository.
update yum and install the mono-devel package, and check the version.
Usually you will get version 6.12.0.xxx but for a 24 hour period last week, and again today, we are getting 6.8.0.xxx version of the mono-devel package, which breaks other build tools, like cmake and nuget.exe
++ rpmkeys --import 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF'
+++ rpm -E '%{rhel}'
++ centos_version=7
++ curl https://download.mono-project.com/repo/centos7-stable.repo
++ tee /etc/yum.repos.d/mono-centos7-stable.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
++ yum install -y mono-devel
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mono-devel.x86_64 0:6.8.0-2.el7 will be installed
On which platforms did you notice this
[ ] macOS
[x ] Linux
[ ] Windows
We are running into yum install issues too, but we cannot even get 6.8.0.107.
We build some projects on CentOS7, and our nuget commands are failing because mono is not getting installed consistently.
On working builds yum will install "Package mono-devel.x86_64 0:6.12.0.107-0.xamarin.9.epel7", however last week and again today, 6.12 is no longer found in the repo, and yum installs the older "Package mono-devel.x86_64 0:6.8.0-2.el7 will be installed" instead", which breaks later calls to nuget.exe...
The text was updated successfully, but these errors were encountered: