[opensuse] Mixing Yast2 and zypper updates
Is it safe to mix updating with Zypper and Yast2? I.e., do they use the same dependency resolution algorithm and source list? TIA, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jeffrey L. Taylor escribió:
Is it safe to mix updating with Zypper and Yast2?
Yes. I.e., do they use the same
dependency resolution algorithm and source list?
Yes. -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
On Thu, Feb 26, 2009 at 11:56:40AM -0300, Cristian Rodríguez wrote:
Jeffrey L. Taylor escribió:
Is it safe to mix updating with Zypper and Yast2?
Yes.
I.e., do they use the same
dependency resolution algorithm and source list?
Yes. (*)
(*) If you use "zypper patch" instead of "zypper up" Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Feb 26, 2009 at 10:00 AM, Marcus Meissner <meissner@suse.de> wrote:
On Thu, Feb 26, 2009 at 11:56:40AM -0300, Cristian Rodríguez wrote:
Jeffrey L. Taylor escribió:
Is it safe to mix updating with Zypper and Yast2?
Yes.
I.e., do they use the same
dependency resolution algorithm and source list?
Yes. (*)
(*) If you use "zypper patch" instead of "zypper up"
Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Correct me if I am wrong but doesn't Yast use zypper under the hood? Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Feb 26, 2009 at 10:01:35AM -0500, Boris Epstein wrote:
On Thu, Feb 26, 2009 at 10:00 AM, Marcus Meissner <meissner@suse.de> wrote:
On Thu, Feb 26, 2009 at 11:56:40AM -0300, Cristian Rodríguez wrote:
Jeffrey L. Taylor escribió:
Is it safe to mix updating with Zypper and Yast2?
Yes.
I.e., do they use the same
dependency resolution algorithm and source list?
Yes. (*)
(*) If you use "zypper patch" instead of "zypper up"
Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Correct me if I am wrong but doesn't Yast use zypper under the hood?
Yes, but it works on patches by default. Zypper up uses packages, zypper patch uses patches. (just a nitpick mostly) Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Feb 26, 2009 at 9:06 AM, Marcus Meissner <meissner@suse.de> wrote:
Correct me if I am wrong but doesn't Yast use zypper under the hood?
Yes, but it works on patches by default. Zypper up uses packages, zypper patch uses patches.
(just a nitpick mostly)
Ok, I have asked this before, and no good answer came up. If they use the same engine, why there is a difference between: 1. zypper up -t package -t patch and 2. using yast, select upgrade all packages if newer version is available. The second one provides more packages (speaking about 11.0, I haven't tried with 11.1), and sometimes more conflicts. Cheers -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Feb 26, 2009 at 09:11:53AM -0600, Sunny wrote:
On Thu, Feb 26, 2009 at 9:06 AM, Marcus Meissner <meissner@suse.de> wrote:
Correct me if I am wrong but doesn't Yast use zypper under the hood?
Yes, but it works on patches by default. Zypper up uses packages, zypper patch uses patches.
(just a nitpick mostly)
Ok, I have asked this before, and no good answer came up. If they use the same engine, why there is a difference between:
1. zypper up -t package -t patch
This is a strange, just one "-t" will be used I guess.
and
2. using yast, select upgrade all packages if newer version is available.
This is the -t package mode.
The second one provides more packages (speaking about 11.0, I haven't tried with 11.1), and sometimes more conflicts.
Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Marcus Meissner <meissner@suse.de>:
On Thu, Feb 26, 2009 at 09:11:53AM -0600, Sunny wrote:
On Thu, Feb 26, 2009 at 9:06 AM, Marcus Meissner <meissner@suse.de> wrote:
Correct me if I am wrong but doesn't Yast use zypper under the hood?
Yes, but it works on patches by default. Zypper up uses packages, zypper patch uses patches.
(just a nitpick mostly)
Ok, I have asked this before, and no good answer came up. If they use the same engine, why there is a difference between:
1. zypper up -t package -t patch
This is a strange, just one "-t" will be used I guess.
and
2. using yast, select upgrade all packages if newer version is available.
This is the -t package mode.
The second one provides more packages (speaking about 11.0, I haven't tried with 11.1), and sometimes more conflicts.
Thank you. This makes my multi-tasking easier. Yast (on 10.3) insists on putting its "Updating ... " pop-up on all virtual desktops. A command line tool doesn't. Nor I suppose would the CUI version of Yast, but somehow I never made sense of it. IIRC, I used it way in the past, before Yast2 came out, but bitrot has set in in my memory. Thank you, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jeffrey L. Taylor napsal(a):
Quoting Marcus Meissner <meissner@suse.de>:
On Thu, Feb 26, 2009 at 09:11:53AM -0600, Sunny wrote:
On Thu, Feb 26, 2009 at 9:06 AM, Marcus Meissner <meissner@suse.de> wrote:
Correct me if I am wrong but doesn't Yast use zypper under the hood? No, but both uses libzypp as library, but yast doesn't call zypper (except special cases). Yes, but it works on patches by default. Zypper up uses packages, zypper patch uses patches.
(just a nitpick mostly)
Ok, I have asked this before, and no good answer came up. If they use the same engine, why there is a difference between:
1. zypper up -t package -t patch This is a strange, just one "-t" will be used I guess. No, both is used.
and
2. using yast, select upgrade all packages if newer version is available. This is the -t package mode.
The second one provides more packages (speaking about 11.0, I haven't tried with 11.1), and sometimes more conflicts.
Thank you. This makes my multi-tasking easier. Yast (on 10.3) insists on putting its "Updating ... " pop-up on all virtual desktops. A command line tool doesn't. Nor I suppose would the CUI version of Yast, but somehow I never made sense of it. IIRC, I used it way in the past, before Yast2 came out, but bitrot has set in in my memory.
Thank you, Jeffrey
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sunny wrote:
On Thu, Feb 26, 2009 at 10:01:35AM -0500, Boris Epstein wrote:
Correct me if I am wrong but doesn't Yast use zypper under the hood?
No, but both zypper and YaST use libzypp under the hood.
Ok, I have asked this before, and no good answer came up. If they use the same engine, why there is a difference between:
1. zypper up -t package -t patch
and
2. using yast, select upgrade all packages if newer version is available.
They use the same engine to install the packages but different ways to select them. This has much to do with the possiblities of the user interfaces used (GUI vs. CLI). However, in cases where it makes sense (e.g. if the requests are the same), we would like the two to yield the same results. 'zypper up -t package -t patch' means "Upgrade all packages to newer versions, if possible (i.e., there is no dependency or other solver problem) plus apply all needed patches. This is different than "upgrade all packages if newer version is available". Maybe plain 'zypper up' should yield the same result as the mentioned function of yast. - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz - ---------------------------------------------------------(EOF)--- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAknQr0QACgkQgEhGpmN+6QE3lwCeNv+MCfh6PYWBJU79WqQC/KZc pFcAn2Xj+2ukK2LRv4zltXPfkPjP6H8x =AHvX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Boris Epstein
-
Cristian Rodríguez
-
Jan Kupec
-
Jeffrey L. Taylor
-
josef reidinger
-
Marcus Meissner
-
Sunny