Igor,
Thanks for the update. I see the version at
packages.cloud.google.com in the bionic repository is still 5.5.2-1002.bionic. Do you know (or know the right folks to ask) if that will get updated any time soon? I ask because simply updating the repo file in apt.sources.d to point at the focal repository does not work given the vocal binary relies on libc6 >= 2.29 while 18.04 provides version 2.27-3ubuntu1.4 of libc6.
For reference, here's output from an 18.04 box this morning.
[~] constructicon-1804> sudo apt search stackdriver-agent
Sorting... Done
Full Text Search... Done
stackdriver-agent/google-cloud-monitoring-bionic,now 5.5.2-1002.bionic amd64 [installed]
Stackdriver system metrics collection daemon
[~] constructicon-1804> sudo apt update -y
[...REPO LIST DELETED FOR BREVITY...]
Fetched 6966 kB in 2s (4464 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
[~] [12:38:36] constructicon-1804> more /etc/apt/sources.list.d/packages_cloud_google_com_apt.list
deb
http://packages.cloud.google.com/apt google-cloud-monitoring-bionic main
[~] [12:38:42] constructicon-1804> sudo apt search stackdriver-agent
Sorting... Done
Full Text Search... Done
stackdriver-agent/google-cloud-monitoring-bionic,now 5.5.2-1002.bionic amd64 [installed]
Stackdriver system metrics collection daemon
[~] constructicon-1804> sudo vi /etc/apt/sources.list.d/packages_cloud_google_com_apt.list
[~] constructicon-1804> more /etc/apt/sources.list.d/packages_cloud_google_com_apt.list
deb
http://packages.cloud.google.com/apt google-cloud-monitoring-focal main
[~] constructicon-1804> sudo apt update -y && sudo apt search stackdriver-agent && sudo apt install stackdriver-agent
[...REPO LIST ELIDED AGAIN...]
Reading package lists... Done
Building dependency tree
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Sorting... Done
Full Text Search... Done
stackdriver-agent/google-cloud-monitoring-focal 6.1.0-1.focal amd64 [upgradable from: 5.5.2-1002.bionic]
Stackdriver system metrics collection daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
stackdriver-agent : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
E: Unable to correct problems, you have held broken packages.
[~] constructicon-1804>