root@c1:~# apt-get update
...
root@c1:~# apt-get install -Vy liblxc-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libfuse2 (2.9.9-5ubuntu3)
liblxc-common (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1)
liblxc1 (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1)
lxcfs (5.0.0-0ubuntu2)
uidmap (1:4.8.1-2ubuntu2.1)
The following NEW packages will be installed:
libfuse2 (2.9.9-5ubuntu3)
liblxc-common (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1)
liblxc-dev (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1)
liblxc1 (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1)
lxcfs (5.0.0-0ubuntu2)
uidmap (1:4.8.1-2ubuntu2.1)
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 1462 kB of archives.
...
root@c1:~# apt-get update
...
root@c1:~# apt-get install -Vy liblxc-dev
...
The following packages will be upgraded:
liblxc-common (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1 => 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1)
liblxc-dev (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1 => 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1)
liblxc1 (1:5.0.0~git2209-g5a7b9ce67-0ubuntu1 => 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1)
3 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
Need to get 1268 kB of archives.
...
This was verified on Jammy with -proposed (1:5.0. 0~git2209- g5a7b9ce67- 0ubuntu1. 1). Here's how:
$ lxc launch ubuntu-daily:22.04 c1
Creating c1
Starting c1
root@c1:~# apt-get update 0~git2209- g5a7b9ce67- 0ubuntu1) 0~git2209- g5a7b9ce67- 0ubuntu1) 1-2ubuntu2. 1) 0~git2209- g5a7b9ce67- 0ubuntu1) 0~git2209- g5a7b9ce67- 0ubuntu1) 0~git2209- g5a7b9ce67- 0ubuntu1) 1-2ubuntu2. 1)
...
root@c1:~# apt-get install -Vy liblxc-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libfuse2 (2.9.9-5ubuntu3)
liblxc-common (1:5.0.
liblxc1 (1:5.0.
lxcfs (5.0.0-0ubuntu2)
uidmap (1:4.8.
The following NEW packages will be installed:
libfuse2 (2.9.9-5ubuntu3)
liblxc-common (1:5.0.
liblxc-dev (1:5.0.
liblxc1 (1:5.0.
lxcfs (5.0.0-0ubuntu2)
uidmap (1:4.8.
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 1462 kB of archives.
...
root@c1:~# dpkg -l | grep liblxc-dev git2209- g5a7b9ce67- 0ubuntu1 amd64 Linux Containers userspace tools (development) lxc/version. h
ii liblxc-dev 1:5.0.0~
root@c1:~# grep LXC_DEVEL /usr/include/
#define LXC_DEVEL 1
# enable -proposed
root@c1:~# apt-get update 0~git2209- g5a7b9ce67- 0ubuntu1 => 1:5.0.0~ git2209- g5a7b9ce67- 0ubuntu1. 1) 0~git2209- g5a7b9ce67- 0ubuntu1 => 1:5.0.0~ git2209- g5a7b9ce67- 0ubuntu1. 1) 0~git2209- g5a7b9ce67- 0ubuntu1 => 1:5.0.0~ git2209- g5a7b9ce67- 0ubuntu1. 1)
...
root@c1:~# apt-get install -Vy liblxc-dev
...
The following packages will be upgraded:
liblxc-common (1:5.0.
liblxc-dev (1:5.0.
liblxc1 (1:5.0.
3 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
Need to get 1268 kB of archives.
...
root@c1:~# grep LXC_DEVEL /usr/include/ lxc/version. h
#define LXC_DEVEL 0