installing ctags

15 views
Skip to first unread message

thufir

unread,
Mar 24, 2012, 1:26:03 AM3/24/12
to ubuntu...@lists.ubuntu.com
Is there some trick to installing ctags?

thufir@dur:~$
thufir@dur:~$ sudo aptitude install -y exuberant-ctags
The following NEW packages will be installed:
exuberant-ctags
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/133 kB of archives. After unpacking 328 kB will be used.
Selecting previously deselected package exuberant-ctags.
(Reading database ... 185225 files and directories currently installed.)
Unpacking exuberant-ctags (from .../exuberant-ctags_1%
3a5.9~svn20110310-2_i386.deb) ...
Processing triggers for man-db ...
Setting up exuberant-ctags (1:5.9~svn20110310-2) ...
update-alternatives: error: no alternatives for ctags.
update-alternatives: using /usr/bin/ctags-exuberant to provide /usr/bin/
ctags (ctags) in auto mode.
update-alternatives: error: no alternatives for etags.
update-alternatives: using /usr/bin/ctags-exuberant to provide /usr/bin/
etags (etags) in auto mode.

thufir@dur:~$
thufir@dur:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
thufir@dur:~$

it's for the arcadia (ruby) IDE which, apparently, needs that package.

thanks,

Thufir


--
ubuntu-users mailing list
ubuntu...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

John D Lamb

unread,
Mar 24, 2012, 2:44:54 AM3/24/12
to Ubuntu user technical support, not for general discussions
On Sat, 2012-03-24 at 05:26 +0000, thufir wrote:
> Is there some trick to installing ctags?
> update-alternatives: error: no alternatives for etags.
> update-alternatives: using /usr/bin/ctags-exuberant to provide /usr/bin/
> etags (etags) in auto mode.

The error appears to be in update-alternatives and not in the
installation. Have you tried typing

$ ctags

or

$ which ctags

from a console? If these commands suggest ctags is installed you
probably don’t have a problem.

--
John D Lamb

thufir

unread,
Mar 24, 2012, 3:43:07 AM3/24/12
to ubuntu...@lists.ubuntu.com
On Sat, 24 Mar 2012 06:44:54 +0000, John D Lamb wrote:


> $ which ctags


thufir@dur:~$
thufir@dur:~$ which ctags
/usr/bin/ctags
thufir@dur:~$
thufir@dur:~$ ll /usr/bin/ctags
lrwxrwxrwx 1 root root 23 2012-03-23 20:12 /usr/bin/ctags -> /etc/
alternatives/ctags*
thufir@dur:~$
thufir@dur:~$ ll /etc/alternatives/ctags
lrwxrwxrwx 1 root root 24 2012-03-23 20:12 /etc/alternatives/ctags -> /
usr/bin/ctags-exuberant*
thufir@dur:~$
thufir@dur:~$ ll /usr/bin/ctags-exuberant
-rwxr-xr-x 1 root root 224888 2011-07-27 04:05 /usr/bin/ctags-exuberant*
thufir@dur:~$


Hmm, ok, it seems ok, thank you. It's just odd that aptitude suggests
otherwise.


-Thufir

Reply all
Reply to author
Forward
0 new messages