Yast software management/update not functional - where do I go from here ?

Hi

When trying to use yast softwaremgt/update I get this error (and it stops/crashes) :

YaST got signal 11 at YCP file PackagesUI.ycp:280
/sbin/yast2: line 427: 3724 Segmentation fault $ybindir/y2base $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS

How do I get it working again ?

Try something:

Open a terminal and do

su -
yast2

also result of

zypper ve
  • gives the following :

zypper ve
Loading repository data…
Reading installed packages…

Dependencies of all installed packages are satisfied.

su - yast2…

Tried root console mode and software management just returned me to yast, without any error-message at all.

Why not using CODE tags as caf4926 does? http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html

Sorry… not just used to doing so… (and editor wasn’t in advanced mode)
-but here it is then:


zypper ve
Loading repository data...
Reading installed packages...

No need to apologize. It is a hidden feature, but important to our type of posts (that is the ICT world). Thus I advertise for it wherever I see an opportunity. (See it as another try to save the world rotfl!).

On 2012-05-02 14:36, Smarken wrote:

Yast has three variants: qt, gtk, ncurses. All of them fail?


Cheers / Saludos,

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

Please Carlos, this answer will be magician’s talk to many people. At least explain how to start those different versions to the OP. I guess he and the majority of the normal openSUSE users here only know how to click on a YaST icon in the menu to start it and I have no doubt you realise this. You realy must come down a few steps from your ivory tower and help people instead of leaving them alone in the desert of distress.

On 2012-05-02 15:46, hcvv wrote:

> Please Carlos, this answer will be magician’s talk to many people. At
> least explain how to start those different versions to the OP. I guess
> he and the majority of the normal openSUSE users here only know how to
> click on a YaST icon in the menu to start it and I have no doubt you
> realise this. You realy must come down a few steps from your ivory tower
> and help people instead of leaving them alone in the desert of distress.

They can surely ask, and then I’ll explain. No need to explain something in
advance without knowing whether they need that detailed information or not. :slight_smile:

Sigh… ok.

You can simply access them by starting KDE and then yast (click all the
way), then start GNOME and then yast (click all the way), then text mode
and call yast.

Or:


su -
yast --qt

or

yast --gtk

or

yast

And of course, “yast --help” will give you help, as most programs.


Cheers / Saludos,

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

I do not know who are the “they” you mean. Or do you mean that at the end of the year someone stumbling into this thread is encouraged by you to ask then when he does not understand? And then you will still answer him/her? We try to have threads here that cover a problem with it’s solution understandable for most members here. Not only for the OP of such a thread and not just for this very moment, but also for the near future (though I admit that after one o two years most advices will be out of date.).

Yes, the all do/did …
(Wed May 2 17:04:09 2012.avi yast --qt --gtk and --ncurses - YouTube)
-but maybe the --gtk can give someone a clue…


yast --gtk
kdesu(3830)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 
KCrash: Application 'kdesu' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-pb5de/kdeinit4__0
Warning: connect() failed: : Connection refused
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
drkonqi(3831)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 

The “export” only gave this output instead…

export $(dbus-launch)
pb5de:/home/smarken # yast --gtk
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...

Lets see your repos

zypper lr -d

On 2012-05-02 17:56, Smarken wrote:
>
> Yes, the all do/did …

Did you forget the dash in su, or did you use sudo perhaps? In the video it
seems you use plain “su” - against my instructions.

After the “su -” run “yast2 --gtk sw_single &”


Cheers / Saludos,

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

no… more like … just didn’t pay attention to it … won’t happen again :wink:

  • unfortunately tried WITH the dashm and got exactly same result :frowning:

On 2012-05-02 23:36, Smarken wrote:

> - unfortunately tried WITH the dashm and got exactly same result :frowning:

Post the command complete with results here. The dbus error is typical of
using “su”, so you can not be getting the exact same result. Launch it
inside an xterm terminal. Like this:



cer@Telcontar:~> su -
Password:
Telcontar:~ # yast2 --qt sw_single &
[1] 2412
Telcontar:~ #
[1]+  Exit 16                 yast2 --qt sw_single
Telcontar:~ #


And then, if it fails, look at the y2log in “/var/log/YaST2/”.


Cheers / Saludos,

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

http://smarken.net/pics/zypperlr-d.jpeg (screenshot)


zypper lr -d
#  | Alias                                      | Name                                                | Enabled | Refresh | Priority | Type   | URI                                                                                           | Service
---+--------------------------------------------+-----------------------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------------------+--------
 1 | Updates-for-openSUSE-12.2-12.2-1.9         | Updates for openSUSE 12.2 12.2-1.9                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.2/                                                     |        
 2 | download.nvidia.com-opensuse               | nVidia Graphics Drivers                             | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/12.1/                                                      |        
 3 | download.opensuse.org-Apps                 | openSUSE BuildService - GNOME:Apps                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_12.1/                          |        
 4 | download.opensuse.org-Education            | openSUSE BuildService - Education                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_12.1/                            |        
 5 | download.opensuse.org-Extra                | openSUSE BuildService - KDE:Extra                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.1/                           |        
 6 | download.opensuse.org-KDE3                 | openSUSE BuildService - KDE:KDE3                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.1/                            |        
 7 | download.opensuse.org-Stable               | openSUSE BuildService - LibreOffice                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_12.1/                  |        
 8 | download.opensuse.org-UpdatedApps          | openSUSE BuildService - KDE:UpdatedApps             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_12.1/                     |        
 9 | download.opensuse.org-VirtualBox_backports | openSUSE BuildService - Virtualization (VirtualBox) | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Virtualization:/VirtualBox_backports/openSUSE_12.1/ |        
