Re: [opensuse] Zypper doesn't remove
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 08 May 2010 19:31:54 -0500
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Zypper doesn't remove
- From: Anton Aylward
- Re: [opensuse] Zypper doesn't remove
- References:
- [opensuse] Zypper doesn't remove
- From: Anton Aylward
- [opensuse] Zypper doesn't remove
- Prev by Date: Re: [opensuse] Help! - Can't boot kernel because no depmod -a --> can't depmod -a because I can't boot kernel (chicken or the egg??)
- Next by Date: Re: [opensuse] Zypper doesn't remove
- Previous by thread: [opensuse] Zypper doesn't remove
- Next by thread: Re: [opensuse] Zypper doesn't remove
- Index(es):
Relevant Pages
|