Hi Sinyeol and Junyong,

Quoting Junyong Liang (2026-07-15 16:12:20)
> Hi Sinyeol,
> 
> Thank you for pointing this out. I had overlooked this detail.
> 
> After checking the APT behavior, I found that packages listed in 
> `Recommends` are installed by default. Since `hx-highlight-core` has not 
> yet been uploaded, APT tries to install it during the upgrade and ends 
> up failing to resolve the dependencies.
> 
> As a temporary workaround, you can install the package without 
> recommended dependencies:
> 
> ```bash
> 
> sudo apt install --no-install-recommends hx
> 
> ```
> 
> That said, there have not been any significant changes to |hx|itself 
> since your currently installed version, so postponing the upgrade until 
> `hx-highlight-core` becomes available is also perfectly fine.
> 
> While looking into this, I also started wondering whether |git|and a C++ 
> compiler (`g++` or `clang`) still belong in `Recommends`. They were 
> originally intended for users who build grammar plugins locally. Now 
> that prebuilt grammar packages are being introduced, perhaps these 
> packages would be better suited as `Suggests`, or even removed from the 
> dependency chain altogether. I'd be interested to hear Jonas' thoughts 
> on this as well.

I released now, to have hx provide the binary package hx-plugin-dev
that I assume is a build-dependency of the future plugin packages.

I did not drop the dependencies on tools for compiling plugins locally,
because those plugin packages are not yet in Debian. When they are, it
makes sense to me to drop those recommendations - or lower them to
suggestions, if we find a continued need for some users to compile
plugins themselves.

I was unaware that apt gets upst about missing recommendations. That
seems to me to be a bug in apt, and I suggest reporting it. Yes, Debian
as a complete, stable system is not supposed to have any missing
recommendations, but apt is intended not only for stable systems but
also testing/unstable systems where recommendations are not ensured:
Seems to me that the expected behavior of apt is to warn, not fail.
Yes, the suggested workaround seems usable too, but please consider
filing a bugreport to (hopefully) get this improved generally.

I am currently at Debconf in Argentina, from where I cannot release
packages. I intend on looking at the plugin package at the end of the
month when I return home again.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Reply via email to