[ac] amd64 rpm repackage problem
Jeff Johnson
n3npq at mac.com
Sun Nov 18 19:31:04 CET 2007
On Nov 18, 2007, at 1:17 PM, Tomasz Pala wrote:
>
>>> # rpm -q --qf "%{name}-%{version}-%{release}.%{arch}\n" libpcap
>>> libpcap-0.9.7-1.athlon
>>> libpcap-0.9.4-1.amd64
>>> # rpm -e libpcap-0.9.7-1.athlon
>>> # rpm -q --qf "%{name}-%{version}-%{release}.%{arch}\n" libpcap
>>> libpcap-0.9.7-1.athlon
> ^^^^^^^^^^^^^^^^^^^^^^
>>> libpcap-0.9.4-1.amd64
>
> as you see it's still there, but it shouldn't. I couldn't remove this
> library, srp-libs-2.1.2-0.1.athlon and openssl-0.9.8e-4.athlon.
>
So your expectation is that -e --repackage should also remove
the package, or is it that "athlon" rather than "amd64" is used as
the arch?
I believe (but rpm-4.4.2 was like 3+ years ago) that --repackage takes
precedence over --erase. I.e. any of the install/upgrade/erase mode
options
will behave identically when --repackage is present, and repackaging
will
be done but the other mode operation will not.
Examine the logic flow in lib/rpminstall.c to see if I'm correct.
73 de jeff
More information about the pld-devel-en
mailing list