[Bug 2083699] Re: netplan.io gets removed on apt autoremove

Danilo Egea Gondolfo 2083699 at bugs.launchpad.net
Fri Oct 4 17:13:25 UTC 2024


I believe it's because the package is marked as manually installed now.

Now, I strongly believe that all these problems are happening because at
some point you removed ubuntu-minimal. It's a meta package used to
install a minimal set of utilities required by all Ubuntu installations.
Netplan is part of it.

Try to install ubuntu-minimal, it should resolve the problem.

** Changed in: netplan.io (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/2083699

Title:
  netplan.io gets removed on apt autoremove

Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  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

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




More information about the foundations-bugs mailing list