Yast does not work anymore

Yast does not work anymore. When I click on “accept”, it starts downloading and installing, but it never ends. The “total progress” bar does not show any progress.
I’m using KDE and opensuse 13.1

Are you sure you are connected to the internet?
Is this a first run?

Yes, the internet connection is perfect. When I start Yast “online update” it recognizes all repositories and verifies what needs to be updated. But when I click on “accept” it enters into a kind of loop and never ends.
I’m using 13.1 since 2013 and it was working fine until now.

To be sure, this is not about all of YaST, but only about Software Management using YaST.

Guessing so as that is what the topic is implying.
How about we try command line?
post the results of zypper lr when you open the terminal and simply copy/paste that command and hit enter.

just to ensure your repos are not out of order.

Yes, that’s right. Actually it’s about the “Online Update”.

As I suspected, again try what I suggested and post your repos here.

And what happens when you run “sudo zypper up” in a terminal window?

Hm, wouldn’t that be better a zypper patch? A zypper up might do more then he wants. He is using YaST Online Update.

On 2014-02-07 12:06, Filipe wrote:
>
> hcvv;2622733 Wrote:
>> To be sure, this is not about all of YaST, but only about Software
>> Management using YaST.
>
> Yes, that’s right. Actually it’s about the “Online Update”.

Then you can try run in a terminal:


su -
zypper patch

or

zypper --verbose patch

which does the same thing as the online update. It might succeed without
events, or it might say something.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I actually wrote my post before he clarified that it’s about Online Update.
But it shouldn’t matter IMHO.
“zypper up” would install all updates of course, not only patches from the update repo, but it doesn’t change the packages to versions from other repos. And if he only has the standard repos configured, there’s no difference anyway.

But ok, “sudo zypper patch” would be good enough for a test either. And it does exactly the same as YaST->Online Update.

On 02/07/2014 06:06 AM, Filipe pecked at the keyboard and wrote:
> hcvv;2622733 Wrote:
>> To be sure, this is not about all of YaST, but only about Software
>> Management using YaST.
> Yes, that’s right. Actually it’s about the “Online Update”.
>
>

There was a recent patch for zypp, try running zypper patch to see if
that helps.

Ken

For me it would matter very much. When I would like to do the equivalent of a zypper patch, I definitely do want just that. And about the “if he only had …”. If we had Coca-Cola we would have a Cola-Rum if we would have Rum.

Ok.
As I said, at the time I wrote my reply only YaST Software Management had been mentioned (by you asking for clarification).

But thanks for pointing that out anyway…

zypper lr

| Alias | Name | Enabled | Refresh

—±------------------------------±-----------------------------------±--------±-------
1 | Education | Education | Yes | Yes
2 | Publishing | Publishing | Yes | Yes
3 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | Yes
4 | download.opensuse.org-oss | Main Repository (OSS) | Yes | Yes
5 | multimidia:/apps | multimidia:/apps | Yes | Yes
6 | openSUSE-13.1-1.10 | openSUSE-13.1-1.10 | Yes | No
7 | packman/Multimedia | packman/Multimedia | Yes | Yes
8 | packman/essentials | packman/essentials | Yes | Yes
9 | repo-debug | openSUSE-13.1-Debug | No | Yes
10 | repo-debug-update | openSUSE-13.1-Update-Debug | No | Yes
11 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No | Yes
12 | repo-source | openSUSE-13.1-Source | No | Yes
13 | repo-update | openSUSE-13.1-Update | Yes | Yes
14 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Yes | Yes
15 | science | science | Yes | Yes

Thanks for all answers. I finally decided to use

zypper --verbose patch

It then installed almost all the patches that “online update” should have installed. Unfortunately I’ve closed the window and lost the output. But there was some problem with chromium, which is not working anymore. I’ve run zypper --verbose patch again and got the output bellow.

