Re: [opensuse-packaging] repository purge behaviour (was repository removal behaviour)
Ok, so what I'm really talking about is "purging" a repository, for exampling a testing repository, so that the effects of installing any packages from that repository is rolled back. Philip -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Philip Ashmore escribió: so that
the effects of installing any packages from that repository is rolled back.
AFAIK, there is no such feature, and really I fail to see the need of it. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Le jeudi 27 novembre 2008, Cristian Rodríguez a écrit :
Philip Ashmore escribió: so that
the effects of installing any packages from that repository is rolled back.
AFAIK, there is no such feature, and really I fail to see the need of it.
I do. When I am asked for example to give a try to KDE from Factory to see if a particular bug has already been fixed there, I would like to be able to return to the initial state of things when I am done with the testing, as I don't want to keep using a snapshot of Factory's KDE forever and I also don't want to have to update my KDE every week (otherwise I'd be using Factory as my distribution in the first place.) Now I'm not saying it is easy to implement. I don't know enough about packaging in general to comment on that. But that would certainly be a useful feature to have. Users would be more willing to help us with testing specific repositories if they knew they can easily go back to their initial system state afterwards. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 11/28/2008 at 9:52 AM, Jean Delvare <jdelvare@suse.de> wrote: Le jeudi 27 novembre 2008, Cristian Rodríguez a écrit : Philip Ashmore escribió: so that the effects of installing any packages from that repository is rolled back.
AFAIK, there is no such feature, and really I fail to see the need of it.
I do. When I am asked for example to give a try to KDE from Factory to see if a particular bug has already been fixed there, I would like to be able to return to the initial state of things when I am done with the testing, as I don't want to keep using a snapshot of Factory's KDE forever and I also don't want to have to update my KDE every week (otherwise I'd be using Factory as my distribution in the first place.)
This is a need not required by 'default' system users but only for very rare cases. Investing time in this sounds afwully wrong! On the other hand, what actually CAN help you (it's an abuse, but it does what you look for): zypper dup It actually checks to have installed only packages from the currently installed repositories, dropping packages which would no longer exist. I'm pretty sure in most cases it will do exactly what you expect in this situation. (BEWARE! This is for sure not it's meant way and it might have obscure side-effects... I take no liability and the rest you know... it might fry your toaster, burn your hard disk, crash your car, and so on). Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, Nov 28, 2008 at 10:15:07AM +0100, Dominique Leuenberger wrote:
On the other hand, what actually CAN help you (it's an abuse, but it does what you look for): zypper dup
It actually checks to have installed only packages from the currently installed repositories, dropping packages which would no longer exist. I'm pretty sure in most cases it will do exactly what you expect in this situation.
It's not very good in reverting package renames and package splits, though. I hope to add support for that in 11.2. 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-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Cristian Rodríguez
-
Dominique Leuenberger
-
Jean Delvare
-
Michael Schroeder
-
Philip Ashmore