Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
faq:cannot_satisfy_dependencies [2020/10/10 00:02] – [Cannot satisfy dependencies] duplicate links vgaeterafaq:cannot_satisfy_dependencies [2021/08/26 15:29] – [I'm using a snapshot image] Link to retention period added tmomas
Line 1: Line 1:
-====== Cannot satisfy dependencies ======+====== Cannot satisfy dependencies / kernel is not compatible ======
  
-You will get the message //"Cannot satisfy the following dependencies for..."//+You will get the message //"Cannot satisfy the following dependencies for..."// or //"The installed version of package kernel is not compatible, require..."//
   - if the kernel version installed on your device does not match the kernel version required by the package you want to install. This happens very easily when you are using a **[[releases:snapshot|snapshot]]** image or a self-compiled image.   - if the kernel version installed on your device does not match the kernel version required by the package you want to install. This happens very easily when you are using a **[[releases:snapshot|snapshot]]** image or a self-compiled image.
   - if you are using a snapshot image, and the snapshot packages are missing in current builds.   - if you are using a snapshot image, and the snapshot packages are missing in current builds.
Line 10: Line 10:
  
   * **Solution #1:** Install all needed packages **directly after installing the snapshot image**, not on the next day.   * **Solution #1:** Install all needed packages **directly after installing the snapshot image**, not on the next day.
-  * **Solution #2:** Try to install via opkg with option ''[[docs:guide-user:additional-software:opkg#options|--force-depends]]'' (=Install/remove despite failed dependencies). **Mind that this is likely to fail for kernel related packages (kmods).**+  * **Solution #2:** Try to install via opkg with option ''[[docs:guide-user:additional-software:opkg#options|--force-depends]]'' (=Install/remove despite failed dependencies). **Mind that this is likely to fail for kernel related packages (kmods).** Note that failing/incompatible kernel modules may cause the device to crash or not to reboot properly.
   * **Solution #3:** Make local copy of snapshot packages (not recommended, needs much space!)   * **Solution #3:** Make local copy of snapshot packages (not recommended, needs much space!)
-  * **Solution #4:** [[https://forum.openwrt.org/t/persistent-kmods-for-snapshots/14505?u=tmomas|Use persistent kmods for snapshots]]: +  * **Solution #4:** [[https://forum.openwrt.org/t/persistent-kmods-for-snapshots/14505?u=tmomas|Use persistent kmods for snapshots]]:\\ <code bash>
- +
-<code bash>+
 # Enable kmods repository # Enable kmods repository
 . /etc/openwrt_release . /etc/openwrt_release
Line 23: Line 21:
 EOF EOF
 </code> </code>
 +
 +**Note:** [[releases/snapshot#expected_availability_of_master_snapshot_packages|Current snapshot package retention duration]] is approx 3 months so if your install is older than this it is likely the kmods will no longer exist and you will need to re-install.
  
 **As general advice, especially for inexperienced users:** Go for the latest [[:releases:|stable release]] (if available for your device), not a snapshot version, then the package repositories will match and packages will be available. **As general advice, especially for inexperienced users:** Go for the latest [[:releases:|stable release]] (if available for your device), not a snapshot version, then the package repositories will match and packages will be available.
  • Last modified: 2023/04/02 23:53
  • by vgaetera