[opensuse] possible to revert all packages from repo X to standard repos without access to X?
I thought I asked this lately, but cannot find any evidence that I did. I have a 13.1 installation that had had X11:XOrg enabled and dup'd to that I want to revert all packages from. None seem to have dependencies to trigger other packages to revert as well, so each seems to need to be be searched first by name, then by version, and only then removed by typing in complete package name, and there are a lot of them, taking more than minute each to remove this way. I don't see but one x11 pattern that might have facilitated this. Since X is too broken to use, YaST2 isn't available, and yast seems too unwieldy for this purpose as well. Surely there must be some easier way to get "System Packages" from X11:XOrg replaced by currently available versions, no? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
zypper rr bad-repo zypper dup On Mon, Mar 14, 2016 at 8:50 AM, Felix Miata <mrmazda@earthlink.net> wrote:
I thought I asked this lately, but cannot find any evidence that I did. I have a 13.1 installation that had had X11:XOrg enabled and dup'd to that I want to revert all packages from. None seem to have dependencies to trigger other packages to revert as well, so each seems to need to be be searched first by name, then by version, and only then removed by typing in complete package name, and there are a lot of them, taking more than minute each to remove this way. I don't see but one x11 pattern that might have facilitated this. Since X is too broken to use, YaST2 isn't available, and yast seems too unwieldy for this purpose as well. Surely there must be some easier way to get "System Packages" from X11:XOrg replaced by currently available versions, no? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov composed on 2016-03-14 09:04 (UTC+0300):
Felix Miata wrote:
I thought I asked this lately, but cannot find any evidence that I did. I have a 13.1 installation that had had X11:XOrg enabled and dup'd to that I want to revert all packages from. None seem to have dependencies to trigger other packages to revert as well, so each seems to need to be be searched first by name, then by version, and only then removed by typing in complete package name, and there are a lot of them, taking more than minute each to remove this way. I don't see but one x11 pattern that might have facilitated this. Since X is too broken to use, YaST2 isn't available, and yast seems too unwieldy for this purpose as well. Surely there must be some easier way to get "System Packages" from X11:XOrg replaced by currently available versions, no?
zypper rr bad-repo zypper dup
If only. X11:XOrg wasn't and isn't the only non-standard repo enabled. Dup wants to "upgrade" other packages I don't want changed. As I don't seem to be able to grok from the 13.1 locks man page how to lock down packages on a per repo basis, I'd have to ID each package and set a lock, only somewhat less trouble than the tedium I've been suffering. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata wrote:
I thought I asked this lately, but cannot find any evidence that I did. I have a 13.1 installation that had had X11:XOrg enabled and dup'd to that I want to revert all packages from. None seem to have dependencies to trigger other packages to revert as well, so each seems to need to be be searched first by name, then by version, and only then removed by typing in complete package name, and there are a lot of them, taking more than minute each to remove this way. I don't see but one x11 pattern that might have facilitated this. Since X is too broken to use, YaST2 isn't available,
YaST2 has an ncurses interface, that's virtually all I ever use. -- Per Jessen, Zürich (3.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 14/03/2016 06:50, Felix Miata a écrit :
more than minute each to remove this way. I don't see but one x11 pattern that might have facilitated this. Since X is too broken to use, YaST2 isn't available, and yast seems too unwieldy for this purpose as well. Surely there must be some easier way to get "System Packages" from X11:XOrg replaced by currently available versions, no?
filter / repositories in yast (ncurse) may help you a bit to identify what apps come from the bad repo I wonder what happen when a repos is no more available. I had this last week. a repo could no more be read and this broke all my updates. I didn't find any soft coming from this repo :-) so I simply removed it from source list. but what happen is a repo is removed that have some soft used? is the software kept or removed? if there is an other source, is this source used? I understand you need a "dedup" option and I see use case of it may be somebody have the answer :-) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-03-14 09:01, jdd wrote:
Le 14/03/2016 06:50, Felix Miata a écrit :
I understand you need a "dedup" option and I see use case of it
YaST has an undo feature, little known. At least on the gtk flavour. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Le 14/03/2016 09:17, Carlos E. R. a écrit :
On 2016-03-14 09:01, jdd wrote:
Le 14/03/2016 06:50, Felix Miata a écrit :
I understand you need a "dedup" option and I see use case of it
YaST has an undo feature, little known. At least on the gtk flavour.
according to this page: https://doc.opensuse.org/documentation/html/openSUSE_114/opensuse-reference/... it's only a cancel option for the windows in use jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-03-14 10:01, jdd wrote:
Le 14/03/2016 09:17, Carlos E. R. a écrit :
On 2016-03-14 09:01, jdd wrote:
Le 14/03/2016 06:50, Felix Miata a écrit :
I understand you need a "dedup" option and I see use case of it
YaST has an undo feature, little known. At least on the gtk flavour.
according to this page:
https://doc.opensuse.org/documentation/html/openSUSE_114/opensuse-reference/...
it's only a cancel option for the windows in use
I think I saw it in the "history" view (extras). -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Le 14/03/2016 14:23, Carlos E. R. a écrit :
I think I saw it in the "history" view (extras).
I don't see it in the qt version and I find no way to see the gtk version (I can only have the control center gtk) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-03-14 15:15, jdd wrote:
Le 14/03/2016 14:23, Carlos E. R. a écrit :
I think I saw it in the "history" view (extras).
I don't see it in the qt version and I find no way to see the gtk version (I can only have the control center gtk)
yast2 --gtk sw_single & -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Le 14/03/2016 23:10, Carlos E. R. a écrit :
On 2016-03-14 15:15, jdd wrote:
Le 14/03/2016 14:23, Carlos E. R. a écrit :
I think I saw it in the "history" view (extras).
I don't see it in the qt version and I find no way to see the gtk version (I can only have the control center gtk)
yast2 --gtk sw_single &
no, it's the first thing I tested but I get: The GTK GUI has been retired, falling back to Qt I had the same message for "yast2 --gtk" before installing the -gnome version of control center jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-03-15 08:33, jdd wrote:
Le 14/03/2016 23:10, Carlos E. R. a écrit :
yast2 --gtk sw_single &
no, it's the first thing I tested but I get:
The GTK GUI has been retired, falling back to Qt
Ah. 13.1 here, I still have it. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Felix Miata wrote:
I thought I asked this lately, but cannot find any evidence that I did. I have a 13.1 installation that had had X11:XOrg enabled and dup'd to that I want to revert all packages from. None seem to have dependencies to trigger other packages to revert as well, so each seems to need to be be searched first by name, then by version, and only then removed by typing in complete package name, and there are a lot of them, taking more than minute each to remove this way. I don't see but one x11 pattern that might have facilitated this. Since X is too broken to use, YaST2 isn't available, and yast seems too unwieldy for this purpose as well. Surely there must be some easier way to get "System Packages" from X11:XOrg replaced by currently available versions, no?
Hmm, I'd do it manually. The bad repo still needs to be available, though (I think): Find all the packages from BadRepo list=$(zypper search -i -r BadRepo | grep ^i | cut -d'|' -f 2) zypper mr -d BadRepo zypper in -f $list You should get warnings about changing ownership, probably a lot, but at least all should be done inone go.... If you really don't have that repo anymore they are likely marked as '(System Packages). So instead list=$(zypper search -i | grep 'System Packages' | cut -d'|' -f 2) might help, but that finds also packages from other repos.... -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8559 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
P.Suetterlin@royac.iac.es composed on 2016-03-16 11:48 (UTC+0100):
list=$(zypper search -i -r BadRepo | grep ^i | cut -d'|' -f 2)
This doesn't return anything beyond the not found message for the (obsolete home*) repo directory's repomd.xml file. Retried with existing X11 repo:
zypper mr -d BadRepo
OK
zypper in -f $list
This produces zypper usage message, even after adding whitespace following -d. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
Felix Miata
-
jdd
-
P.Suetterlin@royac.iac.es
-
Per Jessen