Alright, thanks for clearing that out! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/2103625
Title: When using wildcard with "apt remove" it uninstalled a bunch of packages that didn't start with my pattern. Status in apt package in Ubuntu: Invalid Bug description: Description of the situation: I am learning to work with Emacs, Doom Emacs to be precise. In my journey I somehow managed to break it, so I tried to uninstall it and install it again. Since Emacs has so many packages, I chose to use a wildcard "*". It ended up uninstalling a bunch of random (to me) packages, including some core ones. What I expected: Remove all the emacs packages. What happaned: When using the command ```sudo apt remove emacs*```, a bunch of packages that don't start with "emacs" have been removed. This temporarily soft-bricked my system. Evidence/logs: - Ubuntu release: ``` Description: Ubuntu 22.04.5 LTS Release: 22.04 ``` - Package version: ``` apt-cache policy apt apt: Installed: 2.4.13 Candidate: 2.4.13 Version table: *** 2.4.13 500 500 http://ro.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 2.4.5 500 500 http://ro.archive.ubuntu.com/ubuntu jammy/main amd64 Packages ``` - Logs from /var/log/apt/history.log ``` apt remove emacs* Requested-By: user (1000) Install: policykit-1-gnome:amd64 (0.105-7ubuntu3, automatic) Remove: mythes-en-us:amd64 (1:7.2.0-2), evolution-data-server:amd64 (3.44.4-0ubuntu1.1), evince:amd64 (42.3-0ubuntu3.1), gnome-user-docs:amd64 (41.5-1ubuntu2), update-manager:amd64 (1:22.04.21), gnome-software:amd64 (41.5-2ubuntu2), gnome-initial-setup:amd64 (42.0.1-1ubuntu2.3), hyphen-en-us:amd64 (2.8.8-7build2), ubuntu-release-upgrader-gtk:amd64 (1:22.04.20), emacs-gtk:amd64 (1:27.1+1-3ubuntu5.2), emacsen-common:amd64 (3.0.4), rhythmbox-plugins:amd64 (3.4.4-5ubuntu1), gir1.2-webkit2-4.0:amd64 (2.46.6-0ubuntu0.22.04.1), libgspell-1-2:amd64 (1.9.1-4), libgoa-backend-1.0-1:amd64 (3.44.0-1ubuntu1), gnome-calendar:amd64 (41.2-3), gnome-shell:amd64 (42.9-0ubuntu2.2), libevview3-3:amd64 (42.3-0ubuntu3.1), gnome-feeds:amd64 (0.16.2+dfsg1-1), gnome-software-plugin-snap:amd64 (41.5-2ubuntu2), protonvpn-gui:amd64 (1.12.0-1), ubuntu-desktop:amd64 (1.481.4), gdm3:amd64 (42.0-1ubuntu7.22.04.4), gnome-shell-extension-desktop-icons-ng:amd64 (43-2ubuntu1), protonvpn:amd64 (1.0.0-3), libedataserve rui-1.2-3:amd64 (3.44.4-0ubuntu1.1), gnome-shell-extension-appindicator:amd64 (42-2~fakesync1), update-notifier:amd64 (3.192.54.8), hunspell-en-us:amd64 (1:2020.12.07-2), wbritish:amd64 (2020.12.07-2), dictionaries-common:amd64 (1.28.14), gnome-online-accounts:amd64 (3.44.0-1ubuntu1), gedit:amd64 (41.0-3), enchant-2:amd64 (2.3.2-1ubuntu2), zenity:amd64 (3.42.1-0ubuntu1), chrome-gnome-shell:amd64 (10.1-5), ubuntu-session:amd64 (42.0-1ubuntu2), gnome-shell-extension-manager:amd64 (0.3.0-0ubuntu2.1), apturl:amd64 (0.5.2ubuntu22), ubuntu-docs:amd64 (22.04.5), mousepad:amd64 (0.5.8-1), emacs-el:amd64 (1:27.1+1-3ubuntu5.2), gnome-shell-extension-ubuntu-dock:amd64 (72~ubuntu5.22.04.3), libyelp0:amd64 (42.1-1), gnome-control-center:amd64 (1:41.7-0ubuntu0.22.04.9), ubuntu-desktop-minimal:amd64 (1.481.4), yelp:amd64 (42.1-1), nautilus-share:amd64 (0.7.3-2ubuntu6), libwebkit2gtk-4.0-37:amd64 (2.46.6-0ubuntu0.22.04.1), gnome-software-plugin-flatpak:amd64 (41.5-2ubuntu2), aspell-en:amd64 (2018.0 4.16-0-1), libenchant-2-2:amd64 (2.3.2-1ubuntu2), intune-portal:amd64 (1.2405.17-jammy), emacs-common:amd64 (1:27.1+1-3ubuntu5.2), shotwell:amd64 (0.30.14-1ubuntu6), gnome-todo:amd64 (3.28.1-6ubuntu1), emacs-bin-common:amd64 (1:27.1+1-3ubuntu5.2), aspell:amd64 (0.60.8-4build1) End-Date: 2025-03-19 13:09:03 ``` I can provide more information if needed, maybe the behavior was intended. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: apt 2.4.13 ProcVersionSignature: Ubuntu 6.8.0-52.53~22.04.1-generic 6.8.12 Uname: Linux 6.8.0-52-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: GNOME Date: Wed Mar 19 16:20:53 2025 InstallationDate: Installed on 2023-07-17 (611 days ago) InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2103625/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp