Comment 16 for bug 1949504

Revision history for this message
Julio Lajara (ju2wheels) wrote : Re: [Bug 1949504] Re: linux-purge assumes current kernel needs to be installed in Docker container

OK, no problem. Ill find a different way to run the tests outside Docker.

On Tue, Nov 9, 2021 at 4:41 AM Jarno Suni <email address hidden> wrote:
>
> I could change the script to support your use case. However, linux-purge
> was designed to work on Ubuntu system that has specific packages pre-
> installed that do not seem to be installed in the docker images. Those
> include: lsb-release which is needed with --debug and --info; whiptail
> (or preferably dialog) with --choose (and maybe with --fix); wget and
> man-db if you use the provided installation/updating/removing scripts.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1949504
>
> Title:
> linux-purge assumes current kernel needs to be installed in Docker
> container
>
> Status in linux-purge:
> Triaged
>
> 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.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linux-purge/+bug/1949504/+subscriptions
>