[opensuse] zypper question
Hi, With the changes to zypper from openSUSE 11.2 to openSUSE 11.3 I am still confused as to the mechanism that gets me the results I am after. One of the additional repositories I have configured on the system is http://download.opensuse.org/repositories/Virtualization:/Appliances/openSUS... as I want to track the Kiwi development packages. After I upgraded the machine from openSUSE 11.2 to 11.3 I ran zypper install kiwi-LATEST_VERSION_AT_THE_TIME and chose to change the "vendor" for the Kiwi packages to be the Appliances repo. With this I figured that future "zypper up" usage would get me the latest packages of kiwi. That does not appear to be the case. I also tried "zypper patch" and it still does not pick up the packages from the Appliances repo. When I use the YaST GUI to manage software I can see the updated Kiwi packages and can click on them to get the latest version. What do I have to do to get zypper to pull these packages via "zypper up" or "zypper patch"? Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Aug 26, 2010 at 11:17 AM, Robert Schweikert <rschweikert@novell.com> wrote:
Hi,
With the changes to zypper from openSUSE 11.2 to openSUSE 11.3 I am still confused as to the mechanism that gets me the results I am after.
One of the additional repositories I have configured on the system is
http://download.opensuse.org/repositories/Virtualization:/Appliances/openSUS...
as I want to track the Kiwi development packages. After I upgraded the machine from openSUSE 11.2 to 11.3 I ran
zypper install kiwi-LATEST_VERSION_AT_THE_TIME
and chose to change the "vendor" for the Kiwi packages to be the Appliances repo. With this I figured that future "zypper up" usage would get me the latest packages of kiwi. That does not appear to be the case. I also tried "zypper patch" and it still does not pick up the packages from the Appliances repo.
When I use the YaST GUI to manage software I can see the updated Kiwi packages and can click on them to get the latest version.
What do I have to do to get zypper to pull these packages via "zypper up" or "zypper patch"?
Thanks, Robert
-- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147
Novell Making IT Work As One
I don't know the answer, but zypper search -s <package name> should show what repo your current package came from and what other packages are available in what repos. Once you understand the issue better you may be able to run: zypper dup --from <appliance-repo> And get more packages to change their source to the <appliance-repo>. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Aug 26, 2010 at 11:17:12AM -0400, Robert Schweikert wrote:
One of the additional repositories I have configured on the system is
http://download.opensuse.org/repositories/Virtualization:/Appliances/openSUS...
as I want to track the Kiwi development packages. After I upgraded the machine from openSUSE 11.2 to 11.3 I ran
zypper install kiwi-LATEST_VERSION_AT_THE_TIME
and chose to change the "vendor" for the Kiwi packages to be the Appliances repo. With this I figured that future "zypper up" usage would get me the latest packages of kiwi. That does not appear to be the case.
This should work, as the vendor of the applience repo didn't change. Does 'rpm -qi kiwi' really report the applience repo in the 'Distribution:' line? Maybe the latest kiwi packages requires another package from the applience repo to be updated as well, so 'zypper up' doesn't do the update. 'zypper in kiwi-<NEWESTVERSION>' should tell you about this. You can also use 'zypper dup --from' to switch all of your packages to the ones from the applience repo.
I also tried "zypper patch" and it still does not pick up the packages from the Appliances repo.
No, 'zypper patch' just installs the official released openSUSE updates. Those updates are a bit like package groups, they come with a severity, a description what they fix and so on. The buildservice doesn't generate such update information, but 'zypper up' should be sufficient to update to the latest versions (as long as the vendor matches). Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/26/2010 11:50 AM, Michael Schroeder wrote:
On Thu, Aug 26, 2010 at 11:17:12AM -0400, Robert Schweikert wrote:
One of the additional repositories I have configured on the system is
http://download.opensuse.org/repositories/Virtualization:/Appliances/openSUS...
as I want to track the Kiwi development packages. After I upgraded the machine from openSUSE 11.2 to 11.3 I ran
zypper install kiwi-LATEST_VERSION_AT_THE_TIME
and chose to change the "vendor" for the Kiwi packages to be the Appliances repo. With this I figured that future "zypper up" usage would get me the latest packages of kiwi. That does not appear to be the case.
This should work, as the vendor of the applience repo didn't change. Does 'rpm -qi kiwi' really report the applience repo in the 'Distribution:' line?
Yes, it does
Maybe the latest kiwi packages requires another package from the applience repo to be updated as well, so 'zypper up' doesn't do the update. 'zypper in kiwi-<NEWESTVERSION>' should tell you about this.
The previous update of Kiwi did remove a package, this weeks release just updated the existing packages. So last weeks 'zyyper up' did not show kiwi to up upgraded and this weeks 'zypper up' does. IMHO zypper should still show the upgrade even if a package needed to be removed. bug? Thanks, Robert
You can also use 'zypper dup --from' to switch all of your packages to the ones from the applience repo.
I also tried "zypper patch" and it still does not pick up the packages from the Appliances repo.
No, 'zypper patch' just installs the official released openSUSE updates. Those updates are a bit like package groups, they come with a severity, a description what they fix and so on.
The buildservice doesn't generate such update information, but 'zypper up' should be sufficient to update to the latest versions (as long as the vendor matches).
Cheers, Michael.
-- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Aug 29, 2010 at 06:34:39AM -0400, Robert Schweikert wrote:
The previous update of Kiwi did remove a package, this weeks release just updated the existing packages. So last weeks 'zyyper up' did not show kiwi to up upgraded and this weeks 'zypper up' does.
IMHO zypper should still show the upgrade even if a package needed to be removed.
bug?
Currently 'zypper up' is designed so that it doesn't do anything that neds a confirmation by the user, i.e. it doesn't remove anything (except packages that get obsoleted), does not do arch or vendor changes and so on. You can run it daily as a cron job. We may need something different for a "user really wants newest packages with feedback and confirmation" mode. The "newest packages, just do it" mode already exists, it's called "zypper dup". ;-) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Greg Freemyer
-
Michael Schroeder
-
Robert Schweikert