Re: Duplicates and obsoletes problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2018-08-05 at 18:48 +0100, Russel Winder wrote:
> 
[…]
> I tried "dnf remove --duplicates" but that downloaded 2.3GB and then
> failed to do anything due to dependency failures.
> 
> Pragmatically I am not sure can try your suggestion as actually there
> are 2242 problem packages not just three. :-(

On the other hand it seems that the output of "dnf check" can be piped
through "grep 'is a duplicate with'" and awk to select the first column
which is the name of the package that is being replaced so it can go
into a "xargs dnf remove" assuming dnf can take 2000+ arguments.

I had assumed this is what "dnf remove --duplicates" would do, but it
doesn't. 
  
-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx/message/ND5WS4W4EPQNFQTR23ADBZGD2COG4USA/

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux