Bug 815965 - Can't install missing packages by YaST: Caught an unhandled exception: locale::facet::_S_create_c_locale name not valid
Summary: Can't install missing packages by YaST: Caught an unhandled exception: locale...
Status: RESOLVED DUPLICATE of bug 803163
Alias: None
Product: openSUSE 12.3
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 14:19 UTC by Lukas Ocilka
Modified: 2013-09-06 12:35 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
YaST Logs (13.04 KB, application/x-gzip)
2013-04-18 14:19 UTC, Lukas Ocilka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ocilka 2013-04-18 14:19:37 UTC
Created attachment 535833 [details]
YaST Logs

Run yast2-squid without having squid installed, you'll get:

    ?????????????????????????????????????????????????????????
    ?  Installing required packages failed. If you continue ?
    ?  without installing required packages,                ?
    ?  YaST may not work properly.                          ?
    ?                                                       ?
    ?                  [Continue] [Cancel]                  ?
    ?????????????????????????????????????????????????????????

Caught an unhandled exception: locale::facet::_S_create_c_locale name not valid

Package can be installed with `zypper in squid`

Using
  yast2-pkg-bindings-2.23.1-1.1.1.x86_64
  libzypp-12.9.0-1.1.1.x86_64
Comment 1 Ladislav Slezák 2013-09-06 09:14:57 UTC
This looks like a duplicate of bnc#803163.

Could check whether glibc-locale package is present? (And install it if needed and retry again?)
Comment 2 Lukas Ocilka 2013-09-06 10:43:52 UTC
I've checked that it works as it should if package glibc-locale is installed.

Then I removed that package and rerun the test. The result was:

/sbin/yast2: line 431: 19319 Aborted
$ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

y2log contains:
Caught an unhandled exception: locale::facet::_S_create_c_locale name not valid
-------- Backtrace begin (use c++filt tool for converting to symbols) --------
Frame 0: /usr/lib64/YaST2/plugin/libpy2Pkg.so.2(_ZN13Y2PkgFunction13log_backtraceEv+0x1e) [0x7f7de2b435ce]
etc...

So, it behaved a bit differently (when I reported the issue) but the solution
seems to be the same: install glibc-locale
Comment 3 Ladislav Slezák 2013-09-06 12:35:34 UTC
Ok, marking as duplicate of bnc#803163.

*** This bug has been marked as a duplicate of bug 803163 ***