This patch fixes an early stack issue where the following error message
would be presented:
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project
and thus we cannot accurately determine which files belong to it which
would lead to only a partial uninstall.
We also drop references to removal of Python 2 library egg infos now
that Python 2 is EOL.
Closes-Bug: #1892363
Change-Id: I2876ee58ab6b73682869d6b4e684e10ac5e56ad9
| ... | ... |
@@ -162,10 +162,7 @@ function fixup_fedora {
|
| 162 | 162 |
# manifest of what to remove. However, in most cases, simply |
| 163 | 163 |
# overwriting works. So this hacks around those packages that |
| 164 | 164 |
# have been dragged in by some other system dependency |
| 165 |
- sudo rm -rf /usr/lib/python2.7/site-packages/enum34*.egg-info |
|
| 166 |
- sudo rm -rf /usr/lib/python2.7/site-packages/ipaddress*.egg-info |
|
| 167 |
- sudo rm -rf /usr/lib/python2.7/site-packages/ply-*.egg-info |
|
| 168 |
- sudo rm -rf /usr/lib/python2.7/site-packages/typing-*.egg-info |
|
| 165 |
+ sudo rm -rf /usr/lib64/python3*/site-packages/PyYAML-*.egg-info |
|
| 169 | 166 |
} |
| 170 | 167 |
|
| 171 | 168 |
function fixup_suse {
|