Some problems with opkg

1. The difference between IPK installation packages with the same name cannot be recognized: After installing the new system, use the official source to update the system once. Due to the speed problem, switch to the Alibaba Cloud mirror source, and it appears during the process of updating px5g-wolfssl - 3. question

opkg list-upgradable

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libwolfssl5.1.1.99a5b54a for px5g-wolfssl
 * pkg_hash_fetch_best_installation_candidate: Packages for px5g-wolfssl found, but incompatible with the architectures configured

wpad-basic-wolfssl - 2020-06-08-5a8b3662-40

In the end, it was found that the installation packages of px5g-wolfssl - 3 from the two sources have the same version and the same registration, but the versions of libwolfssl they depend on are completely different.

  1. IPK installation package version rollback: Recently, the curl version was updated to 7.83.1-1.1 through opkg, and it was found that the new version did not support https. At this time, it was impossible to roll back the previous version through opkg, because the official source has not been uploaded. The source of a curl version. Can the official improve this problem? Can the previous version of each ipk be kept in the source every time the ipk is updated?

Can you provide the link of the "Alibaba Cloud mirror source"?

  1. It is not always easy to understand the package version using different sources, but the problem here is that the package name/version, etc. are the same, and it is difficult to directly determine where the problem is. The problem should be that the packages of the two sources are compiled at the time The source code in the interval has been modified, causing problems, but opkg cannot identify it.

  2. At that time, the sources of openwrt and Alibaba Cloud were synchronized and I had installed both. The problem existed, and the two sources did not have the installation files of the previous version. The problem that curl does not support https may have been officially fixed now, I The question to be said is whether opkg can have a rollback mechanism, which can ensure that users can roll back to the previous version when similar problems occur.

Alibaba Cloud mirror source:

1 Like