Re: Duplicates and obsoletes problem

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

 



On Mon, 2018-08-06 at 20:42 +0100, Russel Winder wrote:
> On Sun, 2018-08-05 at 16:10 -0700, Samuel Sieb wrote:
> […]
> > 
> > I have no idea why you have so many duplicates.  That usually happens 
> > when the update process gets interrupted part way through.  Try running 
> > "dnf distro-sync".
> 
> […]
> 
> 
> [root@lionors ~]# dnf distro-sync
> Last metadata expiration check: 0:01:08 ago on Mon 06 Aug 2018 20:38:26
> BST.
> Error: 
>  Problem: The operation would result in removing the following protected
> packages: sudo, systemd, systemd-udev
> 
> 
> :-(

So I tried:

[root@lionors ~]# dnf distro-sync -x sudo -x systemd -x systemd-udev
Last metadata expiration check: 0:04:24 ago on Mon 06 Aug 2018 20:38:26 BST.
Dependencies resolved.
======================================================================================
 Package                  Arch     Version                            Repository
                                                                                 Size
======================================================================================
Removing dependent packages:
 systemd                  x86_64   239-1.fc29                         @System    11 M
 systemd-container        x86_64   239-1.fc29                         @System   1.1 M
 systemd-devel            x86_64   239-1.fc29                         @System   295 k
 systemd-libs             x86_64   239-1.fc29                         @System   1.7 M
 systemd-pam              x86_64   239-1.fc29                         @System   372 k
 systemd-udev             x86_64   239-1.fc29                         @System   7.5 M
Downgrading:
 dtv-scan-tables          noarch   1-2.20171226git07b18ecef174.fc29   rawhide   565 k
 dtv-scan-tables-legacy   noarch   1-2.20171226git07b18ecef174.fc29   rawhide   230 k
 librados2                x86_64   1:12.2.6-1.fc29                    rawhide   3.0 M

Transaction Summary
======================================================================================
Remove     6 Packages
Downgrade  3 Packages

Total download size: 3.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): dtv-scan-tables-legacy-1-2.20171226git07b18ece 166 kB/s | 230 kB     00:01    
(2/3): dtv-scan-tables-1-2.20171226git07b18ecef174.fc 385 kB/s | 565 kB     00:01    
(3/3): librados2-12.2.6-1.fc29.x86_64.rpm             1.3 MB/s | 3.0 MB     00:02    
--------------------------------------------------------------------------------------
Total                                                 1.7 MB/s | 3.8 MB     00:02     
/usr/lib/python3.7/site-packages/dnf/cli/cli.py:231: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  if not isinstance(display, collections.Sequence):

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                              1/1 
  Running scriptlet: librados2-1:12.2.6-1.fc29.x86_64                             1/1 
  Downgrading      : librados2-1:12.2.6-1.fc29.x86_64                            1/12 
  Downgrading      : dtv-scan-tables-legacy-1-2.20171226git07b18ecef174.fc29.    2/12 
  Downgrading      : dtv-scan-tables-1-2.20171226git07b18ecef174.fc29.noarch     3/12 
  Erasing          : systemd-devel-239-1.fc29.x86_64                             4/12 
  Cleanup          : dtv-scan-tables-legacy-1-8.20161007git0b42d8e8b44e.fc28.    5/12 
  Cleanup          : dtv-scan-tables-1-8.20161007git0b42d8e8b44e.fc28.noarch     6/12 
  Running scriptlet: systemd-udev-239-1.fc29.x86_64                              7/12 
  Erasing          : systemd-udev-239-1.fc29.x86_64                              7/12 
  Running scriptlet: systemd-udev-239-1.fc29.x86_64                              7/12 
  Erasing          : systemd-container-239-1.fc29.x86_64                         8/12 
  Erasing          : systemd-pam-239-1.fc29.x86_64                               9/12 
  Running scriptlet: systemd-239-1.fc29.x86_64                                  10/12 
  Erasing          : systemd-239-1.fc29.x86_64                                  10/12 
  Erasing          : systemd-libs-239-1.fc29.x86_64                             11/12 
  Cleanup          : librados2-1:12.2.7-1.fc29.x86_64                           12/12 
  Running scriptlet: librados2-1:12.2.7-1.fc29.x86_64                           12/12 
  Verifying        : dtv-scan-tables-1-2.20171226git07b18ecef174.fc29.noarch     1/12 
  Verifying        : dtv-scan-tables-1-8.20161007git0b42d8e8b44e.fc28.noarch     2/12 
  Verifying        : dtv-scan-tables-legacy-1-2.20171226git07b18ecef174.fc29.    3/12 
  Verifying        : dtv-scan-tables-legacy-1-8.20161007git0b42d8e8b44e.fc28.    4/12 
  Verifying        : librados2-1:12.2.6-1.fc29.x86_64                            5/12 
  Verifying        : librados2-1:12.2.7-1.fc29.x86_64                            6/12 
  Verifying        : systemd-239-1.fc29.x86_64                                   7/12 
  Verifying        : systemd-container-239-1.fc29.x86_64                         8/12 
  Verifying        : systemd-devel-239-1.fc29.x86_64                             9/12 
  Verifying        : systemd-libs-239-1.fc29.x86_64                             10/12 
  Verifying        : systemd-pam-239-1.fc29.x86_64                              11/12 
  Verifying        : systemd-udev-239-1.fc29.x86_64                             12/12 

Downgraded:
  dtv-scan-tables-1-2.20171226git07b18ecef174.fc29.noarch                             
  dtv-scan-tables-legacy-1-2.20171226git07b18ecef174.fc29.noarch                      
  librados2-1:12.2.6-1.fc29.x86_64                                                    

Removed:
  systemd-239-1.fc29.x86_64               systemd-container-239-1.fc29.x86_64        
  systemd-devel-239-1.fc29.x86_64         systemd-libs-239-1.fc29.x86_64             
  systemd-pam-239-1.fc29.x86_64           systemd-udev-239-1.fc29.x86_64             

Complete!
[root@lionors ~]# dnf check-update
Last metadata expiration check: 0:05:53 ago on Mon 06 Aug 2018 20:38:26 BST.
[root@lionors ~]# dnf upgrade
Last metadata expiration check: 0:06:00 ago on Mon 06 Aug 2018 20:38:26 BST.
Dependencies resolved.
Nothing to do.
Complete!
[root@lionors ~]# dnf check
sudo-1.8.23-1.fc29.x86_64 is a duplicate with sudo-1.8.23-3.fc29.x86_64
Error: Check discovered 1 problem(s)


Which I think has to come under the heading weird.


-- 
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/4PZ7B27HVAQ2JB2KDPJXZTOAU7JVQIMH/

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

  Powered by Linux