[opensuse] question about zypper dup
Hello, I'm still quite new to OpenSuse. I'm using it on the desktop for a few months now. Before I used Ubuntu for 3 years, before that 2 years of Gentoo, and before that several incarnations of Mandrake. On a hosted server I'm using Debian. I have a question about zypper. I find that it works very similar to apt-get/aptitude in Debian/Ubuntu or emerge in Gentoo, so it wasn't very hard for me to get used to it. But I currently have a question. It's not really a problem, I only want to know how it works and why. In Gentoo, when you do an 'emerge --upgrade --deep world', it updates your system. Same thing happens in Debian&Ubuntu when you do 'aptitude dist-upgrade'. And in OpenSuse it's 'zypper dup'. In Gentoo and Debian, the package managers first get all the packages and only when they have them, they start to install. in OpenSuse the package manager downloads one package, installs, then downloads the next, installs, etc. Why does zypper work that way, in contrast to emerge and aptitude? One of the things I liked about emerge and aptitude was that I could tell them to fetch all new packages, but not install them. I could put that in cron so it would fetch in off-peak hours. The packages would be saved to a local cache. I wouldn't know how to do that in OpenSuse. Also what happens when one package depends on another but one of them fails to download when the other is already installed? It looks like I can skip a package when it fails to download, but perhaps I don't want that, perhaps I want it to abort the entire installation or update? Your reactions, please. TIA, Amedee -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-01-07 at 01:20 +0100, Amedee Van Gasse wrote: ...
In Gentoo and Debian, the package managers first get all the packages and only when they have them, they start to install. in OpenSuse the package manager downloads one package, installs, then downloads the next, installs, etc.
Why does zypper work that way, in contrast to emerge and aptitude?
It saves disk space. The devs chose that strategy as they could have chosen the other. You'd have to ask them to know the whys. Personally, I'd like to be able to choose strategy.
Also what happens when one package depends on another but one of them fails to download when the other is already installed?
Good grief! :-} It will have to keep using the old version, I suppose. That's one reason I prefer to use the old upgrade via dvd method, although I use zypper dup for factory. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklj+ksACgkQtTMYHG2NR9UN4gCfUhlUz91sFZgfzMKg/nZXSFAZ /0EAnAif6yD01+gt07+Dvg/eze31z8qK =0VdT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, January 7, 2009 01:41, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2009-01-07 at 01:20 +0100, Amedee Van Gasse wrote:
...
In Gentoo and Debian, the package managers first get all the packages and only when they have them, they start to install. in OpenSuse the package manager downloads one package, installs, then downloads the next, installs, etc.
Why does zypper work that way, in contrast to emerge and aptitude?
It saves disk space. The devs chose that strategy as they could have chosen the other. You'd have to ask them to know the whys. Personally, I'd like to be able to choose strategy.
Also what happens when one package depends on another but one of them fails to download when the other is already installed?
Good grief! :-}
It will have to keep using the old version, I suppose. That's one reason I prefer to use the old upgrade via dvd method, although I use zypper dup for factory.
I'm sorry, my mistake. I wrote 'zypper dup' but I meant 'zypper up'. No distro upgrade, just updates&patches. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Amedee Van Gasse escribió:
I have a question about zypper. I find that it works very similar to apt-get/aptitude in Debian/Ubuntu or emerge in Gentoo,
Similar if a pear can be compared to apples.. yes :-D
Why does zypper work that way, in contrast to emerge and aptitude?
It is a very well known "feature", a design decision that has drawbacks and advantanges.
Also what happens when one package depends on another but one of them fails to download when the other is already installed? It looks like I can skip a package when it fails to download, but perhaps I don't want that, perhaps I want it to abort the entire installation or update?
http://lizards.opensuse.org/2008/10/30/how-survive-zypper-dup-on-system-with... -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2009-01-06 at 22:32 -0300, Cristian Rodríguez wrote:
http://lizards.opensuse.org/2008/10/30/how-survive-zypper-dup-on-system-with...
Cute! - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklkHZMACgkQtTMYHG2NR9V8LgCcCyji+GdKad189d82/FvtdMON CTkAoJGkZhCKjYoUQ/wPOnUPt8px502a =4toF -----END PGP SIGNATURE-----
On Wed, January 7, 2009 04:12, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday, 2009-01-06 at 22:32 -0300, Cristian RodrÃguez wrote:
http://lizards.opensuse.org/2008/10/30/how-survive-zypper-dup-on-system-with...
Cute!
Interesting comments too. It seems I'm not alone. Any way it's nice to know that it's configurable. I have enough space, I'll cache whatever I need. Caching is also nice if you have a lot of systems with the same architecture. You can mount the cache directory over NFS on the local network. -- Amedee -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, January 7, 2009 02:32, Cristian RodrÃguez wrote:
Amedee Van Gasse escribió:
I have a question about zypper. I find that it works very similar to apt-get/aptitude in Debian/Ubuntu or emerge in Gentoo,
Similar if a pear can be compared to apples.. yes :-D
Malus (apple) is a genus in the subfamily Maloideae (a subfamily of Rosaceae), and so is Pyrus (pear). In both cases the "fruit" grows out of the receptacle of the calyx tube. Cultivation is quite similar. Some pear and apple species are so similar in shape and color of the fruit that you can only tell them apart by the tissue of the fruit: pears have clusters of hard cells. So... yes. :-D
Why does zypper work that way, in contrast to emerge and aptitude?
It is a very well known "feature", a design decision that has drawbacks and advantanges.
For values of "very well known", of course. :)
Also what happens when one package depends on another but one of them fails to download when the other is already installed? It looks like I can skip a package when it fails to download, but perhaps I don't want that, perhaps I want it to abort the entire installation or update?
http://lizards.opensuse.org/2008/10/30/how-survive-zypper-dup-on-system-with...
OK, tnx! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Amedee Van Gasse
-
Carlos E. R.
-
Cristian Rodríguez