How do we update pandoc with its full haskells automatically as this
$ sudo pacman -S pandoc
warning: pandoc-2.17.1.1-55 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) pandoc-2.17.1.1-55
Total Installed Size: 62.20 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##################################] 100%
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(1/1) checking available disk space [##################################] 100%
:: Running pre-transaction hooks...
(1/1) Unregistering Haskell modules...
:: Processing package changes...
(1/1) reinstalling pandoc [##################################] 100%
:: Running post-transaction hooks...
(1/1) Registering Haskell modules...
will not install any its haskell whatsoever
You are only asking pacman to (re)install pandoc. the haskell dependencies exist so are not reinstalled.
You could possibly remove pandoc and all its dependencies then reinstall it
sudo pacman -Rs pandoc
sudo pacman -Syu pandoc
But that might not work (1st command) if other packages are depending on some of pandoc's dependencies
Or you can manually reinstall pandoc and all its dependencies which can be listed with
pacman -Si pandoc
i.e.
sudo pacman -Syu pandoc ghc-libs haskell-glob haskell-juicypixels haskell-sha haskell-aeson haskell-aeson-pretty haskell-attoparsec haskell-base64-bytestring haskell-blaze-html
haskell-blaze-markup haskell-case-insensitive haskell-citeproc haskell-commonmark haskell-commonmark-extensions haskell-commonmark-pandoc haskell-connection
haskell-data-default haskell-doclayout haskell-doctemplates haskell-emojis haskell-file-embed haskell-haddock-library haskell-hslua haskell-hslua-aeson
haskell-hslua-marshalling haskell-hslua-module-path haskell-hslua-module-system haskell-hslua-module-text haskell-hslua-module-version haskell-http-client
haskell-http-client-tls haskell-http-types haskell-ipynb haskell-jira-wiki-markup haskell-lpeg haskell-network haskell-network-uri
haskell-pandoc-lua-marshal haskell-pandoc-types haskell-pretty-show haskell-random haskell-safe haskell-scientific haskell-skylighting
haskell-skylighting-core haskell-split haskell-syb haskell-tagsoup haskell-temporary haskell-texmath haskell-text-conversions haskell-unicode-collation
haskell-unicode-transforms haskell-xml haskell-xml-conduit haskell-yaml haskell-zip-archive haskell-zlib
There may be a pacman switch that does this automatically but if there is I don't know it ?
I think I had the same problem with shellcheck.
Shellcheck itself would update, but not its haskell dependencies, so I had to always manually remove and reinstall shellcheck.
shellcheck or pandoc don't have haskell depends on artix, we use the binary releases due to pretty naughty amount of haskell packages to maintain
There are no haskell packages in artix repos.