You are not logged in.

#1 2015-09-04 20:41:58

sergiogiogio
Member
Registered: 2011-07-24
Posts: 8

How to cleanly downgrade Kodi?

Hello

After downgrading kodi from 15.1-1 to 14.1-2 following directions from https://wiki.archlinux.org/index.php/Do … g_packages and using command:

# pacman -U /var/cache/pacman/pkg/kodi-14.1-2-x86_64.pkg.tar.xz

I am unable to start Kodi

/usr/lib/kodi/kodi.bin: error while loading shared libraries: libhogweed.so.2: cannot open shared object file: No such file or directory

I guess that the problem is with the dependencies. I have the below questions:

  • Is there a way to automatically / recursively downgrade all the dependencies?

  • Is there a way to downgrade the dependencies in isolation (chroot?) so that kodi downgrade does not impact other applications?

  • Is there a better way to run older version of kodi?

Thanks in advance for any comment or suggestion!
sergiogiogio

Offline

#2 2015-09-04 21:01:22

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: How to cleanly downgrade Kodi?

I can't find that library using pkgfile at all; perhaps whatever provided it is no longer?

Offline

#3 2015-09-04 21:01:59

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: How to cleanly downgrade Kodi?

sergiogiogio wrote:
  • Is there a better way to run older version of kodi?

You can get the PKGBUILD and related files for an older version from https://projects.archlinux.org/svntogit … kages/kodi. Then try to build that against newer (current) nettle (libhogweed) version. But it may require further tweaking or may not work at all if the dependencies have changed too much.

May I ask why you want an older version?

Offline

#4 2015-09-05 21:46:18

sergiogiogio
Member
Registered: 2011-07-24
Posts: 8

Re: How to cleanly downgrade Kodi?

Thanks a lot! I extracted the PKGBUILD from the svn/git repository and eventually managed to succesfully rebuild kodi 14.1-2 after some minor adjustments
I wanted an older version because version 15 suffers from regular stuttering and 100% CPU spikes when playing certain content (on my system).

My issue is fixed but I would like to understand a little bit better why I could not downgrade kodi more easily. In Windows I probably would only have needed to uninstall the new version and install the older version. What is the fundamental difference between Arch and Windows that explains that I could not do the same in arch? Is it that Windows shared/system libraries are not updated as frequently as arch? Is it that arch removes older versions of the libraries when installing new ones while Windows  keeps them? Is it an issue with kodi - can programs be built in such way that it is always possible to downgrade without recompiling?

Offline

#5 2015-09-08 19:10:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to cleanly downgrade Kodi?

IIRC Windows applications bundle the libraries they need, while on Linux / BSD we're using shared libraries, but static builds are often possible.

Offline

Board footer

Powered by FluxBB