How to make urpmi --auto-update install what is possible?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

How to make urpmi --auto-update install what is possible?

Postby morgano » Jun 17th, '16, 11:57

Sorry if this have been asked before
There are sometimes (When using Cauldron : quite often) a couple updates out of many that temporarily miss dependencies.
That is OK.
But it would be nice if urpmi installed the other updates, the updates that have no conflicts.
Instead, it just exits. Current example:
Code: Select all
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Release")
  akregator                      16.04.1      3.mga6        x86_64 
  akregator-handbook             16.04.1      3.mga6        noarch 
  drakxtools                     17.38        1.mga6        x86_64 
  drakxtools-backend             17.38        1.mga6        x86_64 
  drakxtools-curses              17.38        1.mga6        x86_64 
  harddrake                      17.38        1.mga6        x86_64 
  harddrake-ui                   17.38        1.mga6        x86_64 
  kaddressbook                   16.04.1      3.mga6        x86_64 
  kalarm                         16.04.1      3.mga6        x86_64 
  kalarm-handbook                16.04.1      3.mga6        noarch 
  kdepim                         16.04.1      3.mga6        x86_64 
  kdepim-accountwizard           16.04.1      3.mga6        x86_64 
  kjots                          16.04.1      3.mga6        x86_64 
  kmail                          16.04.1      3.mga6        x86_64 
  kmail-handbook                 16.04.1      3.mga6        noarch 
  knotes                         16.04.1      3.mga6        x86_64 
  knotes-handbook                16.04.1      3.mga6        noarch 
  kontact                        16.04.1      3.mga6        x86_64 
  kontact-handbook               16.04.1      3.mga6        noarch 
  korganizer                     16.04.1      3.mga6        x86_64 
  korganizer-handbook            16.04.1      3.mga6        noarch 
  lib64addressbookprivate5       16.04.1      3.mga6        x86_64 
  lib64akregatorinterfaces5      16.04.1      3.mga6        x86_64 
  lib64akregatorprivate5         16.04.1      3.mga6        x86_64 
  lib64kmailprivate5             16.04.1      3.mga6        x86_64 
  lib64kontactprivate5           16.04.1      3.mga6        x86_64 
  lib64korganizer_core5          16.04.1      3.mga6        x86_64 
  lib64korganizer_interfaces5    16.04.1      3.mga6        x86_64 
  lib64korganizerprivate5        16.04.1      3.mga6        x86_64 
  lib64mad0                      0.15.1b      19.mga6       x86_64 
  lib64upower-gir1.0             0.99.4       2.mga6        x86_64 
  lib64upower-glib3              0.99.4       2.mga6        x86_64 
  messageviewer                  16.04.1      3.mga6        x86_64 
  upower                         0.99.4       2.mga6        x86_64 
8.1KB of additional disk space will be used.
10MB of packages will be retrieved.
Proceed with the installation of the 34 packages? (Y/n) y


installing knotes-handbook-16.04.1-3.mga6.noarch.rpm lib64kontactprivate5-16.04.1-3.mga6.x86_64.rpm knotes-16.04.1-3.mga6.x86_64.rpm kaddressbook-16.04.1-3.mga6.x86_64.rpm kalarm-handbook-16.04.1-3.mga6.noarch.rpm lib64kmailprivate5-16.04.1-3.mga6.x86_64.rpm kalarm-16.04.1-3.mga6.x86_64.rpm lib64addressbookprivate5-16.04.1-3.mga6.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################################################


installing lib64akregatorprivate5-16.04.1-3.mga6.x86_64.rpm kontact-16.04.1-3.mga6.x86_64.rpm lib64korganizer_interfaces5-16.04.1-3.mga6.x86_64.rpm lib64akregatorinterfaces5-16.04.1-3.mga6.x86_64.rpm lib64korganizer_core5-16.04.1-3.mga6.x86_64.rpm akregator-16.04.1-3.mga6.x86_64.rpm kmail-16.04.1-3.mga6.x86_64.rpm messageviewer-16.04.1-3.mga6.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################################################


installing kmail-handbook-16.04.1-3.mga6.noarch.rpm lib64korganizerprivate5-16.04.1-3.mga6.x86_64.rpm kdepim-16.04.1-3.mga6.x86_64.rpm kontact-handbook-16.04.1-3.mga6.noarch.rpm korganizer-16.04.1-3.mga6.x86_64.rpm kjots-16.04.1-3.mga6.x86_64.rpm kdepim-accountwizard-16.04.1-3.mga6.x86_64.rpm korganizer-handbook-16.04.1-3.mga6.noarch.rpm from /var/cache/urpmi/rpms


installing harddrake-ui-17.38-1.mga6.x86_64.rpm drakxtools-backend-17.38-1.mga6.x86_64.rpm lib64upower-glib3-0.99.4-2.mga6.x86_64.rpm drakxtools-curses-17.38-1.mga6.x86_64.rpm lib64upower-gir1.0-0.99.4-2.mga6.x86_64.rpm lib64mad0-0.15.1b-19.mga6.x86_64.rpm drakxtools-17.38-1.mga6.x86_64.rpm akregator-handbook-16.04.1-3.mga6.noarch.rpm upower-0.99.4-2.mga6.x86_64.rpm harddrake-17.38-1.mga6.x86_64.rpm from /var/cache/urpmi/rpms
Installation failed:    file /usr/lib64/qt5/plugins/kontact_knotesplugin.so from install of knotes-2:16.04.1-3.mga6.x86_64 conflicts with file from package kontact-2:16.04.1-2.mga6.x86_64
        file /usr/lib64/qt5/plugins/kontact_knotesplugin.so from install of kontact-2:16.04.1-3.mga6.x86_64 conflicts with file from package knotes-2:16.04.1-2.mga6.x86_64
        kmail >= 2:16.04.1-3.mga6 is needed by kmail-handbook-2:16.04.1-3.mga6.noarch
        kontact >= 2:16.04.1-3.mga6 is needed by kontact-handbook-2:16.04.1-3.mga6.noarch
        akregator >= 2:16.04.1-3.mga6 is needed by akregator-handbook-2:16.04.1-3.mga6.noarch
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1477
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: How to make urpmi --auto-update install what is possible

Postby doktor5000 » Jun 17th, '16, 18:02

Well, you could use --auto and maybe also --keep as that way the package that cannot be updated will be kept.
But I wouldn't advise to use it always/regularly as that way you may miss some updates.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest