From: "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Uninstalling cabal-installed pandoc
Date: Mon, 02 Apr 2012 00:21:52 +0530 [thread overview]
Message-ID: <4F78A3C8.9040306@gmail.com> (raw)
In-Reply-To: <20120401181528.GB1906-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
On 01/04/12 23:45, John MacFarlane wrote:
> Did you append the path $HOME/.cabal/share/man to MANPATH?
> That works on my system (debian + cabal-installed pandoc).
My $HOME/.bashrc file has the line:
MANPATH=$MANPATH:$HOME/.cabal/share/man/; export MANPATH
Yet, on doing `man pandoc` after running `source $HOME/.bashrc`, I get this:
Manual page pandoc(1) line ?/? (END) (press h for help or q to quit)
`which pandoc` points to the cabal-installed version and I have removed
and purged the version 1.8.n package from the Ubuntu/Debian repos.
On further investigation, I have found that markdown2pdf.1 exists in
$HOME/.cabal/share/man/man1 whereas the file
$HOME/.cabal/share/man/man1/pandoc/1 is indeed empty.
I wonder what could have caused it.
Incidentally, $HOME/.cabal/share/man/man5/pandoc_markdown.1 also exists
and is non-zero in length.
Both `man markdown2pdf` and `man pandoc_markdown` work and display
correctly.
I have also done
cabal update && cabal install --reinstall pandoc
to no avail.
Is there a bug somewhere? How might I restore the file pandoc.1?
> There's no cabal uninstall. You can first unregister the library,
> 'ghc-pkg unregister pandoc-1.9.1.2'. Then delete the executable
> at ~/.cabal/bin/pandoc. Also delete the data files,
> ~/.cabal/share/pandoc-1.9.1.2, and the library files,
> ~/.cabal/lib/pandoc-1.9.1.2. That should do it, I think.
This sounds too drastic.
I would like to use your first solution if only I can figure out what is
causing the zero file size and why.
Thanks.
Chandra
next prev parent reply other threads:[~2012-04-01 18:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-01 15:28 R (Chandra) Chandrasekhar
[not found] ` <4F787410.4020907-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-01 18:15 ` John MacFarlane
[not found] ` <20120401181528.GB1906-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2012-04-01 18:51 ` R (Chandra) Chandrasekhar [this message]
[not found] ` <4F78A3C8.9040306-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-01 21:28 ` Dirk Laurie
[not found] ` <CABcj=tk6PXSDaEgUQg3wUaTiteDTL4xt5DgLixTPwGk-2nQD-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-02 3:15 ` R (Chandra) Chandrasekhar
[not found] ` <4F7919E7.9050202-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-02 4:02 ` John MacFarlane
[not found] ` <20120402040230.GA5284-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2012-04-04 7:12 ` R (Chandra) Chandrasekhar
[not found] ` <4F7BF46E.9050800-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-04 16:43 ` John MacFarlane
[not found] ` <20120404164318.GC19411-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2012-04-04 17:02 ` R (Chandra) Chandrasekhar
2012-04-02 4:40 ` John MacFarlane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F78A3C8.9040306@gmail.com \
--to=chyavana-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).