You are not logged in.
Hi all,
After switching from Ubuntu to Arch yesterday, I was trying to get WM which is xmonad up and running:
unfortunately i encountered this (re-issued the install command to get the error again)
sh-3.2$ sudo pacman -S xmonad
warning: xmonad-0.8.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): xmonad-0.8.1-1
Total Download Size: 0,00 MB
Total Installed Size: 4,48 MB
Proceed with installation? [Y/n] Y
checking package integrity...
(1/1) checking for file conflicts [############################################################################################################################################################################################################################] 100%
ghc-pkg: cannot find package xmonad-0.8.1
error: scriptlet failed to execute correctly
(1/1) upgrading xmonad [############################################################################################################################################################################################################################] 100%
Reading package info from stdin ... done.
xmonad-0.8.1: dependency X11-1.4.5 doesn't exist (use --force to override)
xmonad-0.8.1: dependency base-3.0.3.0 doesn't exist (use --force to override)
xmonad-0.8.1: dependency containers-0.2.0.0 doesn't exist (use --force to override)
xmonad-0.8.1: dependency directory-1.0.0.2 doesn't exist (use --force to override)
xmonad-0.8.1: dependency process-1.0.1.0 doesn't exist (use --force to override)
xmonad-0.8.1: dependency unix-2.3.1.0 doesn't exist (use --force to override)
error: scriptlet failed to execute correctly
Of course I already read these posts:
http://bbs.archlinux.org/viewtopic.php?id=70610
user seems to have similar problem but no solution was posted safe a link to below thread
http://bbs.archlinux.org/viewtopic.php?id=69681
seems to be about a similar problem but:
a) i do not have testing enabled
b) i did not upgrade ghc but installed it fresh
c) it mentions that the trouble is due to it being in [testing] and that it will be solved once it is in [extra] --> indicates it is a different problem
d) it furthermore mentions a script at http://bbs.archlinux.org/viewtopic.php? … 98#p440598 but it does not seem to work
Anyone got a clue how I can get xmonad up and running?
Thanks all :)
Last edited by Arien (2009-04-24 18:46:02)
Offline
It is the same problem. ghc was moved to extra and the TUs who maintain xmonad and haskell-x11 in community didn't manage yet to rebuild them. So, the solution is still the same: rebuild haskell-x11 and xmonad via ABS.
EDIT: Here are the steps to do that (I'm sure you can figure them out yourself, but just for completeness, since this has cropped up 3 times already
1) install 'abs' and the whole 'base-devel' group
2) make sure that 'community' is enabled in /etc/abs.conf
3) run 'abs'
4) copy the contents of /var/abs/community/lib/haskell-x11 into a temporary dir
5) change dir into that newly created haskell-x11 dir and run 'makepkg'
6) 'pacman -U' the resulting package
7) repeat from 4) on with /var/abs/community/x11/xmonad
Last edited by bender02 (2009-04-23 19:55:29)
Offline
It is the same problem. ghc was moved to extra and the TUs who maintain xmonad and haskell-x11 in community didn't manage yet to rebuild them. So, the solution is still the same: rebuild haskell-x11 and xmonad via ABS.
EDIT: Here are the steps to do that (I'm sure you can figure them out yourself, but just for completeness, since this has cropped up 3 times already
1) install 'abs' and the whole 'base-devel' group
2) make sure that 'community' is enabled in /etc/abs.conf
3) run 'abs'
4) copy the contents of /var/abs/community/lib/haskell-x11 into a temporary dir
5) change dir into that newly created haskell-x11 dir and run 'makepkg'
6) 'pacman -U' the resulting package
7) repeat from 4) on with /var/abs/community/x11/xmonad
I.e., build haskell-x11, xmonad, and xmonad-contribs packages from [community] with ABS.
Worked liked a charm, thanks!
Offline
As i do not yet know how I can use ABS i tried yaourt -Sb.
Is the yaourt approach yielding the same package as ABS?
i did:
yaourt -Sb haskell-x11
yaourt -Sb xmonad
yaourt -Sb xmonad-contrib
edit: Oh well yes, the most important thing ---> seems it works, safe for some bumps in my xmonad.hs which was still optimised for ubuntu
Last edited by Arien (2009-04-24 00:27:48)
Offline
As i do not yet know how I can use ABS i tried yaourt -Sb.
Is the yaourt approach yielding the same package as ABS?i did:
yaourt -Sb haskell-x11 yaourt -Sb xmonad yaourt -Sb xmonad-contrib
edit: Oh well yes, the most important thing ---> seems it works, safe for some bumps in my xmonad.hs which was still optimised for ubuntu
Hmm, I don't really know how to use all of yaourt's features yet -- but my original comment paraphrased bender02's instructions (he took the pains of explaining all the steps for you).
To use ABS you first need to get the 'abs' package. Hmm, I could explain all the joys of ABS, but I suggest you first look into the Arch wiki page for ABS. I highly suggest you get to know how to use ABS -- it's really useful if you want to customize any of the binaries already available with custom compile flags/options.
Offline
...paraphrased bender02's instructions...
Yes indeed
without Bender's instructions i would not have had a clue that the problem can be solved by a manual recompile.
And hearing about the manual building I remembered the yaourt man pages.
So I thought: "I could give it a whirl, if it works: "great"... if not I will read about the ABS as soon as I can"
As I only followed a hunch I was quite surprised that it worked out great.
So I was not asking about how to use the ABS, but rather whether someone who knows both methods of building could confirm that the methods are on par with each other.
Anyways thank you for hinting i should read about the ABS anyways, at least optimizing for my architecture is likely not as easily done with yaort.
(hmm or perhaps yaourt somehow uses the abs system?)
Offline
Anyways thank you for hinting i should read about the ABS anyways, at least optimizing for my architecture is likely not as easily done with yaort.
(hmm or perhaps yaourt somehow uses the abs system?)
Someone can correct me, but I'm pretty sure it grabs the PKGBUILD from ABS and builds it using makepkg. In that case, optimisation is as simple as opening up /etc/makepkg.conf and changing whatever you like.
You can also grab the PKGBUILD by itself using yaourt -G
You can get PKGBUILDs from AUR in exactly the same way.
Cthulhu For President!
Offline
Arien wrote:Anyways thank you for hinting i should read about the ABS anyways, at least optimizing for my architecture is likely not as easily done with yaort.
(hmm or perhaps yaourt somehow uses the abs system?)Someone can correct me, but I'm pretty sure it grabs the PKGBUILD from ABS and builds it using makepkg. In that case, optimisation is as simple as opening up /etc/makepkg.conf and changing whatever you like.
You can also grab the PKGBUILD by itself using yaourt -G
You can get PKGBUILDs from AUR in exactly the same way.
I'm pretty sure that's correct, since yaourt is basically a pacman extension to take into account PKGBUILDs from AUR.
Arien: Here's a typical case of ABS usage: I used ABS to enable the "remember password" functionality for alpine, as the default binary from the mirrors don't come with this option enabled. I.e., the official PKGBUILD was modified to allow for new functionality in the program. It was really an "ah ha" moment for me when I realized this.
Anyway, I guess I'm going off topic so I'll stop writing now.
Offline
Just for completeness so that this topic can be viewed as closed:
Today (2009-04-24 12:55Z) the xmonad packages that were out of date have been upgraded.
I removed my manual builds and tried the new binary ones to verify whether the incompatibility with the new ghc has been removed.
And yay and behold it worked.
So if anyone stumbles over this thread in the future they will know now that the issue has been solved completely. (barring new occurences when ghc is upgraded again i guess)
Edit: Oh yeah, most important thing: Big thanks and hugs to vegai, who is the Trusted User in charge of maintaining the Xmonad arch pkgs
Last edited by Arien (2009-04-24 14:23:09)
Offline
You should add "[SOLVED]" to the thread title.
Offline
Thanks did not know that I can do that
Offline