Re: Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine
clone 535153 -1
reassign 535153 libc6-i386
reassign -1 wine
retitle -1 wine must Pre-Depends: libc6-i386 (>= 2.9-18)
This has nothing to do with ia32-apt-get but purely with the
libc6-i386 lib32 transition.
libwine_1.0.1-1_amd64.deb had its files in /usr/lib/wine
libwine_1.1.22-1_amd64.deb has its files in /usr/lib32/wine
Updating wine before libc6-i386 will put files in
/emul/ia32-linux/usr/lib/wine and then libc6-i386 removes the
/usr/lib32 link and breaks wine (as has happened to the reportee).
libc6-i386 therefore breaks an already installed wine.
On the other hand libwine makes older libc6-i386 unupgradeable by
shipping /usr/lib32/ which is a link in older libc6-i386. Further like
all the other transitioning packages wine must make sure the
libc6-i386 preinst is executed before wine is unpacked so files in
/usr/lib32/wine actualy are placed in /usr/lib32/wine and not
/emul/ia32-linux/usr/lib/wine and subsequently lost when libc6-i386
Wine (any deb that contains /usr/lib32) therefore must Pre-Depends:
libc6-i386 (>= 2.9-18).