Wired upgrade problem /usr/bin/python3

Hi I’m on NethServer release 7.6.1810
if I do a
yum clean all
then
yum update

my yum list updates show

[root@nethserver1 ~]# yum list updates

Updated Packages
mono-core.x86_64 6.8.0-1.el7 epel
mono-data.x86_64 6.8.0-1.el7 epel
mono-data-oracle.x86_64 6.8.0-1.el7 epel
mono-data-sqlite.x86_64 6.8.0-1.el7 epel
mono-devel.x86_64 6.8.0-1.el7 epel
mono-extras.x86_64 6.8.0-1.el7 epel
mono-mvc.x86_64 6.8.0-1.el7 epel
mono-wcf.x86_64 6.8.0-1.el7 epel
mono-web.x86_64 6.8.0-1.el7 epel
mono-winforms.x86_64 6.8.0-1.el7 epel

If I start the upgrade

--> Processing Dependency: /usr/bin/python3 for package: mono-core-6.8.0-1.el7.x86_64
---> Package monodoc.x86_64 0:6.8.0-1.el7 will be installed
--> Processing Dependency: /usr/bin/python3 for package: mono-core-6.8.0-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mono-winfxcore-5.18.1.0-0.xamarin.1.epel7.x86_64 (@download.mono-project.com_repo_centos7_)
           Requires: mono-core = 5.18.1.0
           Removing: mono-core-5.18.1.0-0.xamarin.1.epel7.x86_64 (@download.mono-project.com_repo_centos7_)
               mono-core = 5.18.1.0-0.xamarin.1.epel7
           Updated By: mono-core-6.8.0-1.el7.x86_64 (epel)
               mono-core = 6.8.0-1.el7
Error: Package: mono-core-6.8.0-1.el7.x86_64 (epel)
           Requires: /usr/bin/python3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I have python 3.6 installed

[root@nethserver1 ~]# ls -lai /usr/bin/python
123 lrwxrwxrwx 1 root root 7 Sep 11  2019 /usr/bin/python -> python2
[root@nethserver1 ~]# ls -lai /usr/bin/python3
669030 lrwxrwxrwx 1 root root 40 Oct 15 08:37 /usr/bin/python3 -> /opt/rh/rh-python36/root/usr/bin/python3
[root@nethserver1 ~]#
2 Likes

Same problem here:

Try to uninstall mono-winfaxcore. After this update should work.

Edit: @mrmarkuz was a little bit faster than me :joy:

2 Likes

I need a working mono instance because I use mono and duplicati if I remove mono duplicati gone.

Better yet, add the Mono repo following the instructions for CentOS 7 here:
https://www.mono-project.com/download/stable/#download-lin-centos

The upgrade should then proceed without issue.

2 Likes