python2-msrest safe to remove?

General support questions
Post Reply
northpoint
Posts: 101
Joined: 2016/05/23 11:57:12

python2-msrest safe to remove?

Post by northpoint » 2020/09/12 14:50:02

CentOS Linux release 7.5.1804 (Core)
3.10.0-862.14.4.el7.x86_64

Role: Samba file server, Virtualbox windows 10 guest

I am trying to do an update before I install/setup a vpn and ran into this issue:
Transaction check error:
file /usr/lib/python2.7/site-packages/msrest/__init__.py from install of python-msrest-0.5.4-1.el7.noarch conflicts with file from package python2-msrest-0.4.25-1.el7.noarch
I checked dependencies:
Removing:
python2-msrest noarch 0.4.25-1.el7 @epel 250 k
Removing for dependencies:
fence-agents-azure-arm x86_64 4.0.11-86.el7_5.3 @updates 28 k
python-azure-sdk noarch 2.0.0-3.el7 @anaconda 28 M
python2-msrestazure noarch 0.4.21-1.el7 @epel 209 k
The server does not backup to the cloud and just does local backups to an external drive via a cron job.

It seems I need to remove this package and dependencies in order to get an update/upgrade done. Will this break things if I remove them?

Im doing all via remote on the weekend here so I do not have access physically until monday.

Northpoint.
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

northpoint
Posts: 101
Joined: 2016/05/23 11:57:12

[SOLVED] Re: python2-msrest safe to remove?

Post by northpoint » 2020/09/12 16:03:48

Well, I fired up a VM locally here and looked and the packages are not installed. So, Guess it was ok to remove. I removed them and did updates and just noticed the system just came back up. So, Dicey yes. But it worked out.

Those packages seem to be related to talking with Windows Azure. Since it doesnt do that (as far as we know) it would be ok.
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

User avatar
TrevorH
Forum Moderator
Posts: 29493
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: python2-msrest safe to remove?

Post by TrevorH » 2020/09/12 16:14:16

Don't run 7.5, it is more than 2 years out of date. The current version is 7.8 and is only a `yum update` away.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

northpoint
Posts: 101
Joined: 2016/05/23 11:57:12

Re: python2-msrest safe to remove?

Post by northpoint » 2020/09/12 16:25:42

admin@srvr ~]$ uname -a
Linux srvr.jwc.local 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[admin@srvr ~]$ cd /etc
[admin@srvr etc]$ cat redhat-release
CentOS Linux release 7.8.2003 (Core)
[admin@srvr etc]$
Thank you TrevorH :)

So, I got it upgraded and can proceed with my other thread on Wireguard. Have to take a break though and probably do it later today. Ill update that thread.
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

Post Reply

Return to “CentOS 7 - General Support”