Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: I uninstalled yast2 accidenttly

  1. #11
    Join Date
    Aug 2017
    Location
    Montréal. Canada
    Posts
    80

    Default Re: I uninstalled yast2 accidenttly

    Quote Originally Posted by jetchisel View Post
    Hi,

    The file
    Code:
    /var/log/zypp/history
    Which is owned by the root user, might be a good start if you want to look for the packages that has been removed.
    (Just replace the remove with install to find out which packages got installed.)

    NOTE: The code below assumes that you're using the default shell which is bash.

    For example If you want to look for the packages that has been remove today, a filter can be used (pattern matching)
    Code:
    grep "$(date -d'now' '+%F').*|remove" /var/log/zypp/history
    From the last three days.

    Code:
    grep "$(date -d'3days ago' '+%F').*|remove" /var/log/zypp/history
    From last month.
    Code:
    grep "$(date -d'last month' '+%F').*|remove" /var/log/zypp/history
    Since GNU date is being used in the above code, I suggest you look at the info pages for more info about some examples on which words/syntax is accepted when searching for date.

    Code:
    info date
    It's a "GNU thing" so don't ask me why info pages and not man pages.

    When searching for just the package name which has been removed. Like for example you want to search for the word yast ANY WHERE in the package name.
    (Just replace the remove with install to do the opposite.)

    Code:
    grep ".*|remove[[:space:]]*|.*yast" /var/log/zypp/history

    Note that grep is using BRE by default unless you tell it to use ERE but that is another story.
    See
    Code:
    man 7 regex
    Code:
    grep --help
    Code:
    man grep
    for more info about BRE, and btw if I'm not mistaken Leap 15.0 does not come with the Linux man pages so you might need to install the package
    Code:
    man-pages
    and
    Code:
    man-pages-posix
    I will keep this one in mind the next time in update go south.
    Open-suse Leap 15
    Cinnamon

  2. #12
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,349

    Default Re: I uninstalled yast2 accidenttly

    Quote Originally Posted by Asimov View Post
    But i have the feeling that my menu is set on a broken link. Can you tell me the directory of the binary ?
    In your initial post you mention “QStandardPaths:” -- therefore I'm assuming that, your user GUI is KDE …

    For the case of KDE Plasma 5, the menu command for YaST is “/usr/bin/xdg-su -c /sbin/yast2”.

  3. #13
    Join Date
    Aug 2017
    Location
    Montréal. Canada
    Posts
    80

    Default Re: I uninstalled yast2 accidenttly

    The problem is still not solved. And i really do not know what missing.

    Code:
    susepaste yast.txtPasted as:
       http://susepaste.org/92758692
       http://paste.opensuse.org/92758692
    Open-suse Leap 15
    Cinnamon

  4. #14
    Join Date
    Aug 2017
    Location
    Montréal. Canada
    Posts
    80

    Default Re: I uninstalled yast2 accidenttly

    Quote Originally Posted by dcurtisfra View Post
    In your initial post you mention “QStandardPaths:” -- therefore I'm assuming that, your user GUI is KDE …

    For the case of KDE Plasma 5, the menu command for YaST is “/usr/bin/xdg-su -c /sbin/yast2”.
    I did try /sbin/yast2. And i think i found the problem:


    Yast.rb is unable to import a file in "import_pure":

    Line 186.
    Open-suse Leap 15
    Cinnamon

  5. #15
    Join Date
    Aug 2017
    Location
    Montréal. Canada
    Posts
    80

    Default Re: I uninstalled yast2 accidenttly

    The complete message:

    Code:
    Error
    
    internal error. Please report a bug report with logs.
    run save_y2logs to get complet logs
    Details: failed to load module 'PackageCallbacks' due to failed to load Module 'SignatureCheckCallbacks' due to: indefined method 'message' for nil:Nilclass caller: usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb: 186 in 'import_pure'
    Open-suse Leap 15
    Cinnamon

  6. #16
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,349

    Default Re: I uninstalled yast2 accidenttly

    Quote Originally Posted by Asimov View Post
    The complete message:
    You haven't, yet, completely restored everything needed by YaST2:
    Code:
     > rpm --query --whatprovides /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb
    yast2-ruby-bindings-4.0.6-lp150.1.1.x86_64
     >
     > zypper info --requires yast2-ruby-bindings
    Loading repository data...
    Reading installed packages...
    
    
    Information for package yast2-ruby-bindings:
    --------------------------------------------
    Repository     : Haupt-Repository (OSS)
    Name           : yast2-ruby-bindings
    Version        : 4.0.6-lp150.1.1
    Arch           : x86_64
    Vendor         : openSUSE
    Installed Size : 421.9 KiB
    Installed      : Yes
    Status         : up-to-date
    Source package : yast2-ruby-bindings-4.0.6-lp150.1.1.src
    Summary        : Ruby bindings for the YaST platform
    Description    :
        The bindings allow YaST modules to be written using the Ruby language
        and also Ruby scripts can use YaST agents, APIs and modules.
    Requires       : [26]
        libc.so.6(GLIBC_2.14)(64bit)
        libstdc++.so.6()(64bit)
        libstdc++.so.6(CXXABI_1.3)(64bit)
        libstdc++.so.6(GLIBCXX_3.4)(64bit)
        libm.so.6()(64bit)
        libgcc_s.so.1()(64bit)
        libgcc_s.so.1(GCC_3.0)(64bit)
        libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
        libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
        libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
        libstdc++.so.6(CXXABI_1.3.8)(64bit)
        libcrypt.so.1()(64bit)
        libcrypt.so.1(GLIBC_2.2.5)(64bit)
        /usr/bin/ruby.ruby2.5
        libruby2.5.so.2.5()(64bit)
        ruby
        liby2.so.4()(64bit)
        libycp.so.5()(64bit)
        rubygem(ruby:2.5.0:fast_gettext)
        libowcrypt.so.1()(64bit)
        libowcrypt.so.1(OW_CRYPT_1.0)(64bit)
        libpy2UI.so.2()(64bit)
        libpy2wfm.so.2()(64bit)
        libpy2scr.so.2()(64bit)
        yast2-ycp-ui-bindings >= 3.2.0
        yast2-core >= 3.2.2
    
     >
    1. Please, forcibly, reinstall “yast2-ruby-bindings” and also, forcibly reinstall everything that package requires.
    2. For the case of the packages “yast2-ycp-ui-bindings” and “yast2-core”, you'll also have to forcibly reinstall everything they require.
    3. In addition, you may have to forcibly reinstall everything that Ruby requires.
    4. In addition, with the user “root”, execute “rpm --verify --all” — take special note of all the “missing” alarms — if you have things such as WordPress installed, you'll have to dump the rpm output to a file …

Page 2 of 2 FirstFirst 12

Posting Permissions

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