Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: YaST Soft

  1. #1

    Default YaST Soft

    I installed PCRE 8.12 on my server using YaST but found that PCRE 7.9 was still installed and active (as seen via pcretest -C). In order to delete or deactive PCRE 7.9 I tried deleting it using YaST. But I think that process deleted many other files which were needed for YaST to properly run. Now, YaST is broken. When I start YaST in my terminal and select+enter 'Software Management' or any other option, error like following appears:

    # yast
    Can't locate Config.pm in @INC (@INC contains: /y2update/modules /root/.yast2/modules /usr/share/YaST2/modules /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/i586-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/perl5/5.12.1/diagnostics.pm line 195.
    BEGIN failed--compilation aborted at /usr/lib/perl5/5.12.1/diagnostics.pm line 195.
    Compilation failed in require at /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi/YaST/YCP.pm line 119.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi/YaST/YCP.pm line 119.
    Compilation failed in require at /usr/share/YaST2/modules/URLRecode.pm line 16.
    BEGIN failed--compilation aborted at /usr/share/YaST2/modules/URLRecode.pm line 16.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    y2base: perl.c:542: perl_destruct: Assertion `(my_perl->Iscopestack_ix) == 1' failed.
    YaST got signal 6 at YCP file /usr/share/YaST2/clients/sw_single.ycp:25
    /sbin/yast: line 399: 30043 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
    Following info might be useful:

    I am using opensuse 11.3 (x86_64)

    # zypper lr
    # | Alias | Name | Enabled | Refresh
    --+-------------------------------------+----------------------------------------------+---------+--------
    1 | Updates for openSUSE 11.3 11.3-1.82 | Updates for openSUSE 11.3 11.3-1.82 | Yes | Yes
    2 | download.opensuse.org-oss | Main Repository (Sources) | Yes | Yes
    3 | download.opensuse.org-perl | openSUSE BuildService - devel:languageserl | Yes | Yes
    4 | download.opensuse.org-php | openSUSE BuildService - PHP | Yes | Yes
    5 | openSUSE_11.3 | openSUSE_11.3 | Yes | Yes
    6 | repo-non-oss | openSUSE-11.3-Non-Oss | Yes | Yes
    7 | repo-oss | openSUSE-11.3-Oss | Yes | Yes
    I have already done `zypper up`

    Any kind of help will be highly appreciated. Thanks...

  2. #2

    Default Re: YaST Soft

    Following this forum I reinstalled perl and now yast is showing following error:

    # yast
    Can't locate Config.pm in @INC (@INC contains: /y2update/modules /root/.yast2/modules /usr/share/YaST2/modules /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/i586-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/perl5/5.12.1/diagnostics.pm line 195.
    BEGIN failed--compilation aborted at /usr/lib/perl5/5.12.1/diagnostics.pm line 195.
    Compilation failed in require at /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi/YaST/YCP.pm line 119.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi/YaST/YCP.pm line 119.
    Compilation failed in require at /usr/share/YaST2/modules/URLRecode.pm line 16.
    BEGIN failed--compilation aborted at /usr/share/YaST2/modules/URLRecode.pm line 16.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    y2base: perl.c:542: perl_destruct: Assertion `(my_perl->Iscopestack_ix) == 1' failed.
    YaST got signal 6 at YCP file /usr/share/YaST2/clients/sw_single.ycp:25
    /sbin/yast: line 399: 30680 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: YaST Soft

    this doesn't seem like a YaST problem to me...this may get you back to
    something that works, again [WARNING: read my caveat prior to beginning]:

    1. disable all repos except oss, non-oss, update and packman for the
    _installed_ version of openSUSE (i *guess* that is 11.3, but you didn't
    say!)

    2. use zypper to install pcre, yast and yast2

    hopefully, that might put you back to a *working* YaST and and pcre 7.9

    3. investigate the correct/proper way to move to pcre 8.12 (i have *no*
    idea how to do that! but, apparently just installing 8.12 with YaST as
    you did is _not_ the way...ask a Perl guru how (maybe you must take all
    Perl to the same level, i do not know.)..

    --
    DD
    -Caveat-Hardware-Software-

  4. #4

    Default Re: YaST Soft

    1. I have mentioned that I am using 11.3 in my first post.
    2. Installing yast and/or yast2 return "Nothing to do" error.

  5. #5

    Default Re: YaST Soft

    DenverD wrote:
    > 3. investigate the correct/proper way to move to pcre 8.12 (i have *no*
    > idea how to do that! but, apparently just installing 8.12 with YaST as
    > you did is _not_ the way...ask a Perl guru how (maybe you must take all
    > Perl to the same level, i do not know.)..


    PCRE has nothing to do with Perl, AFAIK. Specifically it is a
    perl-compatible regular expression library for other, pattern-challenged
    languages that don't have the native capability.

    @usmanajml, PCRE is used by quite a few packages, so if you removed it,
    you will have to reinstall all of them. The simplest route is probably
    to go back to your last backup from before you upgraded pcre.

    If you can't do that... the -force option to zypper may be needed but
    may be dangerous.

    I don't understand why removing PCRE would break a YaST perl module.
    And I don't understand where PCRE 8.12 came from. So be very careful.

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: YaST Soft

    On 2011-07-04 15:25, Dave Howorth wrote:
    > I don't understand why removing PCRE would break a YaST perl module.


    By removing perl, as a dependency.

    It is important to check the summary screen in Yast before actually
    removing things - it is easy to shoot yourself on the foot.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  7. #7

    Default Re: YaST Soft

    Carlos E. R. wrote:
    > On 2011-07-04 15:25, Dave Howorth wrote:
    >> I don't understand why removing PCRE would break a YaST perl module.

    >
    > By removing perl, as a dependency.


    Eh? What dependency? PCRE has nothing to do with perl.

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: YaST Soft

    On 2011-07-05 11:32, Dave Howorth wrote:
    > Carlos E. R. wrote:
    >> By removing perl, as a dependency.

    >
    > Eh? What dependency? PCRE has nothing to do with perl.


    Try to remove PCRE. I just tried, and it said it was going to remove
    leafnode and 2314 things more...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  9. #9

    Default Re: YaST Soft

    Carlos E. R. wrote:
    > On 2011-07-05 11:32, Dave Howorth wrote:
    >> Carlos E. R. wrote:
    >>> By removing perl, as a dependency.

    >> Eh? What dependency? PCRE has nothing to do with perl.

    >
    > Try to remove PCRE. I just tried, and it said it was going to remove
    > leafnode and 2314 things more...


    Yes, but perl isn't one of them!

    On my x86_64 machine, what it seems to want to do is remove the 64-bit
    pcre and everything that depends on it and replace them with 32-bit
    versions. I don't know what would happen if I let it try, or what it
    would do on a 32-bit machine. Some of the packages it wants to replace
    are yast ones, so perhaps something breaks when it is changed.

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: YaST Soft

    On 07/05/2011 04:15 PM, Dave Howorth wrote:
    > Carlos E. R. wrote:
    >> Try to remove PCRE. I just tried, and it said it was going to remove
    >> leafnode and 2314 things more...

    >
    > On my x86_64 machine, what it seems to want to do is remove the 64-bit
    > pcre and everything that depends on it


    yikes! no matter how i look at that, it sounds like death to the system
    if one wants to go from 7.9 to 8.12--wow, that is what the OP found out,
    huh?

    must be a bug there somewhere....

    --
    DD
    -Caveat-Hardware-Software-

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •