Problem with software updating

I am running openSuSE 13.2 and the software updater tells me I have one update pending. But when I try to install the update it tells me

patch:openSUSE-2015-185-1.noarch conflicts with mozilla-nss-certs-32bit.x86_64<3.17.4-9.1 provided by mozilla-certys-32bit-3.17.4-1.1.x86_64

(It won’t let e copy and paste the message, unfortunately, but hopefully that is accurately copied.)

I have worked around this for a while by unchecking the patch and running later ones only. But now I find that the updater is preventing me from using YaST to intall software. The updater won’t quit while the update is pending.

How do I resolve this problem?

Do you have the mozilla repo set? I think you are mixing updates from two different repos.

That may be likely. However, I can’t check because I can’t start software management from YaST!

Catch-22?

Why not? Mouse broken? Power down? When you do not explain what you do and see, how can we help you?

Sounds like you have serious problems…

ok use zypper to list the repos

zypper lr -d

If you use zypper up does it give options on how to handle the problem. I’d expect a change vender option.

I assume the updater you talked about is appr. Apper is a bit crude fine if there are no problems but pretty dumb if there are if yast does not work try zypper up

1 | download.nvidia.com-opensuse | nVidia Graphics Drivers | Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/13.2/ |
2 | download.opensuse.org-13.2-non-oss | Update Repository (Non-Oss) | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2-non-oss/ |
3 | download.opensuse.org-4.3 | openSUSE BuildService - LibreOffice | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/4.3/openSUSE_13.2/ |
4 | download.opensuse.org-database | openSUSE BuildService - Database | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_13.2/ |
5 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_13.2/ |
6 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/non-oss/ |
7 | download.opensuse.org-oss | Main Repository (OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
8 | download.opensuse.org-update | Main Update Repository | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
9 | ftp.gwdg.de-suse | Packman Repository | Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/ |
10 | openSUSE-13.2-0 | openSUSE-13.2-0 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-HL-DT-STDVD+_-RW_GA31N_K0DC2TL4224 |
11 | opensuse-guide.org-repo | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/13.2/ |
12 | repo-debug | openSUSE-13.2-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/13.2/repo/oss/ |
13 | repo-debug-update | openSUSE-13.2-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2/ |
14 | 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/ |
15 | repo-source | openSUSE-13.2-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |

As stated, software management in YaST won’t open as long as apper has a hold of it. Apper won’t let go because there’s an update pending. And the update won’t run because of the conflict I posted.

That’s not true.
PackageKit should shut itself down after 15 seconds of idle time, regardless whether an update is available or not (with the default settings in PackageKit-branding-openSUSE at least).

You can kill packagekitd manually though if it is stuck, then you should be able to open YaST:

sudo killall -KILL packagekitd

(or use your desktop’s system monitor to kill it)

Doesn’t Yast give you option to tell Apper to go away??? May take a little time to ask. You can’t have two programs trying to do updates at the same time. Think about it.

My recommendation is to remove Mozilla repo then in yast bring all the Mozilla packages back to the regular repo at the bottom right there is a version tab that will help or you can leave the Mozilla repos and move all to it but all the packages must come from the same source for things to works right. Can be done with zypper but it is easier in yast. Forget apper it just notices updates for you

How do I remove a repo? I also don’t understand how to bring all the Mozilla packages back to then resular repo.

https://en.opensuse.org/SDB:Vendor_change_update#Using_YaST_2

Should help it is not hard but you got your self in a pickle so it takes a bit to get out

Yes, but this does not work most of the time in my experience. (there’s even a bugreport about that)

May take a little time to ask. You can’t have two programs trying to do updates at the same time. Think about it.

At the moment just having packagekitd run blocks YaST/zypper.
Eventually it should be possible to run both at the same time, at least that’s the plan.

But it still won’t be possible to actually install updates with several programs at the same time of course.

This shows how to switch repos. But I haven’t got the system packages set to the versions in the Mozilla repo.

That having been said, mozilla-nss-certs-32bit, the package that might be causing the problem, only appears in the Mozilla repo.

At least one package that’s included in that patch must be from the Mozilla repo.
Use YaST->Online Update to see what packages are included in that patch.

What conflict message does “zypper patch” or YaST->Online Update give you?

That having been said, mozilla-nss-certs-32bit, the package that might be causing the problem, only appears in the Mozilla repo.

Wrong:

# zypper se -s mozilla-nss-certs-32bit
Loading repository data...
Reading installed packages...

S | Name                    | Type    | Version    | Arch   | Repository          
--+-------------------------+---------+------------+--------+---------------------
i | mozilla-nss-certs-32bit | package | 3.17.4-9.1 | x86_64 | openSUSE-13.2-Update
v | mozilla-nss-certs-32bit | package | 3.17.2-4.2 | x86_64 | openSUSE-13.2-Update
v | mozilla-nss-certs-32bit | package | 3.17.1-1.1 | x86_64 | openSUSE-13.2-1.28  

Select the package in YaST and click on “Versions” below the package list to see what versions are available and be able to switch between them.

That;s the first time I’ve ever looked at Online Update.

The update is a patch for Ogg Vorbis Tools

Wrong:

# zypper se -s mozilla-nss-certs-32bit
Loading repository data...
Reading installed packages...

S | Name | Type | Version | Arch | Repository
–±------------------------±--------±-----------±-------±--------------------
i | mozilla-nss-certs-32bit | package | 3.17.4-9.1 | x86_64 | openSUSE-13.2-Update
v | mozilla-nss-certs-32bit | package | 3.17.2-4.2 | x86_64 | openSUSE-13.2-Update
v | mozilla-nss-certs-32bit | package | 3.17.1-1.1 | x86_64 | openSUSE-13.2-1.28

Select the package in YaST and click on “Versions” below the package list to see what versions are available and be able to switch between them.

I’ve never used version before, either!

The package is, in fact, from openSUSE Build Service. There are two versions listed from the Main Repository Service. Shall I choose the one with the higher update number?

No, it isn’t:

# zypper info -t patch openSUSE-2015-185
Loading repository data...
Reading installed packages...

Information for patch openSUSE-2015-185:
----------------------------------------
Name: openSUSE-2015-185
Version: 1
Arch: noarch
Vendor: maint-coord@suse.de
Status: Installed
Category: security
Severity: important
Created On: Thu Feb 26 14:12:30 2015
Reboot Required: No
Package Manager Restart Required: No
Interactive: No
Summary: Security update for MozillaFirefox, mozilla-nss
...

The package is, in fact, from openSUSE Build Service. There are two versions listed from the Main Repository Service. Shall I choose the one with the higher update number?

If that’s the package that causes the problem, you should choose the one from the openSUSE 13.2 Update Repository. You could choose the one from the main repo as well, but it would just get updated then afterwards anyway.

Personally I don’t really see a point in adding the Mozilla repo, you get the latest updates to Firefox, Thunderbird and Seamonkey via the standard updates anyway.

Quite right. Except that Online Update only lists a Ogg Vorbis Tools security update. I’m now offically confused.

If that’s the package that causes the problem, you should choose the one from the openSUSE 13.2 Update Repository. You could choose the one from the main repo as well, but it would just get updated then afterwards anyway.

Personally I don’t really see a point in adding the Mozilla repo, you get the latest updates to Firefox, Thunderbird and Seamonkey via the standard updates anyway.

I have three options to change it. There are two references to the Main Update repo and one to the Main Update repo (OSS). There’s no reference to the openSUSE 13.2 Update Repository. So which do I choose?

I can’t for the life of me remember why I added the Mozilla repo. But how would I get rid of it? That doesn’t seem to be an option I can see.

Maybe choose to show “All patches”.

I have three options to change it. There are two references to the Main Update repo and one to the Main Update repo (OSS). There’s no reference to the openSUSE 13.2 Update Repository. So which do I choose?

The “Main Update repo” or “Main Update repo (OSS)”, doesn’t matter, they in fact are the same repo. Those are just arbitrary names anyway, you can modify them to your likings in YaST->Software Repositories.
But why do you have the update repo twice? That’s unnecessary, you can remove one instance as well.

I can’t for the life of me remember why I added the Mozilla repo. But how would I get rid of it? That doesn’t seem to be an option I can see.

YaST->Software Repositories, or choose Configuration->Repositories in YaST->Software Management’s menu.

Or run “sudo zypper rr 5”.

Thanks Wolfi. That worked. And when I ran the update using Apper it updated Ogg Vorbis Tools.

But I’m now up to date with my updates. And I have earned a lot. So thanks to everybody who contributed.