ubuntu-wsl=1.478 pulls in unnecessary packages for WSL 1
iBug
i at ibugone.com
Thu Mar 17 14:40:03 UTC 2022
Hello all,
When following routine updates for my WSL1, which has already been upgraded
to Jammy, I noticed a bunch of unwanted packages:
# apt upgrade --no-install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
apport byobu dbus gettext-base gir1.2-glib-2.0 gir1.2-packagekitglib-1.0
iproute2 libappstream4 libargon2-1 libbpf0 libcryptsetup12
libdevmapper1.02.1 libgirepository-1.0-1 libglib2.0-bin libgstreamer1.0-0
libip4tc2 libkmod2 libmnl0 libnewt0.52
libpackagekit-glib2-18 libpam-systemd libpolkit-agent-1-0
libpolkit-gobject-1-0 libstemmer0d libxmlb2 libxtables12 packagekit pkexec
policykit-1 polkitd python3-apport python3-blinker python3-cffi-backend
python3-cryptography python3-distro python3-gi
python3-httplib2 python3-importlib-metadata python3-jeepney python3-jwt
python3-keyring python3-launchpadlib python3-lazr.restfulclient
python3-lazr.uri python3-more-itertools python3-newt python3-oauthlib
python3-problem-report python3-pyparsing
python3-secretstorage python3-six python3-software-properties
python3-wadllib python3-zipp screen software-properties-common systemd
systemd-sysv
The following packages will be upgraded:
ubuntu-wsl
1 upgraded, 58 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.4 MB of archives.
After this operation, 43.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Clearly something's going wrong with the pending version for ubuntu-wsl:
# apt show ubuntu-wsl=1.478
...
Depends: apport, binutils, byobu, curl, dirmngr, git, gnupg, htop, patch,
screen, software-properties-common, tmux, vim, wsl-setup
...
# apt show ubuntu-wsl=1.477
...
Depends: gnupg, wsl-setup
Recommends: dbus-x11, show-motd
...
The offending dependency chain is:
ubuntu-wsl=1.478 -> software-properties-common -> packagekit -> policykit-1
-> polkitd -> default-logind|logind (selected libpam-systemd) -> everything
else
I've put ubuntu-wsl on hold on my WSL1 installation. Hopefully someone will
find a way to sort things out and keep systemd and dbus out of WSL1, where
they're not designed to work.
Best regards,
iBug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20220317/3da14b62/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list