Doesn’t a changed package of my repository cause updates in YaST / Online Update?
Many thanks.
Doesn’t a changed package of my repository cause updates in YaST / Online Update?
Many thanks.
Hi
Only if its added on your system and the repository has been updated, as in package rebuilt, signed and published… Check your project.
I will describe it in a little more detail.
I create my own project home:myself:myprj in OBS.
I add the associated repository to my openSUSE Leap 15.4:
zypper addrepo https://download.opensuse.org/repositories/home:myself:myprj/15.4/home:myself:myprj.repo
Let’s assume I have a software as source sw-1.3.tgz.
I add it as a package to my project and create a spec file for it with the content:Name: sw
Version: 1.3 (?)
Release: 1 (?)
:
OBS compiles this without errors.
With yast / Software Management I install the new package.
Now, I want to have a new version of the package, because I add a small sample config file to the package.
How must I now proceed with version and release of the spec file, so that I find an update afterwards under yast / Online Update?
Hi
But have you checked either on OBS or via osc that the package has been not only built, but also published? On the web UI, if it’s not the truck icon, then it has not published so won’t be in your home repo to update…
This project does not exist so nobody can look at it to answer your questions.
How must I now proceed with version and release of the spec file, so that I find an update afterwards under yast / Online Update?
You need to increment version or release. What exactly is entirely up to you as maintainer of the package.
Sorry, this does not work (as expected from me).
Above, this was a generalized example.
**I added my repo **with:
zypper addrepo -f -p 90 https://download.opensuse.org/repositories/home:/wla70:/testonly/15.4/home:wla70:testonly.repo
1st I add a package to my project and create the spec file for it with the content:
Name: minisatip
Version: 1.2.23
Release: 1
:
OBS compiles this without errors, a package https://download.opensuse.org/repositories/home:/wla70:/testonly/15.4/x86_64/minisatip-1.2.23-lp154.5.1.x86_64.rpm was built.
With yast / Software Management, I install the new package.
2nd I change the spec file:
Name: minisatip
Version: 1.2.23
Release: 2
:
A new package https://download.opensuse.org/repositories/home:/wla70:/testonly/15.4/x86_64/minisatip-1.2.23-lp154.6.1.x86_64.rpm was built.
But what does yast?
With** yast / Software Management** i can see in the details of the installed package:
Version: 1.2.23-lp154.6.1 Installed: 1.2.23-lp154.5.1
So the new package is available and visible.
But, with yast / Online Update I cannot see the package for update.
OK, YOU only handles patches, not generic package updates. Use YaST Software, zypper or PackageKit based tools to perform update.
I didn’t know that.
Yes, zypper works well.
Thank you.