On Mon, May 11, 2020 at 12:44:42PM -0300, Nelson A. de Oliveira wrote: > > Today after upgrading from 4.40-2 to 4.48-1 I had this issue one more > time (where I was unable to open any terminal; message was "urxvt: > unable to load base fontset, please specify a valid one using -fn, > aborting.") > > I had to manually run "xset fp rehash" again. The command xset has to be executed _within_ the X session of the current user. On the other hand the upgrade of the package can happen anywhere, for example in the text console or in a X terminal but as root user without the rights to execute X programs. Therefore, the upgrading packages (including xfonts-terminus) are not always allowed to execute X commands.
> Now I am unsure if "xset fp rehash" needs to be called in some other > step while upgrading/installing xfonts-terminus or if there is another > kind of issue somewhere else. I am unsure too. It would be best if X autodetects that the fonts have changed and runs this command automatically. Anton Zinoviev