The officially official Devuan Forum!

You are not logged in.

#1 2017-05-30 18:49:12

GNUser
Member
Registered: 2017-03-16
Posts: 570  

[SOLVED] update-alternatives warning: broken link group?

Does anybody know the meaning of the two warnings below? I think they are benign since everything on my system is working as far as I can tell, but if something is truly broken then I'd like to fix it for good housekeeping's sake.

bruno@devuan:~$ sudo update-alternatives --config x-www-browser
There are 2 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

  Selection    Path                  Priority   Status
------------------------------------------------------------
* 0            /usr/bin/firefox-esr   70        auto mode
  1            /usr/bin/chromium      40        manual mode
  2            /usr/bin/firefox-esr   70        manual mode

Press enter to keep the current choice[*], or type selection number: # I press Enter to keep current choice
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/firefox-esr because link group x-www-browser is broken
update-alternatives: warning: not replacing /usr/share/man/man1/x-www-browser.1.gz with a link

P.S. This happens with several applications, but not all. Configuring x-terminal-emulator, for instance, produces no warnings.

Last edited by GNUser (2017-05-30 20:18:07)

Offline

#2 2017-05-30 19:43:19

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: [SOLVED] update-alternatives warning: broken link group?

The update-alternatives man page said this command would fix all breakages...

yes '' | sudo update-alternatives --force --all

...and, indeed, all the warnings went away after running the command smile Nevertheless, it would still be nice to understand what the warnings meant.

Last edited by GNUser (2017-05-30 19:44:22)

Offline

#3 2017-05-30 20:07:58

smoki
Member
Registered: 2017-05-15
Posts: 56  

Re: [SOLVED] update-alternatives warning: broken link group?

It means user error, i guess you do something wrongly with it before smile. But take this seriosly, as update-alternatives is part of dpkg so package managment, when you installing something some package which want alternative update this also. So any error there if you make let say some typing mistake you must fix as later with dpkg and apt and of course apt GUIs like synaptic might be affected and can't update something if it broken.

Basically any warning like that you must fix.

Last edited by smoki (2017-05-30 20:12:12)

Offline

#4 2017-05-30 20:16:32

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: [SOLVED] update-alternatives warning: broken link group?

Thanks, smoki. Yes, I figured the culprit was between the screen and the chair wink

I will keep an eye on this and make sure it runs warning- and error-free. If I figure out what I did to cause the breakage and if it turns out to be something interesting, I'll post it here.

Last edited by GNUser (2017-05-31 19:03:02)

Offline

#5 2017-05-31 18:22:43

greenjeans
Member
Registered: 2017-04-07
Posts: 541  
Website

Re: [SOLVED] update-alternatives warning: broken link group?

I usually just delete anything that gives me crap like that. 

There are no errors, just cruft that hasn't been RM'ed yet.

big_smile


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

Board footer