linux-purge assumes current kernel needs to be installed in Docker container
Bug #1949504 reported by
Julio Lajara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-purge |
Fix Released
|
Undecided
|
Jarno Suni |
Bug Description
I am unable to run linux-purge inside a Docker container because it assumes that the currently running kernel should always be installed and properly configured which is not a valid assumption when running Ubuntu inside a Docker containrer. When run in a Docker container, its using the kernel of the host, therefore your host could be Ubuntu 20.04 and the container could be running Ubuntu 16.04. Therefore, trying to use the --fix option is not a valid solution in this case which is what it suggests when exits with an error because 16.04 wont have access to the 20.04 kernel packages in the default upstream repos.
Changed in linux-purge: | |
status: | New → Incomplete |
Changed in linux-purge: | |
status: | Incomplete → Triaged |
Changed in linux-purge: | |
status: | Triaged → In Progress |
Changed in linux-purge: | |
assignee: | nobody → Jarno Suni (jarnos) |
Changed in linux-purge: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The situation occurs when using automation testing around linux-purge using containers, its not something likely to be valid in a case outside of using containers, which is why you have the check there.