Anonymous | Login | 2024-04-20 13:24 CEST |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0004289 | [pkg_get] regular use | minor | always | 2010-02-17 16:06 | 2010-03-12 15:58 | ||
Reporter | flod | View Status | public | ||||
Assigned To | bonivart | ||||||
Priority | normal | Resolution | fixed | ||||
Status | closed | ||||||
Summary | 0004289: pkgutil uses regular expression for gpg that may not work in an i18n environment | ||||||
Description | When $LANG is set to something else in stead of english (e.g. de_DE.UTF-8) the regular expression to handle the output of gpg may not work as the script looks for "BAD". | ||||||
Additional Information |
> echo $LANG de_DE.UTF-8 > pkgutil -u Checking catalog integrity with gpg. Use of uninitialized value in pattern match (m//) at /opt/csw/bin/pkgutil line 401. gpg: Unterschrift vom 16. Februar 2010 23:50:48 MET mittels DSA-Schlüssel ID E12E9D2F gpg: Korrekte Unterschrift von "CSW Distribution Manager <dm@opencsw.org>" Looking for packages that can be upgraded... Parsing catalog, may take a while... Package CSWpydistutils not in catalog...exiting. -- > unset LANG root@sun:/tmp> pkgutil -u Checking catalog integrity with gpg. gpg: Signature made Tue Feb 16 23:50:48 2010 MET using DSA key ID E12E9D2F gpg: Good signature from "CSW Distribution Manager <dm@opencsw.org>" Looking for packages that can be upgraded... Parsing catalog, may take a while... Package CSWpydistutils not in catalog...exiting. -- > pkgutil -V - System - Pkgutil 1.9.1 Arch i386 Solaris 5.10 Pkg patch 119318 (119318-01 installed) GPG binary /opt/csw/bin/gpg Gzip binary /bin/gzip Mailx binary /bin/mailx MD5 binary /opt/csw/bin/gmd5sum MD5 module 2.36 (primary choice for MD5) Perl 5.008008 Perl binary /opt/csw/bin/perl Wget binary /usr/sfw/bin/wget PATH /root/bin:/usr/local/sbin:/usr/local/bin:/opt/webstack/bin:/opt/csw/sbin:/opt/csw/bin:/usr/sfw/sbin:/usr/sfw/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/opt/sunstudio12.1/bin - Configuration - catalog_update 14 (default: 14) exclude_pattern not set (default: none) maxpkglist not set (default: 25000) mirror http://csw.informatik.uni-erlangen.de/csw/current [^] (default: http://ibiblio.org/pub/packages/solaris/opencsw/current) [^] noncsw not set (default: false) pkgaddopts not set (default: none) pkgliststyle not set (default: 0) stop_on_hook_soft_error not set (default: false) use_gpg true (default: false) use_md5 true (default: false) wgetopts not set (default: none) |
||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Notes | |
(0007494) bonivart (developer) 2010-02-23 14:51 |
I'm not sure why I chose to do it like that..? Thanks for spotting this, it's now done with return status from GPG instead so it should work with all languages. It will be in the next release, it's checked in as r196 if you want to use it directly. http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/pkgutil?revision=196 [^] |
(0007495) bonivart (developer) 2010-02-23 14:53 |
See previous note. Will be in next release. |
(0007625) bonivart (developer) 2010-03-12 15:58 |
Implemented in 1.10. |
Copyright © 2000 - 2008 Mantis Group |