10 | download.opensuse.org-Wine                 | openSUSE BuildService - Wine CVS Builds             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_12.1/                      |        
11 | download.opensuse.org-database             | openSUSE BuildService - Database                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_12.1/                     |        
12 | download.opensuse.org-filesystems          | openSUSE BuildService - filesystems                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_12.1/                          |        
13 | download.opensuse.org-games                | openSUSE BuildService - Games                       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_12.1/                                |        
14 | download.opensuse.org-lxde                 | openSUSE BuildService - LXDE                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/lxde/openSUSE_12.1/                            |        
15 | download.opensuse.org-mozilla              | openSUSE BuildService - Mozilla                     | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/                              |        
16 | download.opensuse.org-non-oss              | Main Repository (NON-OSS)                           | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/non-oss/                                  |        
17 | download.opensuse.org-oss                  | Main Repository (OSS)                               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/oss/                                      |        
18 | download.opensuse.org-oss_1                | Main Repository (Sources)                           | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/12.1/repo/oss/                               |        
19 | download.opensuse.org-oss_2                | Main Repository (DEBUG)                             | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/12.1/repo/oss/                                |        
20 | download.opensuse.org-packages             | openSUSE BuildService - Java:packages               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_12.1/                       |        
21 | download.opensuse.org-perl                 | openSUSE BuildService - devel:languages:perl        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.1/               |        
22 | download.opensuse.org-php                  | openSUSE BuildService - PHP                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/php/openSUSE_12.1/                          |        
23 | download.opensuse.org-python               | openSUSE BuildService - devel:languages:python      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.1/             |        
24 | download.opensuse.org-update               | Main Update Repository                              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.1/                                                     |        
25 | download.opensuse.org-update_1             | Update Repository (DEBUG)                           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/12.1/                                               |        
26 | home:froksen                               | home:froksen                                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/froksen/openSUSE_12.1/                        |        
27 | home:plater:kde4                           | home:plater:kde4                                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/plater:/kde4/openSUSE_Factory/                |        
28 | openSUSE-12.2-12.2-1.9                     | openSUSE-12.2-12.2-1.9                              | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS122_3522424_3E8118502930,/dev/sr0                |        
29 | openSUSE:Factory                           | openSUSE:Factory                                    | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/factory/repo/oss/                                                |        
30 | opensuse-guide.org-repo                    | libdvdcss repository                                | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/12.1/                                                          |        
31 | packman.inode.at-suse                      | Packman Repository                                  | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/12.1/                                                            |        
32 | repo-debug                                 | openSUSE-12.2-Debug                                 | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/12.2/repo/oss/                                |        
33 | repo-debug-update                          | openSUSE-12.2-Update-Debug                          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/12.2/                                               |        
34 | repo-non-oss                               | openSUSE-12.2-Non-Oss                               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.2/repo/non-oss/                                  |        
35 | repo-oss                                   | openSUSE-12.2-Oss                                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.2/repo/oss/                                      |        
36 | repo-source                                | openSUSE-12.2-Source                                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/12.2/repo/oss/                               |        


On 2012-05-03 07:46, Smarken wrote:
>
> caf4926;2460011 Wrote:
>> Lets see your repos
>>
>>>
> Code:
> --------------------
> > > zypper lr -d
> --------------------
>>>
>
> http://smarken.net/pics/zypperlr-d.jpeg (screenshot)
>
> Code:

With that mix of repos you have, it is very possible that you have
incompatible libraries installed. Like kde/qt from factory and yast from an
older version.


Cheers / Saludos,

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

Cough Cough…
some for 12.2 !

Please…

On Thu, 03 May 2012 16:56:02 +0530, caf4926
<caf4926@no-mx.forums.opensuse.org> wrote:

>
> Cough Cough…
> some for 12.2 !
>
> Please…
>

what i’d do in this case (even though i can’t imagine how i’d ever end up
with such a repo mixture…):

  1. straighten out the repos; disable everything but OSS, non-OSS, update
    and do a plain “zypper dup”;

  2. add back the repos you really need, like packman, and switch over
    packages manually via YAST (versions tab, choose those codecs, etc., from
    packman);

  3. choose which version of KDE you want to run (release:/48, per example),
    enable that repo, and do "zypper dup --from <KDE repo>;

and if that didn’t work, reinstall.


phani.

I’m utterly amazed every time I see situations like this, that the Linux OS copes as well as it does. Imagine trying this with a mix of Windoze OS versions! :smiley: