Public bug reported:

OS:
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
running apt update and apt upgrade you get the following:

apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  cloud-guest-utils eatmydata fdisk gdisk gir1.2-packagekitglib-1.0 groff-base 
isc-dhcp-client isc-dhcp-common libappstream4 libdns-export1110 libdw1 
libeatmydata1 libfdisk1 libglib2.0-bin
  libgstreamer1.0-0 libisc-export1105 libpackagekit-glib2-18 libstemmer0d 
libuchardet0 libxmlb2 packagekit packagekit-tools python-babel-localedata 
python3-attr python3-babel python3-certifi
  python3-configobj python3-idna python3-jinja2 python3-json-pointer 
python3-jsonpatch python3-jsonschema python3-markupsafe python3-pyrsistent 
python3-requests python3-serial
  python3-software-properties python3-tz python3-urllib3 
software-properties-common
Use 'apt autoremove' to remove them.
The following packages have been kept back:
  libnetplan0 netplan.io
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

However, on apt autoremove you see this:

apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  cloud-guest-utils eatmydata fdisk gdisk gir1.2-packagekitglib-1.0 groff-base 
isc-dhcp-client isc-dhcp-common libappstream4 libdns-export1110 libdw1 
libeatmydata1 libfdisk1 libglib2.0-bin
  libgstreamer1.0-0 libisc-export1105 libnetplan0 libpackagekit-glib2-18 
libstemmer0d libuchardet0 libxmlb2 netplan.io packagekit packagekit-tools 
python-babel-localedata python3-attr python3-babel
  python3-certifi python3-configobj python3-idna python3-jinja2 
python3-json-pointer python3-jsonpatch python3-jsonschema python3-markupsafe 
python3-netifaces python3-pyrsistent python3-requests
  python3-serial python3-software-properties python3-tz python3-urllib3 
software-properties-common
0 upgraded, 0 newly installed, 43 to remove and 0 not upgraded.
After this operation, 49.7 MB disk space will be freed.
Do you want to continue? [Y/n]

If you press Y neplan is gone, new version isnt installed, and upon reboot you 
end up without network.
Tested on Ub 24 as well - same behaviour.

apt-cache policy netplan.io
netplan.io:
  Installed: 0.106.1-7ubuntu0.22.04.4
  Candidate: 0.107.1-3ubuntu0.22.04.1
  Version table:
     0.107.1-3ubuntu0.22.04.1 500 (phased 0%)
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
 *** 0.106.1-7ubuntu0.22.04.4 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     0.104-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083699

Title:
  netplan.io gets removed on apt autoremove

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2083699/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to