You are not logged in.
I just updated my system and when I recompiled XMonad using `xmonad --recompile`, I got an error from almost evert import in my config sayinh
Could not load module ‘XMonad.{Module.Name}’
It is a member of the package ‘xmonad-contrib-0.17.1-8Urd9enH9AU3zHDS33NsUm’
which is unusable due to missing dependencies:
random-1.2.1.1-AHzwveRxxoAAsQlVBjR4re
Use -v (or `:set -v` in ghci) to see a list of the files searched for.I have tried downgrading xmonad, xmonad-contrib, xmonad-utils and nothing works. I also have haskell-random-1.2.1.1 installed on my system and even then, XMonad refuses to compile.
What can I do?
Last edited by hackerdude97 (2023-01-01 22:25:59)
Offline
Offline
Yep, didn't do anything.
Offline
Post your pacman log.
Offline
Post your pacman log.
How do I do that? I never had to look at my pacman logs before. ![]()
Offline
Offline
Sorry, I was not clear enough, I meant the command to find the pacman logs.
Offline
/var/log/pacman.log
Offline
/var/log/pacman.log
Here are all the logs from today:
https://pastebin.com/0xxeMJ1Q
Offline
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
Offline
xmonad wrote:Use -v (or `:set -v` in ghci) to see a list of the files searched for.
Sorry, forgot to mention, this outputs an even more depressing mess of errors:
ghc-pkg check: https://pastebin.com/awiW5mar
ghci -v: https://pastebin.com/QYxzGbu5
Last edited by hackerdude97 (2022-12-30 21:11:52)
Offline
Please paste the output of `pacman -Syu --debug`
Offline
Please paste the output of `pacman -Syu --debug`
I checked the whole output and it didn't say anything interesting about either haskell or xmonad (I would post it, but it's quite a few thousand lines).
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I needed to do some work on my computer, so I decided to backup my stuff and do a reinstal of arch, and now it works properly. Don't know what was causing the issue. Marking this as solved.
Last edited by hackerdude97 (2023-01-02 10:30:56)
Offline
For me
sudo ghc-pkg recache
Fixed it. I know it's in the linked document, but somebody might miss it, because it's under some other stuff that's not really to the point.
Also a SOLVED issue solved by re-installing arch is a bit meh ![]()
Offline
For me
sudo ghc-pkg recache
Fixed it. I know it's in the linked document, but somebody might miss it, because it's under some other stuff that's not really to the point.
Also a SOLVED issue solved by re-installing arch is a bit meh
I know, but I couldn't waste any time so I had to do it. Should I delete this post or leave?
Offline
I know, but I couldn't waste any time so I had to do it. Should I delete this post or leave?
You should always leave your posts up. Chances are someone else will have the same question at some point.
Offline