Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Weird behaviour after zypper up

Hybrid View

  1. #1

    Default Weird behaviour after zypper up

    Hi:
    After zypper up last week I found weird things in Leap 15.1. Every time I open the konsole as a user I get the error:
    Code:
    :~> bash
     bash: mc: line 1: syntax error: unexpected end of file
     bash: error importing function definition for `mc'
    Running yast2 from konsole gives the following error:
    Code:
    # yast2
     /bin/bash: mc: line 1: syntax error: unexpected end of file
     /bin/bash: error importing function definition for `mc'
     QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
     QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
     QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
    I entered the following commands:
    Code:
    # ls -l /run/user/
    total 0
    drwxr-xr-x 3 root  root   60 sep 30 15:59 0
    drwx------ 9 my_user users 280 sep 30 15:49 1000
    Code:
    # ls -la /run/user/
     total 0
     drwxr-xr-x  4 root  root    80 sep 30 15:53 .
     drwxr-xr-x 34 root  root  1020 sep 30 16:09 ..
     drwxr-xr-x  3 root  root    60 sep 30 15:59 0
     drwx------  9 my-user users  280 sep 30 15:49 1000
    And the worst thing is I can not run yast by clicking on icon in Plasma. The window pops up requesting a user password. I enter the correct password but same window pops up again, and again etc.
    Any help would be greatly appreciated.

    Bojan

  2. #2
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,838

    Default Re: Weird behaviour after zypper up

    Please paste here using code tags:
    Code:
    zypper lr -d
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  3. #3
    Join Date
    Mar 2009
    Location
    Belgium
    Posts
    47

    Default Re: Weird behaviour after zypper up

    exactly the same weird behaviour here.

    my output of
    Code:
    zypper lr -d
    is:
    Code:
    #  | Alias                                | Name                                 | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             | Service
    ---+--------------------------------------+--------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------+--------
     1 | KDE:/Frameworks5/openSUSE_Leap_15.1/ | KDE:/Frameworks5/openSUSE_Leap_15.1/ | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_15.1/ |        
     2 | KDE:/Qt5/openSUSE_Leap_15.1/         | KDE:/Qt5/openSUSE_Leap_15.1/         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_15.1/         |        
     3 | Printing/openSUSE_Leap_15.1/         | Printing/openSUSE_Leap_15.1/         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.1/         |        
     4 | basearch                             | Anydesk                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://rpm.anydesk.com/opensuse/x86_64/                                         |        
     5 | beid-release                         | Belgian eID package archive          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://files.eid.belgium.be/rpm/opensuse/15.1                                   |        
     6 | google-chrome                        | google-chrome                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             |        
     7 | mozilla/openSUSE_Leap_15.1/          | mozilla/openSUSE_Leap_15.1/          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.1/          |        
     8 | openSUSE_Leap_15.1                   | LibreOffice:/6.3/openSUSE_Leap_15.1/ | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/LibreOffice:/6.3/openSUSE_Leap_15.1/ |        
     9 | openSUSE_Leap_15.1                   | X11:/XOrg/openSUSE_Leap_15.1/        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.1/        |        
    10 | opensuse-guide.org-repo              | Libdvdcss Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://opensuse-guide.org/repo/openSUSE_Leap_15.1/                             |        
    11 | packman.inode.at-suse                | Packman Repository                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/                                |        
    12 | repo-non-oss                         | openSUSE-Leap-15.1-Non-Oss           | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/distribution/leap/15.1/repo/non-oss/              |        
    13 | repo-oss                             | openSUSE-Leap-15.1-Oss               | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/distribution/leap/15.1/repo/oss/                  |        
    14 | repo-update                          | openSUSE-Leap-15.1-Update            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/update/leap/15.1/oss/                             |        
    15 | repo-update-non-oss                  | openSUSE-Leap-15.1-Update-Non-Oss    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/update/leap/15.1/non-oss/                         |        
    16 | wavebox                              | Wavebox - x86_64                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://wavebox.io/dl/client/repo/yum/
    Not that exotic as you can see...

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,890
    Blog Entries
    3

    Default Re: Weird behaviour after zypper up

    At a guess, some of those error messages might be coming from:
    "/etc/profile.d/mc.sh"
    which is probably being run during shell startup.

    I have not been able to reproduce the problem here.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,838

    Default Re: Weird behaviour after zypper up

    Quote Originally Posted by verstraete_kenny View Post
    Not that exotic as you can see...
    That's a lot of unrelated repos that haven't gone through QA as an integrated unit. Something(s) from one or more could be in conflict with one or more others.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  6. #6

    Default Re: Weird behaviour after zypper up

    Quote Originally Posted by mrmazda View Post
    Please paste here using code tags:
    Code:
    zypper lr -d
    Output:
    Code:
    :~> zypper lr -d
    #  | Alias                               | Name                                                      | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                             | Service
    ---+-------------------------------------+-----------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------------------+--------
     1 | KDE-Applications                    | KDE-Applications                                          | Yes     | (r ) Yes  | Yes     |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Leap_15.1 |        
     2 | KDE-Frameworks                      | KDE-Frameworks                                            | Yes     | (r ) Yes  | Yes     |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_15.1                  |        
     3 | KDE-Qt5                             | KDE-Qt5                                                   | Yes     | (r ) Yes  | Yes     |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_15.1                          |        
     4 | download.nvidia.com-leap            | nVidia Graphics Drivers                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/15.1                                                  |        
     5 | http-download.opensuse.org-45843d34 | Application:Geo                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_15.1/                  |        
     6 | http-download.opensuse.org-f18b3e14 | openSUSE:Leap:15.1:Update                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss/                                              |        
     7 | openSUSE-Leap-15.1-1                | openSUSE-Leap-15.1-1                                      | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Generic_Flash_Disk_B32E0B4E-0:0-part2                           |        
     8 | openSUSE_Leap_15.1                  | Fonti                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/M17N:/fonts/openSUSE_Leap_15.1/                       |        
     9 | openSUSE_Leap_15.1_1                | LibreOffice                                               | Yes     | (r ) Yes  | Yes     |   75     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/6.3/openSUSE_Leap_15.1/                  |        
    10 | openSUSE_Leap_15.1_2                | Graphics                                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/graphics/openSUSE_Leap_15.1/                          |        
    11 | openSUSE_Leap_15.1_3                | Science                                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_Leap_15.1/                           |        
    12 | openSUSE_Leap_15.1_4                | KDE Extra                                                 | Yes     | (r ) Yes  | Yes     |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_15.1/                       |        
    13 | openSUSE_Leap_15.1_5                | Mozilla                                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.1/                           |        
    14 | packman.inode.at-suse               | Packman Repository                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/                                                |        
    15 | proxsign                            | SETCCE proXSign® Component Suite for (openSUSE_Leap_15.1) | Yes     | ( p) Yes  | No      |   99     | NONE   | http://public.setcce.si/proxsign/repo/openSUSE_Leap_15.1/                                       |        
    16 | repo-debug                          | Debug Repository                                          | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/                             |        
    17 | repo-debug-non-oss                  | Debug Repository (Non-OSS)                                | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/                         |        
    18 | repo-debug-update                   | Update Repository (Debug)                                 | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/oss/                                        |        
    19 | repo-debug-update-non-oss           | Update Repository (Debug, Non-OSS)                        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/non-oss/                                    |        
    20 | repo-non-oss                        | Non-OSS Repository                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/                               |        
    21 | repo-oss                            | Main Repository                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/                                   |        
    22 | repo-source                         | Source Repository                                         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/                            |        
    23 | repo-source-non-oss                 | Source Repository (Non-OSS)                               | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/                        |        
    24 | repo-update                         | Main Update Repository                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss/                                              |        
    25 | repo-update-non-oss                 | Update Repository (Non-Oss)                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/
    There is still existing problem with running Yast from Krunner. The window pops up requesting a user password. I enter the correct password but same window pops up again, and endlessly again.

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,484
    Blog Entries
    2

    Default Re: Weird behaviour after zypper up

    Curiously,
    The only search hit I got that matches your problem affected an old version of openSUE...
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=476888

    Do you have Midnight Commander or Eclipse installed?

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8

    Default Re: Weird behaviour after zypper up

    Quote Originally Posted by tsu2 View Post
    Curiously,
    The only search hit I got that matches your problem affected an old version of openSUE...
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=476888

    Do you have Midnight Commander or Eclipse installed?

    TSU
    Yes, I have MC installed but not Eclipse. I'll try to uninstall MC and see the result. Will post the outcome.

  9. #9

    Default Re: Weird behaviour after zypper up

    Quote Originally Posted by krpan View Post
    Yes, I have MC installed but not Eclipse. I'll try to uninstall MC and see the result. Will post the outcome.
    Uninstalling mc solved all problems.

    Thanks everybody for tips.

  10. #10
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,838

    Default Re: Weird behaviour after zypper up

    That would never do here. It's a masterful shell, among other things. Without MC, PC admin is all but impossible. It's virtually always open, usually more than one instance. Something somewhere is really messed up that removing it can un-break anything.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

Page 1 of 4 123 ... 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
  •