Recently, I switched my container's Dockerfile from manual installation to the package manager installation as suggested [1]. However, after doing so, I noticed that packages of new J-Link software pack versions cannot be installed successfully. It works for me up to version 7.82a and stops working from version 7.82b with this error message:
Display All
Searching the net, it looks like I'm not the only one experiencing this issue [2]. However, I do not want to follow the advice to "simply don't execute the post inst actions". [3]
Could you please make the Linux package install scripts WSL2 and Docker compatible?
Thanks.
[1] [SOLVED] "No debuggers were discovered" error coming while flashing using nrfjprog util
[2] stackoverflow.com/questions/75…comment133382729_75602427
[3] forums.docker.com/t/udevadm-monitor-in-docker-file/125723/2
Source Code
- > [4/8] RUN apt-get update -y && apt-get install -y --no-install-recommends [...] /tmp/JLink_Linux_V786b_x86_64.deb [...]
- [...]
- #7 142.7 Setting up jlink (7.862) ...
- #7 142.7 Updating udev rules via udevadm...
- #7 142.7 Failed to reload udevadm rules, retrying...
- #7 142.7 /var/lib/dpkg/info/jlink.postinst: 18: udevadm: not found
- #7 142.7 Error: Failed to update udevadm rules.
- #7 142.7 dpkg: error processing package jlink (--configure):
- #7 142.7 installed jlink package post-installation script subprocess returned error exit status 1
- [...]
- #7 144.6 Errors were encountered while processing:
- #7 144.6 jlink
- #7 144.7 E: Sub-process /usr/bin/dpkg returned an error code (1)
- ------
- executor failed running [/bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends [...]]: exit code: 100
Searching the net, it looks like I'm not the only one experiencing this issue [2]. However, I do not want to follow the advice to "simply don't execute the post inst actions". [3]
Could you please make the Linux package install scripts WSL2 and Docker compatible?
Thanks.
[1] [SOLVED] "No debuggers were discovered" error coming while flashing using nrfjprog util
[2] stackoverflow.com/questions/75…comment133382729_75602427
[3] forums.docker.com/t/udevadm-monitor-in-docker-file/125723/2
The post was edited 1 time, last by mrf ().