dpkg-divert: Fehler: »Umleitung von /usr/bin/firefox zu /usr/bin/firefox.real durch purebrowser« kollidiert mit »Umleitung von /usr/bin/firefox zu /usr/bin/firefox.real durch firefox-esr«
translated:
dpkg-divert: ERROR: »Redirection from /usr/bin/firefox to /usr/bin/firefox.real of purebrowser« collides with »redirection from /usr/bin/firefox to /usr/bin/firefox.real of firefox-esr«
dpkg-divert: error: ‘diversion of /usr/bin/firefox to /usr/bin/firefox.real by purebrowser’ clashes with ‘diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr’
dpkg: error processing archive /var/cache/apt/archives/purebrowser_52.5.0esr-1pureos2_amd64.deb (–unpack):
new purebrowser package pre-installation script subprocess returned error exit status 2
Preparing to unpack …/libgmp10_2%3a6.1.2+dfsg-1.2_amd64.deb …
Unpacking libgmp10:amd64 (2:6.1.2+dfsg-1.2) over (2:6.1.2+dfsg-1.1) …
Errors were encountered while processing:
/var/cache/apt/archives/purebrowser_52.5.0esr-1pureos2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to uninstall the firefox-esr package, then did ‘sudo apt-get upgrade’ (which worked, apart from the error
‘Error! Bad return status for module build on kernel: 4.14.0-3-amd64 (x86_64)
Consult /var/lib/dkms/psmouse/byd-0.2/build/make.log for more information.’, which I hope is not that crucial).
But then trying to install firefox-esr-package now clashes with PureBrowser:
Preparing to unpack …/firefox-esr_52.5.0esr-1~deb9u1_amd64.deb …
dpkg-divert: error: ‘diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr’ clashes with ‘diversion of /usr/bin/firefox to /usr/bin/firefox.real by purebrowser’
dpkg: error processing archive /var/cache/apt/archives/firefox-esr_52.5.0esr-1~deb9u1_amd64.deb (–unpack):
new firefox-esr package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/firefox-esr_52.5.0esr-1~deb9u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I don’t know if we are the only ones experienceing this problem, but I’d like to point out that in some cases I had to rely on Firefox to access certain (password protected) webresources, because with PureBrowser for reasons unknown it would not transmit the passphrase (at least that is what I remembered).
So it would be nice to have both options, however, at the moment there seems to be a clash.
Any ideas (maybe the solution is simple?) are very welcome -
but for some reason, apt-get can’t find the new version for purebrowser, even after I did sudo apt-get update.
sudo apt-get install purebrowser=52.5.3esr-1pureos2
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Version ‘52.5.3esr-1pureos2’ for ‘purebrowser’ was not found
I also realized that since several days, sudo apt-get upgrade would do nothing, just giving the list of packages which are no longer required.
What could be the reason for that? Did something change about the repositories in the last weeks?
I am quite sure that the last line I added because this was suggested in the Purism news to apply the patch for Spectre, but if I read now, it says to include
I think that you migth’ve misunderstood how to apply the patch that Purism referred to; in that blog post, it says that you were supposed to create this separate file: /etc/apt/sources.list.d/purism.list, which was supposed to contain only these lines:
#non-free Purism repo for microcode deb http://deb.puri.sm/pureos/ green contrib non-free
Not this line: deb http://httpredir.debian.org/debian stretch main contrib non-free
Also, your /etc/apt/sources.list file should contain the following lines, instead of what you listed above:
deb http://repo.pureos.net/pureos/ green main deb-src http://repo.pureos.net/pureos/ green main