| Summary: | Bytecode files for PIL.ImageQt are in the wrong rpm | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Hartmut Goebel <h.goebel> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, herman.viaene, makowski.mageia, sysadmin-bugs, tmb |
| Version: | 5 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | advisory MGA5-32-OK | ||
| Source RPM: | python-pillow-2.6.2-2.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Hartmut Goebel
2015-10-18 21:24:33 CEST
Hartmut Goebel
2015-10-18 21:25:27 CEST
Keywords:
(none) =>
Junior_job
Rémi Verschelde
2015-10-18 21:29:28 CEST
Assignee:
bugsquad =>
makowski.mageia done in python-pillow-3.0.0-2.mga6 and python-pillow-2.6.2-2.1.mga5 Suggested advisory: ======================== Updated python-pillow packages some Python byte-code files where not in the correct package References: https://bugs.mageia.org/show_bug.cgi?id=16975 ======================== Updated packages in core/updates_testing: ======================== python-pillow-devel-2.6.2-2.1.mga5.i586 python3-pillow-qt-2.6.2-2.1.mga5.i586 python-pillow-sane-2.6.2-2.1.mga5.i586 python-pillow-qt-2.6.2-2.1.mga5.x86_64 python3-pillow-sane-2.6.2-2.1.mga5.x86_64 python-pillow-2.6.2-2.1.mga5.x86_64 python3-pillow-sane-2.6.2-2.1.mga5.i586 python-pillow-tk-2.6.2-2.1.mga5.x86_64 python-pillow-tk-2.6.2-2.1.mga5.i586 python3-pillow-2.6.2-2.1.mga5.i586 python-pillow-2.6.2-2.1.mga5.src python-pillow-2.6.2-2.1.mga5.i586 python-pillow-sane-2.6.2-2.1.mga5.x86_64 python3-pillow-doc-2.6.2-2.1.mga5.noarch python-pillow-devel-2.6.2-2.1.mga5.x86_64 python3-pillow-qt-2.6.2-2.1.mga5.x86_64 python3-pillow-tk-2.6.2-2.1.mga5.x86_64 python-pillow-debuginfo-2.6.2-2.1.mga5.x86_64 python-pillow-doc-2.6.2-2.1.mga5.noarch python3-pillow-tk-2.6.2-2.1.mga5.i586 python-pillow-debuginfo-2.6.2-2.1.mga5.i586 python-pillow-qt-2.6.2-2.1.mga5.i586 python3-pillow-2.6.2-2.1.mga5.x86_64 python3-pillow-devel-2.6.2-2.1.mga5.i586 python3-pillow-devel-2.6.2-2.1.mga5.x86_64 Source RPMs: python-pillow-2.6.2-2.1.mga5.src.rpm Keywords:
Junior_job =>
(none)
David Walser
2015-10-23 16:44:34 CEST
Whiteboard:
(none) =>
MGA5-32-OK Sorry, but the fix is not done properly: http://svnweb.mageia.org/packages/updates/5/python-pillow/current/SPECS/python-pillow.spec?r1=892708&r2=892707&pathrev=892708 When you move files between packages, you need to add proper conflicts on/between all affected packages, so urpmi knows they need to be in same transaction, or upgrade can fail CC:
(none) =>
tmb Indeed, good catch. I fixed this. python-pillow-devel-2.6.2-2.2.mga5 python3-pillow-qt-2.6.2-2.2.mga5 python-pillow-sane-2.6.2-2.2.mga5 python3-pillow-sane-2.6.2-2.2.mga5 python-pillow-tk-2.6.2-2.2.mga5 python3-pillow-2.6.2-2.2.mga5 python-pillow-2.6.2-2.2.mga5 python3-pillow-doc-2.6.2-2.2.mga5 python-pillow-doc-2.6.2-2.2.mga5 python3-pillow-tk-2.6.2-2.2.mga5 python-pillow-qt-2.6.2-2.2.mga5 python3-pillow-devel-2.6.2-2.2.mga5 from python-pillow-2.6.2-2.2.mga5.src.rpm
not quiet there yet :)
the first one should be:
Conflicts: %{name3}-qt < 3.0.0-2
or it just conflicts its older self...
meaining the "-qt" part, (the version in the above is from cauldron package...) No, I did it right. When you move files from package A to B, package B needs to conflict with the older package A. Here, the files were moved from python3-pillow to python3-pillow-{qt,tk}, and I added in python-pillow-{qt,tk} conflicts on the older python3-pillow. This is correct.
Dave Hodgins
2015-10-26 00:35:48 CET
CC:
(none) =>
davidwhodgins MGA5-32 on Acer D620 Xfce No installation issues. At CLI I get: [xxxx@yyyy ~]$ urpmq -il python3-pillow-qt 2>&1 | grep ImageQt /usr/lib/python3.4/site-packages/PIL/ImageQt.py /usr/lib/python3.4/site-packages/PIL/ImageQt.py /usr/lib/python3.4/site-packages/PIL/__pycache__/ImageQt.cpython-34.pyc /usr/lib/python3.4/site-packages/PIL/__pycache__/ImageQt.cpython-34.pyo [xxxx@yyyy ~]$ urpmq -il python3-pillow 2>&1 | grep ImageQt /usr/lib/python3.4/site-packages/PIL/__pycache__/ImageQt.cpython-34.pyc /usr/lib/python3.4/site-packages/PIL/__pycache__/ImageQt.cpython-34.pyo Should be OK. CC:
(none) =>
herman.viaene Thanks Herman. It appears to show file conflicts though if these were the current version. Adding feedback marker. Whiteboard:
advisory MGA5-32-OK =>
advisory feedback MGA5-32-OK Removing feedback marker. Checked here OK. The duplicate files listed are likely due to fuzzy search also listing files in python3-pillow-qt when searching for python3-pillow. You can work around this by using urpmf instead like so.. urpmf python3-pillow: | grep ImageQt Validating. SRPM in comment 4. Keywords:
(none) =>
validated_update (In reply to claire robinson from comment #10) > The duplicate files listed are likely due to fuzzy search also listing files > in python3-pillow-qt when searching for python3-pillow. You can work around > this by using urpmf instead like so.. Actually, the issue was it showing the files in the core/release version of the packages too. If you only look at the core/updates_testing versions, you can see the files are in the right places. An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0169.html Status:
NEW =>
RESOLVED File conflicts with python-pillow-sane 2 installation transactions failed There was a problem during the installation: file /usr/lib64/python3.4/site-packages/__pycache__/sane.cpython-34.pyc from install of python-pillow-sane-2.6.2-2.2.mga5.x86_64 conflicts with file from package python3-pillow-2.6.2-2.mga5.x86_64 file /usr/lib64/python3.4/site-packages/__pycache__/sane.cpython-34.pyo from install of python-pillow-sane-2.6.2-2.2.mga5.x86_64 conflicts with file from package python3-pillow-2.6.2-2.mga5.x86_64 file /usr/lib64/python3.4/site-packages/__pycache__/sane.cpython-34.pyc from install of python3-pillow-2.6.2-2.2.mga5.x86_64 conflicts with file from package python-pillow-sane-2.6.2-2.mga5.x86_64 file /usr/lib64/python3.4/site-packages/__pycache__/sane.cpython-34.pyo from install of python3-pillow-2.6.2-2.2.mga5.x86_64 conflicts with file from package python-pillow-sane-2.6.2-2.mga5.x86_64 Hope that 2.6.2-2.3.mga5 will fix this CC:
(none) =>
makowski.mageia Please use bug 17089 for the new update. Thanks. |