Bug#741302: --uninstall mentioned twice on man page

積丹尼 Dan Jacobson jidanni at jidanni.org
Mon Mar 10 17:29:48 UTC 2014


X-debbugs-Cc: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Package: cpanminus
Version: 1.7001-1
Severity: wishlist
File: /usr/share/man/man1/cpanm.1p.gz

We see
       -U, --uninstall
           EXPERIMENTAL: Uninstalls the modules. Will remove the distribution
           files from your library path using the ".packlist" file.

           When used with "-l" or "-L", only the files under the local::lib
           directory will be removed.

           NOTE: If you have the "dual-life" module in multiple locations
           (i.e. "site_perl" and "perl" library path, with perl 5.12 or
           later), only the files in "site_perl" will be deleted.

           If the distribution has bin scripts and man, they will be kept in
           case the core installation still references that, although there's
           no guarantee that the script will continue working as expected with
           the older version of .pm files.

then we see

       --uninstall, -U
           Uninstalls a module from the library path. It finds a packlist for
           given modules, and removes all the files included in the same
           distribution.

           If you enable local::lib, it only removes files from the local::lib
           directory.

           If you try to uninstall a module in "perl" directory (i.e. core
           module), an error will be thrown.

           A dialog wil be prompted to confirm the files to be deleted. If you
           pass "-f" option as well, the dialog will be skipped and
           uninstallation will be forced.

all on the same man page.

Also perhaps say
       -U, --uninstall <modules>
else it reads like it will remove all the modules.



More information about the pkg-perl-maintainers mailing list