#324 mediatomb fails after updates

closed
nobody
None
2014-06-25
2014-06-24
vince-br549
No
  1. Installed latest firmware update.
    dns323 rev A1.

  2. start mediattomb : gets error

route: SIOCADDRT: File exists
Starting mediatomb: mediatomb: can't load library 'libsqlite3.so.0'
Fail.

Expect it to start :)
Well at least ushare works.

running Fedora 19 with firefox here.

1 Attachments

Discussion

  • João Cardoso
    João Cardoso
    2014-06-24

    have you updated the minidlna/mediatomb package? All packages with a webUI interface should be updated.

     
    • vince-br549
      vince-br549
      2014-06-25

      Yes, I applied all updates.

       
  • vince-br549
    vince-br549
    2014-06-25

    mediatomb is at 0.12.1-3
    sqlite and sqlite-libs at 3080200

     
  • João Cardoso
    João Cardoso
    2014-06-25

    Probably the libraries were in use at the moment of the upgrade. UpdateAll does not fully covers that case.

    For diagnostics, do first, after ssh/telnet the box and login as the 'root' user, same password as the webUI:


    ls -l /usr/lib/libjpeg.so*
    ls -l /usr/lib/libsqlite3.so*

    Then, to fix,


    ipkg -force-reinstall install jpeg-libs
    ipkg -force-reinstall install sqlite-libs

    And repeat the above 'ls' commands. The missing files should now appear.

    This should fix both this and your other report regarding minidlna. Fixed?

    Thanks

     
  • vince-br549
    vince-br549
    2014-06-25

    ls -l /usr/lib/libjpeg.so*

    ls: /usr/lib/libjpeg.so*: No such file or directory

    ls -l /usr/lib/libsqlite3.so*

    ls: /usr/lib/libsqlite3.so*: No such file or directory

    ipkg -force-reinstall install jpeg-libs

    Reinstalling jpeg-libs (8c-3) on /Alt-F...
    Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/jpeg-libs_8c-3_arm.ipk
    Configuring jpeg-libs
    Successfully terminated.

    ipkg -force-reinstall install sqlite-libs

    Reinstalling sqlite-libs (3080200) on /Alt-F...
    Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/sqlite-libs_3080200_arm.ipk
    Configuring sqlite-libs
    Successfully terminated.

    ls -l /usr/lib/libjpeg.so*
    lrwxrwxrwx 1 root root 16 Jun 25 12:59 /usr/lib/libjpeg.so -> libjpeg.so.8.3.0
    lrwxrwxrwx 1 root root 16 Jun 25 12:59 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.3.0
    -rwxr-xr-x 1 root root 223776 Jun 24 09:27 /usr/lib/libjpeg.so.8.3.0

    ls -l /usr/lib/libsqlite3.so*

    lrwxrwxrwx 1 root root 19 Jun 25 12:59 /usr/lib/libsqlite3.so -> libsqlite3.so.0.8.6
    lrwxrwxrwx 1 root root 19 Jun 25 12:59 /usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6
    -rwxr-xr-x 1 root root 657140 Jun 24 09:27 /usr/lib/libsqlite3.so.0.8.6

    I also had issues with FLAC-libs fixed same way.
    Yea, it works now.
    Sounds like a close is in order. Thanks much.
    I use the mediatoomb every weekday.

     
  • João Cardoso
    João Cardoso
    2014-06-25

    • status: open --> closed
     
  • João Cardoso
    João Cardoso
    2014-06-25

    This seems to be a bug in the Alt-F package manager (or in ipkg itself).

    When updating packages with libraries, if the library is in use by some program the update/upgrade might fail without notice.

    The fast cure is to always stop all services before updating or upgrading packages.