06-07-2015
Thanks for the reply. No, I don't have a backup. I first installed cabal-install and cabal-debian then I installed pandoc. For some reason (not a sane one for sure) I deleted /root/.cabal/ and as you said, my system still thinks it is still there. I was hoping to find out what causes my system to still think it is still there. /root/.cabal contained a .config/ folder which is not there any more so I do not know what to do. Reinstalling also gives error.
---------- Post updated at 03:00 PM ---------- Previous update was at 02:27 PM ----------
Solved!
Since I removed (deleted) the /root/.cabal/ directory (by mistake) my system could still detect that some other packages were there and as a result complained that the system already has the required packages and files. This was because of the /root/.ghc/ folder which was still there. removing this folder, and the two corresponding local folders ~/.cabal and ~/.ghc and using cabal install pandoc solved my issue.
This User Gave Thanks to faizlo For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
Hello all,
I am having a problem with a Solaris 8 machine. Since 3 days ago I canīt login as root. I am able to login as a normal user and su. But as soon as I issue any command the system stop responding. If I log again as a normal user I see the process still runnig.
Something I noticed,... (1 Reply)
Discussion started by: kik_xxx
1 Replies
2. Shell Programming and Scripting
Hi everybody! I'm italian and I'm new on this forum :D
I have a question. Every day in my office root's servers password are modified temporary. I want create a script that:
-set tmp password root (I insert tmp password from input standard)
-after 24h tmp root password switch to prod... (1 Reply)
Discussion started by: go3mon
1 Replies
3. Solaris
Hi,
I want to send a .tar file from one solaris 5.9 server to another server in order to make files in sync.What method i can use? (2 Replies)
Discussion started by: Renjesh
2 Replies
4. Solaris
Hi,
I am having a Solaris 5.9 server in which an audit trail script is running every day.It is doing nothing but taking the backup of three files given below
-rw-r--r-- 1 root root 1807 May 18 01:30 login_server1_17May2008
-rw-r--r-- 1 root root 0 May 18 01:30... (5 Replies)
Discussion started by: Renjesh
5 Replies
5. UNIX for Dummies Questions & Answers
awk -F^ '{ if (($1 != "X") && ($5 != "3")) || if (($1 != "S") && ($5 != "2")) print $0}' abc> xyz
The above command returns this error
awk: syntax error near line 1
awk: illegal statement near line 1
I am newbie to awk, Any awk intelligence involved in correcting this issue is highly... (2 Replies)
Discussion started by: karthickrn
2 Replies
6. Solaris
I jumpstarted a solaris sun4u box from WANboot and it completed but while coming up it gives following error and panics
Use is subject to license terms.
NOTICE: zfs_parse_bootfs: error 48
Cannot mount root on rpool/47 fstype zfs
panic/thread=180e000: vfs_mountroot: cannot mount root
... (0 Replies)
Discussion started by: fugitive
0 Replies
7. Shell Programming and Scripting
Hello
Any Unix programm can help me to solve thsi issue:
I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams
In one .....
I have 3 data set A , B and C
Venn diagram... (0 Replies)
Discussion started by: manigrover
0 Replies
8. Shell Programming and Scripting
Disclaimer: I tried searching but wasn't able to get to the answer so please don't flame.
Scenario:
I have a root script that generates a file on box1 and then needs to scp it over to box2 using user1. Both boxes are running open-ssh.
root@locat-host# scp /tmp/file1 user1@box2:/tmp/file1
... (10 Replies)
Discussion started by: denissi
10 Replies
9. Shell Programming and Scripting
i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations.
And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value.
For example:
For 1st... (3 Replies)
Discussion started by: thomasraj87
3 Replies
10. What is on Your Mind?
OK.
I fixed the horizonal scroll bar issues in the man pages pre format output for the man pages by removing all table tags and converting to divs:
https://www.unix.com/members/1-albums220-picture876.png
I still have some work to do on reformatting the deep search redirects and the... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
cabal-debian
CABAL-DEBIAN(1) General Commands Manual CABAL-DEBIAN(1)
NAME
cabal-debian - create Debian package meta data from a Haskell cabal file.
SYNOPSIS
cabal-debian [flags]
DESCRIPTION
cabal-debian will generated the Debian meta data for a Debian package from the cabal file of a Haskell package. The program expects to find
the package's <pkgname>.cabal file in the directory from which it was run.
--prefix=PATH
Pass this prefix if we need to configure the package
--ghc Compile with GHC.
--hugs Compile with HUGS.
--jhc Compile with JHC.
--nhc Compile with NHC.
-h, -?, --help
Show this help text.
--name=NAME
Override the default package name.
--disable-haddock
Don't generate API docs.
--disable-library-profiling
Don't generate profiling libraries.
--disable-optimization
Don't generate optimised code.
--disable-split-objs
Don't split object files to save space.
-f FLAGS, --flags=FLAGS
Set given flags in Cabal conditionals.
--release=RELEASE
Override the default package release.
--debdir=DEBDIR
Override the default output directory ("./debian").
-v n,q --verbose=n
Change build verbosity.
--version=VERSION
Override the default package version.
--maintainer=Maintainer Name <email addr>
Override the Maintainer name and email in $DEBEMAIL/$EMAIL/$DEBFULLNAME/$FULLNAME.
--debianize
Generate a new debianization, replacing any existing one. One of --debianize, --substvar, or --update-debianization is required.
--substvar=Doc, Prof, or Dev
Write out the list of dependencies required for the dev, prof or doc package depending on the argument. This value can be added to
the appropriate substvars file.
--update-debianization
Update an existing debianization.
AUTHOR
This manual page was originally written by Erik de Castro Lopo <erikd@mega-nerd.com> for the Debian GNU/Linux system (but may be used by
others).
May 10, 2010 CABAL-DEBIAN(1)