Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117428 - app-admin/localepurge V0.4 purges with unrecognized params
Summary: app-admin/localepurge V0.4 purges with unrecognized params
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 02:15 UTC by Gustav Schaffter
Modified: 2006-05-30 07:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustav Schaffter 2006-01-02 02:15:50 UTC
# localepurge -h
localepurge for Gentoo Linux [ 0.4 ]
  by bass@gentoo.org
 * Remember that you must edit /etc/locale.nopurge
 * Usage: localepurge [options]
 * -help (-h)       : show this help.
 * -debug (-d)      : debug mode.
 * -verbose (-v)    : verbose mode.
 * -nocolor (-nc)   : no color mode.
 * -version       : show version.


# localepurge -verison           (NOTE! Speling error here!)
 * localepurge: processing locale files ...
 * localepurge: processing man pages ...


localepurge executes the purging functionality even though it's not 100% sure of my intention.
My intention above was to see what's the current version, not to purge. Agreed, root should be careful, especially with "purging tools".

<opinion>
I still believe that localepurge should write a warning to the terminal and stop processing if it cannot positively interpret the given command line parameters.
</opinion>
Comment 1 Gustav Schaffter 2006-01-02 02:17:45 UTC
# emerge info
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5-embla x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5-embla x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sfperms strict"
GENTOO_MIRRORS=" http://mir1.ovh.net/gentoo-distfiles http://mirror.switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo-portage.yggdrasil.home/gentoo-portage"
USE="amd64 X acpi alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvd dvdr eds emacs emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg junit kde lcms libwww lzw lzw-tiff mad mbox mhash mikmod mng mozcalendar mozilla mp3 mpeg ncurses new-login nls nptl nsplugin nvidia ogg opengl oss pam pcre pdflib perl plugin png ppds python qt quicktime readline recode scanner sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 2 José Alberto Suárez López (RETIRED) gentoo-dev 2006-01-03 23:59:43 UTC
ok i will change it :)
Comment 3 José Alberto Suárez López (RETIRED) gentoo-dev 2006-05-30 07:06:45 UTC
in 0.5