Bug#1050841: [IMPORTANT] Debian images no longer works for GPU driver installation with apt update

2023-08-30 Thread Sean Whitton
control: reassign -1 ftp.debian.org
control: retitle -1 linux-headers-5.10.0-24-cloud-amd64 no longer installable
control: severity -1 wishlist
control: tag -1 + moreinfo

Hello,

This is not a bug in apt.  I'm not sure there's reason to think that
it's a bug at all.  Debian doesn't guarantee that you can upgrade any
other package without also having to upgrade the kernel.

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#1050841: [IMPORTANT] Debian images no longer works for GPU driver installation with apt update

2023-08-29 Thread Wenyan Hu
Package: apt
Version: 2.2.4
Severity: important
File: /usr/bin/apt

Dear Maintainer,

Google's GPU driver installation no longer works for Debian images
since 08/23/2023.

Google is using
https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#installation_scripts
to install GPU drivers on Debian images. It executes scripts as
https://raw.githubusercontent.com/GoogleCloudPlatform/compute-gpu-installation/main/linux/install_gpu_driver.py.

Now for the latest images, if running scripts as below:

```
$ apt-cache search linux-headers | grep -i $(uname -r)
$ apt update
$apt install -y linux-headers-5.10.0-24-cloud-amd64
software-properties-common pciutils gcc make dkms
```
After running `apt update`, we find the package
linux-headers-5.10.0-24-cloud-amd64 no longer exists, which results in
the `apt install linux-headers-5.10.0-24-cloud-amd64` failure.

It seems after the `apt update`, the index somehow no longer points to
linux-headers-5.10.0-23-cloud-amd64 and
linux-headers-5.10.0-24-cloud-amd64.

I know it would work if we (1) not do `apt update`, or (2) install
newer kernel packages.
But for (1), the apt update is required for our other package
installations, (2) the kernel package update needs VM rebooting.

It is now blocking our product functionality because we need the GPU
driver installation without VM rebooting.

Could you please prioritize the issue and provide some tips or support?

I am using projects/debian-cloud/global/images/debian-11-bullseye-v20230814
with Linux instance-2 5.10.0-24-cloud-amd64 #1 SMP Debian 5.10.179-5
(2023-08-08) x86_64 GNU/Linux.

Thanks!