The officially official Devuan Forum!

You are not logged in.

#1 2024-05-16 10:22:29

Altoid
Member
Registered: 2017-05-07
Posts: 1,579  

Firefox 'diversion' to 'firefox.real'?

Hello:

Still on Devuan Beowulf with a backported kernel:

~$ uname -a
Linux devuan 5.10.0-0.deb10.16-amd64 #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) x86_64 GNU/Linux
~$ 

During my weekly update, apt offered to upgrade Firefox to 115.11.0esr.
I went ahead and in the process the output read:

--- snip ---
Preparing to unpack .../firefox-esr_115.11.0esr-1~deb10u1_amd64.deb ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr'               ### <---
Unpacking firefox-esr (115.11.0esr-1~deb10u1) over (115.10.0esr-1~deb10u1) ...
Setting up firefox-esr (115.11.0esr-1~deb10u1) ...
--- snip ----

I do not recall seeing this Leaving 'diversion ...   line ever before.

Looked at /usr/bin and got two instances of firefox:

~$ ls /usr/bin | grep firefox
firefox
firefox-esr
~$

Checked with apt and found one instance of firefox:

~$ apt list | grep installed | grep firefox
--- snip ---
firefox-esr/oldoldstable-security,now 115.11.0esr-1~deb10u1 amd64 [installed]
webext-ublock-origin-firefox/oldoldstable,oldoldstable,now 1.42.0+dfsg-1~deb10u1 all [installed]
~$

mc shows them as *firefox and @firefox-esr.

~$ cat /usr/bin/firefox
#!/bin/sh

FIREFOX="$(command -v firefox)"
[ -x "$FIREFOX.real" ] && exec "$FIREFOX.real" "$@"

exec firefox-esr "$@"
~$ 

So /usr/bin/firefox-esr is a symbolic link to /lib/firefox-esr/firefox-esr.

Is all this related to the 'merge'?

Is there anything I have to do or does it stay like that?

Thanks in advance.

Best,

A.

Offline

#2 2024-05-16 16:35:37

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: Firefox 'diversion' to 'firefox.real'?

Daedalus, same thing, same teams.
No merger.

Offline

#3 2024-05-16 19:06:49

Altoid
Member
Registered: 2017-05-07
Posts: 1,579  

Re: Firefox 'diversion' to 'firefox.real'?

Hello:

aluma wrote:

Daedalus, same thing ...

I see.
Not a merge after-effect then.

Poked around some more and found this.

Debian Bug report logs - #1033594
The diversion of "/usr/bin/firefox" by "firefox-esr" package does not respect a previously added local diversion

Looked some more and found a definition/explanation of diversion

linux.die.net wrote:

File diversions are a way of forcing dpkg(1) not to install a file into its location, but to a diverted location. Diversions can be used through the Debian package scripts to move a file away when it causes a conflict.

Right ...
But why is this happening in my box? (and apparently in yours also ...)

Thanks for your input.

Best,

A.

Offline

Board footer