Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Zypper Bad Bus - Can't open YaST or GNOME Settings

  1. #1

    Default Zypper Bad Bus - Can't open YaST or GNOME Settings

    I'm new to OpenSuse.
    I moved from ubuntu and I was trying to install everything I had and needed on my new OpenSuse installation.
    Final things I've installed was skype and pencil

    now I have a problem:
    I can't open GNOME settings window
    I can't open YaST either
    when I tried to use zypper like `zypper info postgresql93-server` I get Bus error

    Any ideas on how I can solve this issue?

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

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    On 2015-08-07 20:36, aspersica wrote:

    > Any ideas on how I can solve this issue?


    Please post the result of "zypper lr --details":

    Code:
    su -
    zypper lr --details
    If you can't do this in gnome, try in another environment. You should
    have another one, perhaps lxdm.


    And very important, please use code tags for pasting all that. Use the
    '#' button in the forum editor - for command outputs and listings


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  3. #3

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    Thanks a lot.
    Here is the output:
    Code:
    #  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             | Service
    ---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------+--------
     1 | KDE:Applications          | KDE:Applications                   | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Applications/openSUSE_13.2/      |        
     2 | KDE:Extra                 | KDE:Extra                          | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/             |        
     3 | KDE:Frameworks5           | KDE:Frameworks5                    | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2/       |        
     4 | KDE:Qt5                   | KDE:Qt5                            | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/               |        
     5 | devel:tools:building      | devel:tools:building               | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_13.2/ |        
     6 | google-chrome             | google-chrome                      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             |        
     7 | home:Nemton               | home:Nemton                        | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Nemton/openSUSE_13.2/           |        
     8 | home:aeneas_jaissle       | home:aeneas_jaissle                | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/aeneas_jaissle/openSUSE_13.2/   |        
     9 | openSUSE-13.2-0           | openSUSE-13.2-0                    | Yes     | ( p) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NS90_KP4C4LE2243         |        
    10 | repo-debug                | openSUSE-13.2-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                  |        
    11 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                                 |        
    12 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                         |        
    13 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                    |        
    14 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                        |        
    15 | repo-source               | openSUSE-13.2-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/                 |        
    16 | repo-update               | openSUSE-13.2-Update               | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                       |        
    17 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                               |

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

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    On 2015-08-08 01:56, aspersica wrote:
    >
    > Thanks a lot.
    > Here is the output:


    Well, your repository list is consistent, I think. I have my doubts
    about those two home repos, though. What do you install from them?

    Also, being new to openSUSE, I doubt you should update that fast your
    KDE, but I don't know. Somebody else can help you check the consistency
    of your KDE.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  5. #5

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    Is there any way I can revert back to original KDE instead of Phantom 5 without Zypper?

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

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    On 2015-08-08 20:16, aspersica wrote:
    >
    > Is there any way I can revert back to original KDE instead of Phantom 5
    > without Zypper?


    Well... I would use YaST. First, on the repository management module, I
    would disable the KDE repos you added.

    Then, on the software module, I would, on repository view, I would
    select the "oss" repo, then click on "switch system packages to the
    versions in this repository". That should be enough. After applying the
    changes, try again, and see if there is any package in red.


    Wait. You say that yast doesn't work... Yast has 3 versions: kde, gnome,
    and text.

    Kde version:

    Code:
    su -
    yast2 --qt &
    gnome version:

    Code:
    su -
    yast2 --gtk &
    Text mode (ncurses) version:

    Code:
    su -
    yast

    One of them should work. Actually, to change the whole of kde, I would
    use the text version in a console.


    Notice that it is important to use "su -", not "sudo", nor "su".

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    unlike Ubuntu openSUSE supports multiple DE's, installing kde5 does not remove kde4 (unless you uninstalled it), why don't you just logout of your current DE and login to kde4.

  8. #8

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    Quote Originally Posted by robin_listas View Post
    On 2015-08-08 20:16, aspersica wrote:
    One of them should work. Actually, to change the whole of kde, I would
    use the text version in a console.
    Well, the only one that worked was the text version.

    I got these errors running the other two:
    Code:
    yast2 --qt &
    
     # /sbin/yast2: line 440: 11297 Bus error               $y2ccbin $Y2UI_ARGS "$@"

    Code:
    yast2 --gtk &
    
     GTK GUI wanted but not found, falling back to Qt.
    (eval):3: [BUG] Bus Error at 0x007f6708649000
    ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux-gnu]
    
    
    -- Control frame information -----------------------------------------------
    c:0008 p:---- s:0038 e:000037 CFUNC  :call_yast_function
    c:0007 p:0045 s:0029 e:000028 METHOD (eval):3
    c:0006 p:0035 s:0025 e:000024 METHOD /usr/share/YaST2/clients/menu.rb:192
    c:0005 p:0170 s:0022 e:000021 METHOD /usr/share/YaST2/clients/menu.rb:54
    c:0004 p:0025 s:0019 e:000018 EVAL   /usr/share/YaST2/clients/menu.rb:406 [FINISH]
    c:0003 p:---- s:0017 e:000016 CFUNC  :eval
    c:0002 p:0053 s:0011 e:000010 METHOD /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184 [FINISH]
    c:0001 p:0000 s:0002 E:001098 TOP    [FINISH]
    
    
    -- Ruby level backtrace information ----------------------------------------
    /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'
    /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'
    /usr/share/YaST2/clients/menu.rb:406:in `<top (required)>'
    /usr/share/YaST2/clients/menu.rb:54:in `main'
    /usr/share/YaST2/clients/menu.rb:192:in `DisplaySplash'
    (eval):3:in `OpenDialog'
    (eval):3:in `call_yast_function'
    
    
    -- C level backtrace information -------------------------------------------
    /sbin/yast2: line 440: 11336 Bus error               $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
    Anyhow, I was able to use the text version to disable the other repositories and now my repository list is this:
    Code:
    #  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             | Service
    ---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------+--------
     1 | devel:tools:building      | devel:tools:building               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_13.2/ |        
     2 | google-chrome             | google-chrome                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             |        
     3 | openSUSE-13.2-0           | openSUSE-13.2-0                    | Yes     | ( p) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NS90_KP4C4LE2243         |        
     4 | repo-debug                | openSUSE-13.2-Debug                | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                  |        
     5 | repo-debug-update         | openSUSE-13.2-Update-Debug         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2/                                 |        
     6 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2-non-oss/                         |        
     7 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                    |        
     8 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                        |        
     9 | repo-source               | openSUSE-13.2-Source               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/13.2/repo/oss/                 |        
    10 | repo-update               | openSUSE-13.2-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                       |        
    11 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                               |
    The only issue is that I can't find this option in YAST text version:
    "switch system packages to the versions in this repository"

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,069
    Blog Entries
    2

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    This is one of those rare situations where I would recommend using a "zypper dup" to re-install everything. If it was a minor KDE-specific issue I might instead suggest force re-installing each installed KDE package, but in your case there seems to be possible non-KDE issues involved (QT vs GTK, dbus issues)

    If you do a complete re-install, you must not interrupt and allow everything to run completely.
    As always, when doing something this drastic although the chances of encountering a problem are low, it's not zero. Backup completely and if desired move or copy anything valuable to different storage (eg external drive). On a default openSUSE layout, most important personal files are stored in a /home partition.

    (All following zypper commands should be executed in a root console, ie "su")
    First, disable unnecessary repos, plus your DVD source with the following command, leaving only online sources (Although this takes time downloading packages, it saves time overall installing all most recent patches and packages)
    Code:
    zypper mr -d 1 2 3 4 5 6 7 8 9
    Now, do your "distro-upgrade" command which essentially re-installs your entire system and without the KDE repos you will have a default KDE5,
    If you want to try a dry run first (IMO not necessary but may be a personal decision to verify you won't likely run into a system-destroying show-stopper) you can run with the "-D" as follows to execute a simulated dry run
    Code:
    zypper dup -D
    To actually do the re-install, run the following
    Code:
    zypper dup
    This will probably run for hours, and longer if you have a slower Internet connection.

    After the re-install has completed, do some quick tests to verify to yourself everything as configured is functional.
    Then, you can re-enable any repos you wish and if necessary run a "zypper up" to clean up those apps
    Code:
    zypper up
    IMO,
    TSU

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

    Default Re: Zypper Bad Bus - Can't open YaST or GNOME Settings

    On 2015-08-09 00:06, tsu2 wrote:
    >
    > This is one of those rare situations where I would recommend using a
    > "zypper dup" to re-install everything.


    But he said in the first post that zypper also fails with the same error.

    A possibility would be to boot the full 13.2 DVD, and choose "upgrade
    installed system". This reverts most of the system to the original
    version (except those packages that are not in the DVD).

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

Page 1 of 2 12 LastLast

Posting Permissions

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