Re: apt-rpm & 64-bit Fedora Core 4
Axel Thimm <[email protected]> Thu, 24 Nov 2005 06:57:03 +0100
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
--===============0952533578==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="eqp4TxRxnD4KrmFZ"
Content-Disposition: inline
--eqp4TxRxnD4KrmFZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Nov 14, 2005 at 02:38:47PM -0500, Jim Faulkner wrote:
> I take it that apt-rpm does not work with 64-bit Fedora? It works fine=
=20
> with 64-bit Suse, but that is probably because Suse intelligently names=
=20
> their packages based on their architecture.
> If not, is 64-bit Fedora going to be supported in a future version
> of apt-rpm?
Only if you are willing to give up multilib:
http://bugzilla.atrpms.net/show_bug.cgi?id=3D326
http://bugzilla.atrpms.net/show_bug.cgi?id=3D334#c2
> remove all i386 packages but grub...how would I go about doing that?
The following will attempt to remove all overlapping i386 packages:
rpm -qa --qf '%{arch} %{name}-%{version}-%{release}\n' \
| grep -v gpg-pubkey \
| sort -k2,2 | uniq -f1 -D \
| grep ^i386 \
| awk '{print $2 "." $1}' | tr '\n' ' ' \
| xargs rpm --test -e
You will find that openoffice.org*, openmotif21, HelixPlayer, festival
and a
couple libs will not let go, so if you want a non-multilib system, you
would
have to dump these first, then retry the above and finally when there
is no
further output remove the "--test".
You can also simply try
rpm -qa --qf '%{arch} %{name}-%{version}-%{release}\n' \
| grep -v gpg-pubkey | grep -v ^noarch | grep -v ^x86_64 | grep -v grub \
| awk '{print $2 "." $1}' | tr '\n' ' ' \
| xargs rpm --test -e
--=20
Axel.Thimm at ATrpms.net
--eqp4TxRxnD4KrmFZ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDhVYvQBVS1GOamfERAngTAJ9lnBq5F3C1VIavDSr260j9H0WrMACeNFap
zfStLn8mt+xefbztPFGNUdE=
=Uaak
-----END PGP SIGNATURE-----
--eqp4TxRxnD4KrmFZ--
--===============0952533578==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
apt-rpm mailing list
[email protected]
http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm
--===============0952533578==--