[opensuse] Zypper doesn't remove
When I run zypper -v up it tells me, among other things The following packages are going to be REMOVED: ec-fonts-mftraced 1.0.12-244.104 ec-fonts-mftraced 1.0.12-244.105 ec-fonts-mftraced 1.0.12-244.106 konqueror-plugins-lang 4.3.1-7.24 konqueror-plugins-lang 4.3.1-7.25 konqueror-plugins-lang 4.3.1-7.27 konqueror-plugins-lang 4.3.1-7.29 konqueror-plugins-lang 4.3.1-7.30 konqueror-plugins-lang 4.3.1-7.35 konqueror-plugins-lang 4.3.1-7.36 konqueror-plugins-lang 4.3.1-7.38 konsole 4.4.2-155.21 konsole 4.4.2-155.23 konsole 4.4.3-157.1 konsole 4.4.3-157.2 konsole 4.4.3-157.4 However it doesn't remove them. What's up? -- "Of all tyrannies a tyranny sincerely exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies, the robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for own good will torment us without end, for they do so with the approval of their own conscience." - C.S. Lewis, _God in the Dock_ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05/08/2010 06:43 PM, Anton Aylward wrote:
When I run zypper -v up it tells me, among other things
The following packages are going to be REMOVED: ec-fonts-mftraced 1.0.12-244.104 ec-fonts-mftraced 1.0.12-244.105 ec-fonts-mftraced 1.0.12-244.106 konqueror-plugins-lang 4.3.1-7.24 konqueror-plugins-lang 4.3.1-7.25 konqueror-plugins-lang 4.3.1-7.27 konqueror-plugins-lang 4.3.1-7.29 konqueror-plugins-lang 4.3.1-7.30 konqueror-plugins-lang 4.3.1-7.35 konqueror-plugins-lang 4.3.1-7.36 konqueror-plugins-lang 4.3.1-7.38 konsole 4.4.2-155.21 konsole 4.4.2-155.23 konsole 4.4.3-157.1 konsole 4.4.3-157.2 konsole 4.4.3-157.4
However it doesn't remove them.
What's up?
Anton, What that means is that pre-install or post-install scripts for one of the packages is screwed up and it is leaving the old package on the system which eventually leads to this issue right here. It's no big deal, it happens to me all the time with gcc packages, older firefox xulrunner packaged did it, etc.. What you have to do is simply 'specifically' remove each of the older packages. (i.e.: First do a 'rpm -qa | grep packagename' to get a concise list of the packages in the rpm database. Like: 18:30 alchemy:~/suse/pkg/kernel> rpm -qa | grep konqueror-plugins konqueror-plugins-lang-4.3.1-16.46 (not real package just for example) konqueror-plugins-lang-4.3.1-17.46 konqueror-plugins-4.3.1-17.46 Then 'specifically' remove each package by copying and pasting the version to remove into rpm -e: rpm -e konqueror-plugins-lang-4.3.1-16.46 (if you get a dependency complaint, just add '--nodeps' and if you get script errors that prevent removing the package, just add '--noscripts', and if all else fails, then just F'ing force it with '--force', ex: rpm -e --noscripts konqueror-plugins-lang-4.3.1-16.46 If you have a lot and want to do it in one command you can do the old: rpm -e --nodeps --noscript $(rpm -qa | grep konqueror-plugins-lang | \ grep -v konqueror-plugins-lang-4.3.1-17.46) Note: what follows the '-v' is the version you want to keep, Also Note: your first grep expression must limit the list to one package name only. You couldn't just say '| grep konqueror' because that would return konqueror, konqueror-plugins-lang, etc... Have fun :p -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 05/08/2010 08:31 PM:
[...]
(if you get a dependency complaint, just add '--nodeps' and if you get script errors that prevent removing the package, just add '--noscripts', and if all else fails, then just F'ing force it with '--force', ex:
rpm -e --noscripts konqueror-plugins-lang-4.3.1-16.46
That was the bit I was missing. Lets hope is *is* a packaging error :-) -- Any sufficiently advanced technology is undistinguishable from magic. - Arthur Clarke -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05/08/2010 07:43 PM, Anton Aylward wrote:
When I run zypper -v up it tells me, among other things
The following packages are going to be REMOVED: ec-fonts-mftraced 1.0.12-244.104 ec-fonts-mftraced 1.0.12-244.105 ec-fonts-mftraced 1.0.12-244.106 konqueror-plugins-lang 4.3.1-7.24 konqueror-plugins-lang 4.3.1-7.25 konqueror-plugins-lang 4.3.1-7.27 konqueror-plugins-lang 4.3.1-7.29 konqueror-plugins-lang 4.3.1-7.30 konqueror-plugins-lang 4.3.1-7.35 konqueror-plugins-lang 4.3.1-7.36 konqueror-plugins-lang 4.3.1-7.38 konsole 4.4.2-155.21 konsole 4.4.2-155.23 konsole 4.4.3-157.1 konsole 4.4.3-157.2 konsole 4.4.3-157.4
However it doesn't remove them.
What's up?
Have you tried zypper rm ? Or is this after doing an zypper up or what? -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05/08/2010 08:38 PM, Michael S. Dunsavage wrote:
On 05/08/2010 07:43 PM, Anton Aylward wrote:
When I run zypper -v up it tells me, among other things
Have you tried zypper rm ? Or is this after doing an zypper up or what?
disregard, I read the message to fast. I didn't see the 'up' after the -v -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anton Aylward
-
David C. Rankin
-
Michael S. Dunsavage