Bug 1402023 - while upgrading: /bin/sh: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Summary: while upgrading: /bin/sh: error while loading shared libraries: libtinfo.so.6...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 24
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-06 15:19 UTC by customercare
Modified: 2016-12-06 15:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-06 15:29:35 UTC
Type: Bug


Attachments (Terms of Use)

Description customercare 2016-12-06 15:19:37 UTC
Description of problem:

while upgrading from FC23 to FC24 via DNF distor-sync, i got this error message from the glibc package:

...
  Aktualisieren    : nss-softokn-freebl-3.27.0-1.0.fc24.i686 47/2250 
  Aktualisieren    : bash-4.3.42-7.fc24.i686                 48/2250 
  Aktualisieren    : glibc-common-2.23.1-11.fc24.i686        49/2250 
  Installieren     : glibc-all-langpacks-2.23.1-11.fc24.i686 50/2250 
  Aktualisieren    : glibc-2.23.1-11.fc24.i686               51/2250 
/bin/sh: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Warnung: %triggerin(cronie-1.5.0-3.fc23.i686) Scriptlet fehlgeschlagen, Beenden-Status 127
Non-fatal <unknown> scriptlet failure in rpm package glibc
Non-fatal <unknown> scriptlet failure in rpm package glibc
  Aktualisieren    : libstdc++-6.2.1-2.fc24.i686             52/2250 
  Aktualisieren    : ncurses-libs-6.0-6.20160709.fc24.i686   53/2250 
...

Comment 1 Florian Weimer 2016-12-06 15:29:35 UTC
bash-4.3.42-7.fc24.i686 depends on the new version of ncurses-libs-6.0-6.20160709.fc24.i686, but bash is installed first.  This breaks scriptlet execution with bash.  I'm pretty sure there is a dependency cycle here (as far as RPM and its scriptlet execution engine is concerned), and DNF just broke it in a particularly visible way.

We can't get rid of such dependency cycles unless RPM implements delayed script execution.  With delayed script execution, scriptlets will only run after the dependencies have at least been unpacked.


Note You need to log in before you can comment on or make changes to this bug.