Issue running yum update

General support questions
Post Reply
gtribe5
Posts: 9
Joined: 2015/12/23 04:02:52

Issue running yum update

Post by gtribe5 » 2020/06/09 19:31:02

Running yum update and when it gets to downloading packages I get the error message.

Code: Select all

Downloading packages:
Running transaction check
ERROR with transaction check vs depsolve:
python36u-setuptools is needed by (installed) python36u-pip-9.0.1-1.ius.el7.noarch
 You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2020-06-09.11-20.U1BKyn.yumtx
I've tried to install ptyhon36u-setuptools and get the same error above. Tried yum update --exclude=python36u* and get the same error. Anyone help would be appreciated.

bonedome
Posts: 201
Joined: 2017/04/22 08:11:04

Re: Issue running yum update

Post by bonedome » 2020/06/10 17:13:52

Hello
I would remove that version of pip you have, disable whatever repo it came from and reinstall python3, this should install the original pip (python3-pip.noarch 9.0.3-7.el7_7)

Code: Select all

sudo yum reinstall python3
If you run a pip command and it's saying your version of pip is outdated, see https://github.com/pypa/pip/issues/5599
At some point I must have run this command

Code: Select all

python3 -m pip-3.6 install --upgrade pip --user 
Note pip-3.6 is system pip3.6 is user
This will leave 2 versions of pip /usr/bin/pip-3.6 (9.0.3) and also install ~/.local/bin/pip3.6 (currently 20.1.1)
I have ~/.local/bin before /usr/bin in my $PATH
I haven't encountered any problems doing it this way as the system installed python packages are unaltered.

Post Reply