Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 153 forks source link

mkvtoolnix looking for previous version boost libraries #776

Closed shawnhicks closed 7 years ago

shawnhicks commented 7 years ago

Package: mkvtoolnix - 12.0.0-1

For existing package:

For new package to be added:

Platform:

qnap ts870 firmware 4.3.3.0299 - Entware-3x 0.98std

shawnhicks commented 7 years ago

mkvtoolnix release 16.0.0 is available, maybe an update is in order?

zyxmon commented 7 years ago

Please do not duplicate issues in Entware-3x and Entware-ng. Opkg is not always clever enough in upgrades. Just remove mkvtoolnix and reinstall it

opkg remove --autoremove mkvtoolnix
opkg install mkvtoolnix

If it does not help, reinstall appropriate boost libs using --force-depends flag.

shawnhicks commented 7 years ago

Is this because even though mkvtoolnix (12.0.0-1) was recompiled for the later boost libraries, the revision wasn't incremented? i.e. -1 to -2

ryzhovau commented 7 years ago

Is this because even though mkvtoolnix (12.0.0-1) was recompiled for the later boost libraries, the revision wasn't incremented? i.e. -1 to -2

Yes. On one hand, revision incremented only if some patches/configuration package changed in LEDE/OpenWrt. On the other hand, opkg is too stupid to track re-linked binaries.

https://github.com/Entware-ng/Entware-ng/wiki#note-about-packages-upgrade

shawnhicks commented 7 years ago

Thanks for the info. I looked at the package indexes and control files. It appears that the currently installed packages status are stored in /opt/lib/opkg/info, control files contain "Installed-Size:" attributes. I'm sure it would be more reliable to store either of the checksum attributes, but why shouldn't opkg compare installed size and version to select upgrades? I'm frustrated that the opkg tool is "not always clever enough" and "too stupid"; this shouldn't be a problem. It especially shouldn't be a problem I've run into more than once. My entware-3x opkg version (-v) is 0.1.8 (4 years old) and opkg list shows 2011-04-08-9c97d5ec-17a, but I found the latest version is 0.3.5 (4 months old). It's possible these issues have been corrected, but I couldn't find anything definitive in the mailing list archive. Is the latest opkg version available for entware-3x?

zyxmon commented 7 years ago

I have already tried the new opkg binary. It is not compatible with the old one and requires a lot of changes inluding buildroot scripts. New opkg is used in openembedded and yoktoproject. There is also opkg fork in lede now. Probably some bugs are fixed there. But it looks like it has the same "stupidness" as the opkg in entware. Probably we will switch to lede version in future.