I have noticed that on the Debian 12 the apt command plans to remove packages which I have manually installed using dpkg and which i want to preserve (for example proton-mail and several others):
$ sudo apt-mark showmanual proton-mail*$ apt show proton-mail*(it should be latest version)
sudo apt purge '~o' # should remove obsolete packages per https://www.debian.org/releases/stable/ ... l#obsoleteThis is confusing, so how should I proceed while I want to preserve around 5 packages it wants to remove and purge the rest? "sudo apt autoremove && sudo apt purge && sudo apt autopurge" does not suggest any action. Thank you
$ sudo apt-mark showmanual proton-mail*
Code:
proton-mail
Code:
Package: proton-mailVersion: 1.2.4Status: install ok installedPriority: optionalSection: utilsMaintainer: ProtonInstalled-Size: 265 MBDepends: libgtk-3-0, libnotify4, libnss3, libxtst6, xdg-utils, libatspi2.0-0, libdrm2, libgbm1, libxcb-dri3-0, kde-cli-tools | kde-runtime | trash-cli | libglib2.0-bin | gvfs-bin
sudo apt purge '~o' # should remove obsolete packages per https://www.debian.org/releases/stable/ ... l#obsolete
Code:
...The following packages were automatically installed and are no longer required: gcc-11-base libasan6 libtsan0 libwhisker2-perlUse 'sudo apt autoremove' to remove them.The following additional packages will be installed: default-jdk default-jdk-headless default-jre default-jre-headless openjdk-17-jdk openjdk-17-jdk-headless openjdk-17-jre openjdk-17-jre-headlessSuggested packages: openjdk-17-demo openjdk-17-source fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indicThe following packages will be REMOVED: cpp-10* gcc-10* gcc-10-base* libgcc-10-dev* linux-compiler-gcc-10-x86* midori* netcat* nicotine* nikto* openjdk-11-jdk* openjdk-11-jdk-headless* openjdk-11-jre* openjdk-11-jre-headless* p7zip-rar* proton-mail* proton-pass* protonmail-bridge* spl* unrar* unstoppableswap-gui* xnview*The following NEW packages will be installed: default-jdk default-jdk-headless default-jre default-jre-headless openjdk-17-jdk openjdk-17-jdk-headless openjdk-17-jre openjdk-17-jre-headless0 upgraded, 8 newly installed, 24 to remove and 0 not upgraded.
Statistics: Posted by postcd — 2024-10-12 11:55 — Replies 1 — Views 72