On Sun, Mar 13, 2016 at 01:25:33PM +0900, Mike Hommey wrote: > On Sun, Mar 13, 2016 at 11:30:10AM +0900, Mike Hommey wrote: > > On Sun, Mar 13, 2016 at 11:25:35AM +0900, Mike Hommey wrote: > > > On Sun, Mar 13, 2016 at 02:13:48AM +0100, Axel Beckert wrote: > > > > Hi, > > > > > > > > Patrick Winnertz wrote: > > > > > please add Conflicts: Iceweasel and Provides: Iceweasel to firefox, > > > > > as it is otherwise not possible to install the firefox package and > > > > > to remove the iceweasel package without installing firefox-esr, too. > > > > > > > > I ran into this, too, when upgrading iceweasel (which pulled in > > > > firefox-esr) and installing firefox in the same aptitude run: > > > > > > > > Preparing to unpack .../firefox-esr_45.0esr-1_amd64.deb ... > > > > Removing 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by > > > > iceweasel' > > > > dpkg-divert: error: rename involves overwriting '/usr/bin/firefox' with > > > > different file '/usr/bin/firefox.real', not allowed > > > > dpkg: error processing archive > > > > /var/cache/apt/archives/firefox-esr_45.0esr-1_amd64.deb (--unpack): > > > > subprocess new pre-installation script returned error exit status 2 > > > > Selecting previously unselected package firefox-esr-l10n-de. > > > > > > No matter how hard I try, I can't reproduce. I also don't understand how > > > that can happen. But since neither of you are copy/pasting full apt > > > logs, I cannot tell much. The only way I can imagine this happening is > > > if iceweasel is not unpacked before firefox-esr. Interestingly, > > > iceweasel unpacking before firefox-esr is related to bug 817908. > > > > Now, come to think of it, maybe making firefox-esr conflict with > > iceweasel (<< 45) would force iceweasel to be unpacked first. > > Incidentally, this might be part of working around bug 817908 too. > > The issue is actually different, but I don't get why I can't reproduce > it. At least I think I figured how it can happen... will try to find a > work around.
... in fact, a conflict might still be the the right work around. Mike