You are not logged in.

#1 2010-08-13 19:10:02

yvonney
Member
Registered: 2008-06-11
Posts: 671

ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

Hi.... after getting dependency notices on haskell packages for a few days when doing a pacman -Syu
I added IgnorePkg=xmonad to pacman.conf

So, is it ok to force ghc install?

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-mtl: requires ghc=6.12.1
:: haskell-utf8-string: requires ghc=6.12.1
:: haskell-x11-xft: requires ghc=6.12.1
:: xmonad: requires ghc=6.12.1


Using brisbin33's tricked out, make that 'uber-happy' dotfiles, along with the xmonad goodies.
http://pbrisbin.com:8080/dotfiles/xmonad_xmonad.hs
Thinking that perhaps I'm to go to other version of the above dependencies or something.
never a worry, life's great with less!

Last edited by yvonney (2010-08-13 19:14:37)

Offline

#2 2010-08-13 20:25:31

splittercode
Member
From: WI, USA
Registered: 2010-03-16
Posts: 203

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

I'm not sure I understand your question completely, but since the configuration file (xmonad.hs) contains all 'settings' for xmonad, you should be able to completely remove all xmonad related packages (ghc, haskell modules, xmonad itself) and then reinstall them without any setbacks.  Why did you ignore xmonad updates in the first place though?

Last edited by splittercode (2010-08-13 20:36:56)

Offline

#3 2010-08-13 20:37:15

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

just updating as usual -- I do have testing repo though.
haven't done a thing though the other day upon doing a pacman update the above occured.
not sure what's trying to update. perhaps Xmonad as well as ghc. Can't say what's happening though perhaps one or more of the dependencies is thinking the darcs version which I used until about a month ago.

thank you!

Offline

#4 2010-08-14 13:00:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

The problem is probably that you are using testing, and the packages that pacman complains about have not been rebuilt against ghc 6.12.3 in testing.

you should ask the maintainer if he would be as kind as to rebuild those packages and/or you should rebuild them yourself.

Last edited by Mr.Elendig (2010-08-14 13:21:12)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2010-08-14 17:54:10

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

Same thing I ran into. I was using [testing] for trying out KDE 4.5 before I switched to Xmonad and forgot to disable it. Removing the testing repo solved it.

Offline

#6 2010-08-15 22:44:06

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

thanks!
still not aware of what to do so just staying with ingoring ghc in pacman.conf

I commented out testing and of course got the ton of things newer message... and I'm going to keep using testing anyways which I've turned back on logically i guess.

So then I considered forcing the new ghc to install. then with having scanned one of the arch-haskell emails and a quick think wondered if quite likely I'd break Xmonad.

So, right now all the haskell stuff and xmonad and ghc are ignored by pacman updates.

hehehe, something will happen I guess.
interested in the solution obviously.

Last edited by yvonney (2010-08-15 22:44:44)

Offline

#7 2010-08-16 11:08:11

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

As I said, you can also rebuild the packages yourself agains 6.12.3


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2010-08-16 12:13:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

in my opinion that is a bug and should be reported.


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-08-17 16:30:51

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

When I ran into the problem I just uninstalled xmonad and haskell packages with pacman -Rnd and then rebuilt each one, simply changing the PKGBUILD to use new ghc 6.12.3 (and haskell-array 0.3.0.1, for haskell-stm) and everything worked fine. IMHO, I don't feel this is a problem and should be expected when using testing repo.

Offline

#10 2010-08-18 16:57:13

Nichollan
Member
From: Stavanger, Norway
Registered: 2010-05-18
Posts: 110

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

I receive pretty much that error while doing a pacman -Syu and not using the testing repository. I am not as knowledgable as others in this thread and am unsure of what to do. From what I understand the XMonad package is made so that it depends on an older version of GHC, while pacman wish to replace that version with a newer version.

Offline

#11 2010-08-18 17:10:26

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

I just used abs to fetch the PKGBUILD, then I edited it (/var/abs/community/xmonad/PKGBUILD) and changed the ghc part in the depends line from:

ghc=6.12.1

to

ghc>=6.12.1

and built the package with makepkg.

I don't know if that is a bad habit to get into, but it seemed to work fine.

Offline

#12 2010-08-18 17:19:18

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

The error is now with
:: xmonad-contrib: requires xmonad=0.9.1
:: xmonad-contrib: requires haskell-x11-xft=0.3

edit: scratch that, it won't updgrade xmonad either

edit2: ignore this post, the mirror I am using hasn't updated yet sad

Last edited by fsckd (2010-08-18 17:28:06)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#13 2010-08-18 19:16:02

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

The new xmonad package (0.9.1-6) fixes the problem, the dependency version for GHC has been changed to 6.12.3. Problem solved.

Last edited by tvale (2010-08-18 19:16:52)

Offline

#14 2010-08-18 19:23:48

Nichollan
Member
From: Stavanger, Norway
Registered: 2010-05-18
Posts: 110

Re: ghc/Xmonad -- is it ok to force ghc install? -- IgnorePkg=xmonad

Hurray!

Here's also a thread about the same error.

https://bbs.archlinux.org/viewtopic.php?id=103014

After trying out Openbox with PyTyle just now – noticing how Chromium had some graphical bugs in that environment, as well as i3 – where true transparency in urxvt doesn't seem to work out and some windows appeared to get hidden when the window manager was restarted, I figured that I would decompress every offending package from a mirror and edit their .PKGINFOs to not depend on any specific version of ghc, compress them again, and using pacman -U on the resulting files. Hopefully it wasn't too stupid.

Despite its dependency on Haskell for configuration, a language that I doubt I'll ever learn properly, I still find it the most pleasant window manager.

Offline

Board footer

Powered by FluxBB