[Haskell-cafe] Re: Trouble trying to find packages for ubuntu
tphyahoo at gmail.com
Sat Apr 7 07:14:12 EDT 2007
refined as below. This "one-shot install" runs without any errors. I
wouldn't expect this to necessarily continue to work, as feisty is
"unstable". (A little hazy on what that means)
The troubles are indeed all connected to gtk.
thartman at linodehaskell:~/shellenv/installs/haskell-installs>cat
apt-cache search libghc6 | ghc -e '
-- do not install any of the following
let exclude_strings = ["ghc6-hopengl",
matches_any x xs = any (x==) xs
matches_no_exclude_strings x = not $ matches_any x exclude_strings
column1 l = head $ words l
. filter matches_no_exclude_strings
. map column1
| xargs apt-get -y install -o APT::Cache-Limit=25165824
# xargs --max-lines=1 can be helpful for debugging if anything goes
wrong in the above.
thartman at linodehaskell:~/shellenv/installs/haskell-installs>
2007/4/6, Thomas Hartman <tphyahoo at gmail.com>:
> ... I will
> refine it so it completes without errors, time allowing.
More information about the Haskell-Cafe