On Wed, Feb 13, 2019 at 12:30:09PM +0100, Pino Toscano wrote:
On Wednesday, 13 February 2019 11:38:21 CET CHANU ROMAIN wrote:
> Hello,
> New version displayes duplicated rpm packages.
> I had many packages installed twice. Used this command to solve the
> problem:sudo dnf reinstall $(rpm -qa | sort | uniq -cd | cut -d' '
> -f8)
There is only one package that is OK to have installed multiple times,
and that is "kernel". If any other package is installed multiple times
(usually with different versions), it means that some dnf/yum/etc
transaction was not completed correctly, usually because the package
manager crashed or was interrupted.
I've had this failure on at least Fedora systems enough times
that we should probably make virt-v2v robust against it. I can
take a look when I'm back from holiday.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top