Bug#817977: firefox: Please add Conflicts & Provides for iceweasel

Axel Beckert abe at debian.org
Sun Mar 13 06:20:42 UTC 2016


Hi Mike,

Mike Hommey wrote:
> > 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.

Not sure what exactly you mean with "full apt logs", but here's some
more stuff I can offer. I surely won't post the full log files which
expose which other packages are installed and when I did the upgrades.

>From /var/log/aptitude:

===============================================================================

Aptitude 0.7.8: log report
Sat, Mar 12 2016 19:14:07 +0100

  IMPORTANT: this log only lists intended actions; actions which fail
  due to dpkg problems may not be completed.

Will install 138 packages, and remove 2 packages.
94.7 MB of disk space will be used
========================================
[…]
[INSTALL, DEPENDENCIES] firefox:amd64 45.0-1
[INSTALL, DEPENDENCIES] firefox-esr:amd64 45.0esr-1
[…]
[INSTALL] firefox-esr-l10n-de:amd64 45.0esr-1
[INSTALL] firefox-l10n-de:amd64 45.0-1
[…]
[UPGRADE] iceweasel:amd64 45.0~b5-1 -> 45.0esr-1
[…]
========================================

Log complete.

===============================================================================

>From /var/log/apt/history.log:

Start-Date: 2016-03-12  19:14:08
Requested-By: abe (1000)
Install: […], firefox-l10n-de:amd64 (45.0-1), […], firefox-esr-l10n-de:amd64 (45.0esr-1), firefox:amd64 (45.0-1, automatic), […], firefox-esr:amd64 (45.0esr-1, automatic), […]
Upgrade: […], iceweasel:amd64 (45.0~b5-1, 45.0esr-1), […]
Purge: […]
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2016-03-12  19:15:58

>From /var/log/apt/term.log:

Log started: 2016-03-12  19:14:08
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... […] files and directories currently installed.)
[…]
Selecting previously unselected package firefox.
Preparing to unpack .../firefox_45.0-1_amd64.deb ...
Unpacking firefox (45.0-1) ...
Selecting previously unselected package firefox-esr.
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.
Preparing to unpack .../firefox-esr-l10n-de_45.0esr-1_all.deb ...
Unpacking firefox-esr-l10n-de (45.0esr-1) ...
Selecting previously unselected package firefox-l10n-de.
Preparing to unpack .../firefox-l10n-de_45.0-1_all.deb ...
Unpacking firefox-l10n-de (45.0-1) ...
[…]
Preparing to unpack .../iceweasel_45.0esr-1_all.deb ...
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'iceweasel' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Unpacking iceweasel (45.0esr-1) over (45.0~b5-1) ...
dpkg: warning: unable to delete old directory '/etc/iceweasel/profile/chrome': Directory not empty
dpkg: warning: unable to delete old directory '/etc/iceweasel/profile': Directory not empty
dpkg: warning: unable to delete old directory '/etc/iceweasel/pref': Directory not empty
[…]
Errors were encountered while processing:
 /var/cache/apt/archives/firefox-esr_45.0esr-1_amd64.deb
 […]
Log ended: 2016-03-12  19:15:58

>From /var/log/dpkg.log:

[…]
2016-03-12 19:15:24 install firefox:amd64 <none> 45.0-1
2016-03-12 19:15:24 status half-installed firefox:amd64 45.0-1
2016-03-12 19:15:27 status triggers-pending mime-support:all 3.59
2016-03-12 19:15:27 status half-installed firefox:amd64 45.0-1
2016-03-12 19:15:27 status half-installed firefox:amd64 45.0-1
2016-03-12 19:15:27 status unpacked firefox:amd64 45.0-1
2016-03-12 19:15:27 status unpacked firefox:amd64 45.0-1
2016-03-12 19:15:27 install firefox-esr:amd64 <none> 45.0esr-1
2016-03-12 19:15:27 status half-installed firefox-esr:amd64 45.0esr-1
2016-03-12 19:15:27 status not-installed firefox-esr:amd64 <none>
2016-03-12 19:15:27 install firefox-esr-l10n-de:all <none> 45.0esr-1
2016-03-12 19:15:27 status half-installed firefox-esr-l10n-de:all 45.0esr-1
2016-03-12 19:15:27 status unpacked firefox-esr-l10n-de:all 45.0esr-1
2016-03-12 19:15:27 status unpacked firefox-esr-l10n-de:all 45.0esr-1
2016-03-12 19:15:27 install firefox-l10n-de:all <none> 45.0-1
2016-03-12 19:15:27 status half-installed firefox-l10n-de:all 45.0-1
2016-03-12 19:15:28 status unpacked firefox-l10n-de:all 45.0-1
2016-03-12 19:15:28 status unpacked firefox-l10n-de:all 45.0-1
[…]
2016-03-12 19:15:28 upgrade iceweasel:amd64 45.0~b5-1 45.0esr-1
2016-03-12 19:15:28 status half-configured iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:28 status unpacked iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:28 status half-installed iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:29 status half-installed iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:29 status triggers-pending menu:amd64 2.1.47
2016-03-12 19:15:29 status triggers-awaited menu:amd64 2.1.47
2016-03-12 19:15:29 status half-installed iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:29 status half-installed iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:29 status half-installed iceweasel:amd64 45.0~b5-1
2016-03-12 19:15:29 status unpacked iceweasel:all 45.0esr-1
2016-03-12 19:15:29 status unpacked iceweasel:all 45.0esr-1
[…]
2016-03-12 19:16:21 configure firefox:amd64 45.0-1 <none>
2016-03-12 19:16:21 status unpacked firefox:amd64 45.0-1
2016-03-12 19:16:21 status unpacked firefox:amd64 45.0-1
2016-03-12 19:16:21 status half-configured firefox:amd64 45.0-1
[…]

Hope, this helps.

> > I'd be great to be able to fall-back to firefox-esr if firefox once
> > again broke compatibility for XUL applications or plugins while still
> > being able to to use the current version firefox without them (or to
> > develop a fix while still being able to use them).
> 
> Beware that firefox will *not* be released (bug 817954)

That's good. IMHO even ESR has a too short support interval to be
really suitable for a stable release…

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the pkg-mozilla-maintainers mailing list