[Pkg-mc-devel] Bug#661481: mc: /usr/share/mc/bin/mc.sh missing
Osamu Aoki
osamu at debian.org
Mon Feb 27 14:11:51 UTC 2012
Package: mc
Version: 3:4.8.1-1
Severity: normal
When I log-in I get:
> bash: /usr/share/mc/bin/mc.sh: No such file or directory
I found out:
> $ ls -l /usr/share/mc/bin/
> total 0
> lrwxrwxrwx 1 root root 29 Feb 27 05:45 mc-wrapper.sh -> ../../../lib/mc/mc-wrapper.sh
I also chngelog:
> mc (3:4.8.1-1) unstable; urgency=low
>
> * New upstream release [December 2011]
> ...
> * install scripts to /usr/lib/mc
> (previously was installed to /usr/share/mc)
> ...
> * added symlink to relocated mc-wrapper.sh for backward compatibility
> ...
>
> -- Dmitry Smirnov <onlyjob at member.fsf.org> Fri, 24 Feb 2012 13:04:57 +1100
I guess what you need is:
> $ ls -l /usr/share/mc/bin/
> total 0
> lrwxrwxrwx 1 root root 29 Feb 27 05:45 mc.sh -> ../../../lib/mc/mc-wrapper.sh
I see no more mc.csh link from /usr/share/mc/bin/
> Please note manpage still have:
> -P file, --printwd=file
> Print the last working directory to the specified file. This
> option is not meant to be used directly. Instead, it's used from a special
> shell script that automatically changes the current directory of the shell to
> the last directory the Midnight Commander was in. Source the file
> /usr/share/mc/bin/mc.sh (bash and zsh users) or /usr/share/mc/bin/mc.csh
> (tcsh users) respectively to define mc as an alias to the appropriate shell script.
I think updating links as above while updating these manpage to point to
/usr/lib/mc/mc-wrapper.sh and /usr/lib/mc/mc-wrapper.csh
For now, I will change my ~/.bashrc to use /usr/lib/mc/mc-wrapper.sh
Osamu
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mc depends on:
ii e2fslibs 1.42.1-2
ii libc6 2.13-27
ii libcomerr2 1.42.1-2
ii libglib2.0-0 2.30.2-6
ii libgpm2 1.20.4-4
ii libslang2 2.2.4-6
ii mc-data 3:4.8.1-1
Versions of packages mc recommends:
ii mime-support 3.52-1
Versions of packages mc suggests:
ii arj 3.10.22-10
ii bzip2 1.0.6-1
ii catdvi <none>
ii dbview <none>
ii djvulibre-bin <none>
ii evince [pdf-viewer] 3.2.1-1
ii file 5.10-1
ii gv <none>
ii imagemagick 8:6.6.9.7-6
ii odt2txt <none>
ii perl 5.14.2-7
ii python 2.7.2-10
ii python-boto <none>
ii python-tz <none>
ii unzip 6.0-5
ii w3m 0.5.3-5
ii zip 3.0-4
-- no debconf information
More information about the Pkg-mc-devel
mailing list