Bug 255784

Summary: YaST Timezone - Minimal installation - /usr/sbin/zic: No such file or directory
Product: [openSUSE] openSUSE 10.3 Reporter: Lukas Ocilka <locilka>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None    
Version: Alpha 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lukas Ocilka 2007-03-19 13:05:39 UTC
yast2-country should require either '/usr/sbin/zic' binary or 'timezone.rpm' because it is used in Timezone.ycp module.

Currently the timezone RPM is not installed during the minimal installation.

Timezone.ycp:167 Set cmd /usr/sbin/zic -l Europe/Prague
ShellCommand.cc(shellcommand):78 sh: /usr/sbin/zic: No such file or directory
Timezone.ycp:168 Set ret $["exit":127, "stderr":"sh: /usr/sbin/zic: No such file or directory\n", "stdout":""]

Additionally (sorry for two bugreports at once):
PkgModuleFunctions.cc(SetLocale):377 Pkg::SetLocale() is obsoleted, use Pkg::SetTextLocale() and/or Pkg::SetPackageLocale() instead. Pkg:
:SetLocale() currently calls both functions
Comment 1 Jiří Suchomel 2007-03-29 08:24:07 UTC
Pkg::SetLocale() should be already be replaced in 2.15.8 of yast2-country, please check your version.
Comment 2 Lukas Ocilka 2007-03-29 08:34:35 UTC
This report was for Alpha2, Pkg::SetLocale() is probably fixed then (in Alpha2+).
Comment 3 Jiří Suchomel 2007-03-29 08:42:29 UTC
Alpha2 already contains yast2-country-2.15.9-2.i586.rpm, so I think the log warning was from different package.
Comment 4 Jiří Suchomel 2007-03-29 09:02:40 UTC
Requires adapted in yast2-country-2.15.10.