On 29/11/2024 10:16, Otto Kekäläinen wrote:
That in turn leads down another rabbit hole, as
updating these libraries need to be tested for compatibility with
existing packages, and a quick rdepends test build on e.g.
https://salsa.debian.org/otto/golang-github-charmbracelet-glamour/-/pipelines/770887
shows that the new version broke every single package that depended on
it :(
It seems the problem in your case is that you also should update chroma
in Depends:
https://salsa.debian.org/otto/golang-github-charmbracelet-glamour/-/blob/debian/latest/debian/control?ref_type=heads#L31
As the error is:
cannot find package "github.com/alecthomas/chroma/v2"
And we can see in the log that it is not installed, instead it is the v0
version:
Setting up golang-github-alecthomas-chroma-dev (0.10.0-5) ...
--
Nicolas Peugnet