Bug#798354: warning: not replacing /usr/bin/py-afl-fuzz with a link
On 08.09.2015 13:51, Jakub Wilk wrote: > Package: python-afl > Version: 0.5-2 > > If you have python3-afl_0.2.1-1, and then install python-afl_0.5-2, you get: > > update-alternatives: using /usr/share/python-afl/py-afl-fuzz to provide > /usr/bin/py-afl-fuzz (py-afl-fuzz) in auto mode > update-alternatives: warning: not replacing /usr/bin/py-afl-fuzz with a link > update-alternatives: warning: not replacing > /usr/share/man/man1/py-afl-fuzz.1.gz with a link > > ...and you end up with the old py-afl-fuzz, which is not compatible with the > new afl module. > > Suggested solution: use Breaks to make sure than python-afl and python3-afl > versions are always in sync. Yep, breaks missing against the pre-alternatives package (0.2.1-1). Thanks for reporting this. Daniel -- 4096R/DF5182C8 46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8 LPI certified Linux admin (LPI000329859 64mz6f7kt4) http://www.danielstender.com/blog/
Bug#798354: warning: not replacing /usr/bin/py-afl-fuzz with a link
Package: python-afl Version: 0.5-2 If you have python3-afl_0.2.1-1, and then install python-afl_0.5-2, you get: update-alternatives: using /usr/share/python-afl/py-afl-fuzz to provide /usr/bin/py-afl-fuzz (py-afl-fuzz) in auto mode update-alternatives: warning: not replacing /usr/bin/py-afl-fuzz with a link update-alternatives: warning: not replacing /usr/share/man/man1/py-afl-fuzz.1.gz with a link ...and you end up with the old py-afl-fuzz, which is not compatible with the new afl module. Suggested solution: use Breaks to make sure than python-afl and python3-afl versions are always in sync. -- Jakub Wilk
Bug#798354: warning: not replacing /usr/bin/py-afl-fuzz with a link
... or even better, as you suggest, always against older versions to get sure. Daniel -- 4096R/DF5182C8 46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8 LPI certified Linux admin (LPI000329859 64mz6f7kt4) http://www.danielstender.com/blog/
Bug#798354: warning: not replacing /usr/bin/py-afl-fuzz with a link
We've got a problem here ... to keep the binaries aligned through breaks it would need cross breaking, right? I mean, python-afl 0.5-3 breaks python3-afl << 0.5-3 (and vice versa) to prevent the described problem: python3-afl 0.5-3 couldn't be installed wrongfully at the side of python-afl 0.2.1-1 with that (and vice versa). But that needs further action because that cross breaking prevents updating w/o previous uninstall: $ sudo dpkg -i svn/build-area/python{,3}-afl_0.5-3_amd64.deb {...} python-afl breaks python3-afl (<< 0.5-3) python3-afl (version 0.2.1-1) is present and installed. {...} python3-afl breaks python-afl (<< 0.5.3) python-afl (version 0.2.1-1) is present and installed. Better, versioned cross-*dependencies* of the binaries? Like, $ sudo dpkg -i svn/build-area/python3-afl_0.5-3_amd64.deb {...} dpkg: dependency problems prevent configuration of python3-afl: python3-afl depends on python-afl (= 0.5-3); however: Version of python-afl on system is 0.2.1-1. Not the ultimate rationale of having different binaries, but ... did I missed something? Daniel -- 4096R/DF5182C8 46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8 LPI certified Linux admin (LPI000329859 64mz6f7kt4) http://www.danielstender.com/blog/
Bug#798354: warning: not replacing /usr/bin/py-afl-fuzz with a link
* Daniel Stender, 2015-09-08, 15:43: I mean, python-afl 0.5-3 breaks python3-afl << 0.5-3 (and vice versa) to prevent the described problem: python3-afl 0.5-3 couldn't be installed wrongfully at the side of python-afl 0.2.1-1 with that (and vice versa). Right. But that needs further action because that cross breaking prevents updating w/o previous uninstall: $ sudo dpkg -i svn/build-area/python{,3}-afl_0.5-3_amd64.deb {...} python-afl breaks python3-afl (<< 0.5-3) python3-afl (version 0.2.1-1) is present and installed. {...} python3-afl breaks python-afl (<< 0.5.3) python-afl (version 0.2.1-1) is present and installed. Try passing --auto-deconfigure to dpkg. (This is what apt already does.) -- Jakub Wilk
Bug#798354: warning: not replacing /usr/bin/py-afl-fuzz with a link
On 08.09.2015 16:05, Jakub Wilk wrote: > * Daniel Stender, 2015-09-08, 15:43: >> I mean, python-afl 0.5-3 breaks python3-afl << 0.5-3 (and vice versa) to >> prevent the described problem: >> python3-afl 0.5-3 couldn't be installed wrongfully at the side of python-afl >> 0.2.1-1 with that (and vice versa). > > Right. > >> But that needs further action because that cross breaking prevents updating >> w/o previous uninstall: >> >> $ sudo dpkg -i svn/build-area/python{,3}-afl_0.5-3_amd64.deb >> {...} >> python-afl breaks python3-afl (<< 0.5-3) >> python3-afl (version 0.2.1-1) is present and installed. >> {...} >> python3-afl breaks python-afl (<< 0.5.3) >> python-afl (version 0.2.1-1) is present and installed. >> > > Try passing --auto-deconfigure to dpkg. (This is what apt already does.) Ah, yes. All right. Thanks for hints and reporting the bug! Dan -- 4096R/DF5182C8 46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8 LPI certified Linux admin (LPI000329859 64mz6f7kt4) http://www.danielstender.com/blog/