Verbosity: 1
Initializing Target
Checking whether to refresh metadata for Education
Checking whether to refresh metadata for Publishing
Checking whether to refresh metadata for Main Repository (NON-OSS)
Checking whether to refresh metadata for Main Repository (OSS)
Checking whether to refresh metadata for multimidia:/apps
Checking whether to refresh metadata for packman/Multimedia
Checking whether to refresh metadata for packman/essentials
Checking whether to refresh metadata for openSUSE-13.1-Update
Checking whether to refresh metadata for openSUSE-13.1-Update-Non-Oss
Checking whether to refresh metadata for science
Loading repository data…
Reading installed packages…
Force resolution: No
Selecting ‘openSUSE-2014-37-1.noarch’ from repository ‘openSUSE-13.1-Update’ for installation.
Resolving package dependencies…
Force resolution: No

The following NEW patch is going to be installed:
openSUSE-2014-37 1

The following package is going to be REMOVED:
chromium-desktop-kde 31.0.1650.57-8.2

1 package to remove.
After the operation, 3.4 KiB will be freed.
Continue? [y/n/? shows all options] (y): y
committing
(1/1) Removing chromium-desktop-kde-31.0.1650.57-8.2 …[error]
Removal of (56917)chromium-desktop-kde-31.0.1650.57-8.2.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package chromium-desktop-kde-31.0.1650.57-8.2.x86_64 is not installed

Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.
Checking for running processes using deleted libraries…

Apparently your RPM database is corrupt.
Try to run:

sudo rpm --rebuilddb

And then to be safe, delete also libzypp’s cache:

sudo rm -r /var/cache/zypp

Then try “zypper patch” or YaST->Online Update again.

On 2014-02-07 20:16, Filipe wrote:
> MadmanRB;2622750 Wrote:

>> just to ensure your repos are not out of order.
>
> zypper lr
> # | Alias | Name
> | Enabled | Refresh
> —±------------------------------±-----------------------------------±--------±-------
> 1 | Education | Education
> | Yes | Yes

Well, as you see, the lines have wrapped. Please use code tags. The ‘#’
button - for command outputs and listings
see code tags in use

And instead of plain “zypper lr” use “zypper lr --details”.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Thanks, the problems with Yast seem to be solved. Although I don’t understand what was wrong and how it was solved.

Now I have to fix some problems that appear with some programs when I tried to use yast and it did not finished installation.
Chromium is already working, but dolphin does not list files, okular does not read PDF, I cannot login with KDE (I’m using ICE now).
When I try to login into KDE it says that lnusertemp is full.

zypper lr --details
#  | Alias                         | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                       | Service
---+-------------------------------+------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------+--------
 1 | Education                     | Education                          | Yes     | Yes     |  109     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_13.1/        |        
 2 | Publishing                    | Publishing                         | Yes     | Yes     |  110     | rpm-md | http://download.opensuse.org/repositories/Publishing/openSUSE_13.1/       |        
 3 | download.opensuse.org-non-oss | Main Repository (NON-OSS)          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/              |        
 4 | download.opensuse.org-oss     | Main Repository (OSS)              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                  |        
 5 | multimidia:/apps              | multimidia:/apps                   | Yes     | Yes     |  111     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_13.1/ |        
 6 | openSUSE-13.1-1.10            | openSUSE-13.1-1.10                 | No      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-STDVD-RAM_GH22NP21,/dev/sr0      |        
 7 | packman/Multimedia            | packman/Multimedia                 | Yes     | Yes     |  119     | rpm-md | http://packman.inode.at/suse/openSUSE_13.1/Multimedia/                    |        
 8 | packman/essentials            | packman/essentials                 | Yes     | Yes     |  119     | rpm-md | http://packman.inode.at/suse/openSUSE_13.1/Essentials/                    |        
 9 | repo-debug                    | openSUSE-13.1-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.1/repo/oss/            |        
10 | repo-debug-update             | openSUSE-13.1-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1/                           |        
11 | repo-debug-update-non-oss     | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1-non-oss/                   |        
12 | repo-source                   | openSUSE-13.1-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.1/repo/oss/           |        
13 | repo-update                   | openSUSE-13.1-Update               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                 |        
14 | repo-update-non-oss           | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/                         |        
15 | science                       | science                            | Yes     | Yes     |  110     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_13.1/          |