ti., okt. 4 2022 at kl. 17.59 +0000 -0000 skrev Atri Bhattacharya <badshah400@opensuse.org> følgende:
On Tue, 2022-10-04 at 15:33 +0000, Milachew wrote:
Snip. You both are probably missing the fact that there are patterns and then there are packages called patterns-foo. This is where we fail - Documenting how to quickly and easy remove all the patterns (so one does not end up in the recommends pulls in the patterns and packages again). --------------- In a fresh installed gnome-box vm (default install, selecting gnome-desktop in the installer). localhost:~ # zypper search --installed-only --type pattern Building repository 'openSUSE-Tumbleweed-Oss' cache ....................................................................................................[done] Loading repository data... Reading installed packages... S | Name | Summary | Type ---+---------------+-------------------------------------+-------- i+ | apparmor | AppArmor | pattern i+ | base | Base System | pattern i | documentation | Help and Support Documentation | pattern i+ | enhanced_base | Enhanced Base System | pattern i | fonts | Fonts | pattern i+ | gnome | GNOME Desktop Environment (Wayland) | pattern i | gnome_basic | GNOME Desktop Environment (Basic) | pattern i | gnome_x11 | GNOME Desktop Environment (X11) | pattern i | imaging | Graphics | pattern i | minimal_base | Minimal Appliance Base | pattern i | multimedia | Multimedia | pattern i | office | Office Software | pattern i | sw_management | Software Management | pattern i+ | x11 | X Window System | pattern i+ | x11_yast | YaST User Interfaces | pattern i+ | yast2_basis | YaST Base Utilities | pattern i | yast2_desktop | YaST Desktop Utilities | pattern localhost:~ # zypper remove --type pattern apparmor base documentation enhanced_base fonts gnome gnome_basic gnome_x11 imaging minimal_base multimedia office sw_management x11 x11_yast yast2_basis yast2_desktop Reading installed packages... Resolving package dependencies... The following 25 packages are going to be REMOVED: patterns-base-apparmor patterns-base-base patterns-base-basesystem patterns-base-documentation patterns-base-enhanced_base patterns-base-minimal_base patterns-base-sw_management patterns-base-x11 patterns-base-x11_enhanced patterns-desktop-imaging patterns-desktop-multimedia patterns-fonts-fonts patterns-gnome-gnome patterns-gnome-gnome_basic patterns-gnome-gnome_basis patterns-gnome-gnome_basis_opt patterns-gnome-gnome_imaging patterns-gnome-gnome_office patterns-gnome-gnome_utilities patterns-gnome-gnome_x11 patterns-gnome-sw_management_gnome patterns-office-office patterns-yast-x11_yast patterns-yast-yast2_basis patterns-yast-yast2_desktop The following 25 patterns are going to be REMOVED: apparmor base basesystem documentation enhanced_base fonts gnome gnome_basic gnome_basis gnome_basis_opt gnome_imaging gnome_office gnome_utilities gnome_x11 imaging minimal_base multimedia office sw_management sw_management_gnome x11 x11_enhanced x11_yast yast2_basis yast2_desktop 25 packages to remove. After the operation, 1.4 KiB will be freed. Continue? [y/n/v/...? shows all options] (y): ( 1/25) Removing patterns-base-apparmor-20200505-38.1.x86_64 ...........................................................................................[done] ( 2/25) Removing patterns-base-documentation-20200505-38.1.x86_64 ......................................................................................[done] ( 3/25) Removing patterns-base-x11_enhanced-20200505-38.1.x86_64 .......................................................................................[done] ( 4/25) Removing patterns-desktop-imaging-20201106-3.4.x86_64 ..........................................................................................[done] ( 5/25) Removing patterns-desktop-multimedia-20201106-3.4.x86_64 .......................................................................................[done] ( 6/25) Removing patterns-gnome-gnome-20201210-12.2.x86_64 .............................................................................................[done] ( 7/25) Removing patterns-gnome-gnome_basis_opt-20201210-12.2.x86_64 ...................................................................................[done] ( 8/25) Removing patterns-gnome-gnome_imaging-20201210-12.2.x86_64 .....................................................................................[done] ( 9/25) Removing patterns-gnome-gnome_office-20201210-12.2.x86_64 ......................................................................................[done] (10/25) Removing patterns-gnome-gnome_utilities-20201210-12.2.x86_64 ...................................................................................[done] (11/25) Removing patterns-gnome-sw_management_gnome-20201210-12.2.x86_64 ...............................................................................[done] (12/25) Removing patterns-office-office-20170506-3.13.x86_64 ...........................................................................................[done] (13/25) Removing patterns-yast-x11_yast-20220411-1.3.x86_64 ............................................................................................[done] (14/25) Removing patterns-yast-yast2_basis-20220411-1.3.x86_64 .........................................................................................[done] (15/25) Removing patterns-yast-yast2_desktop-20220411-1.3.x86_64 .......................................................................................[done] (16/25) Removing patterns-fonts-fonts-20170319-8.2.x86_64 ..............................................................................................[done] (17/25) Removing patterns-base-enhanced_base-20200505-38.1.x86_64 ......................................................................................[done] (18/25) Removing patterns-gnome-gnome_x11-20201210-12.2.x86_64 .........................................................................................[done] (19/25) Removing patterns-base-sw_management-20200505-38.1.x86_64 ......................................................................................[done] (20/25) Removing patterns-gnome-gnome_basic-20201210-12.2.x86_64 .......................................................................................[done] (21/25) Removing patterns-gnome-gnome_basis-20201210-12.2.x86_64 .......................................................................................[done] (22/25) Removing patterns-base-basesystem-20200505-38.1.x86_64 .........................................................................................[done] (23/25) Removing patterns-base-x11-20200505-38.1.x86_64 ................................................................................................[done] (24/25) Removing patterns-base-base-20200505-38.1.x86_64 ...............................................................................................[done] (25/25) Removing patterns-base-minimal_base-20200505-38.1.x86_64 .......................................................................................[done] localhost:~ # zypper search --installed-only *patterns* Loading repository data... Reading installed packages... S | Name | Summary | Type --+---------------------------------+----------------------------------------+-------- i | libqt5-qtxmlpatterns-imports | QML imports for the XmlPatterns module | package i | patterns-fonts-fonts_opt | Fonts | package i | patterns-gnome-gnome_games | GNOME Games | package i | patterns-gnome-gnome_internet | GNOME Internet | package i | patterns-gnome-gnome_multimedia | GNOME Multimedia | package i | patterns-gnome-gnome_yast | YaST GNOME User Interfaces | package localhost:~ # zypper rm patterns-fonts-fonts_opt patterns-gnome-gnome_games patterns-gnome-gnome_internet patterns-gnome-gnome_multimedia patterns-gnome-gnome_yast Reading installed packages... Resolving package dependencies... The following 5 packages are going to be REMOVED: patterns-fonts-fonts_opt patterns-gnome-gnome_games patterns-gnome-gnome_internet patterns-gnome-gnome_multimedia patterns-gnome-gnome_yast The following 5 patterns are going to be REMOVED: fonts_opt gnome_games gnome_internet gnome_multimedia gnome_yast 5 packages to remove. After the operation, 290.0 B will be freed. Continue? [y/n/v/...? shows all options] (y): (1/5) Removing patterns-fonts-fonts_opt-20170319-8.2.x86_64 ............................................................................................[done] (2/5) Removing patterns-gnome-gnome_games-20201210-12.2.x86_64 .........................................................................................[done] (3/5) Removing patterns-gnome-gnome_internet-20201210-12.2.x86_64 ......................................................................................[done] (4/5) Removing patterns-gnome-gnome_multimedia-20201210-12.2.x86_64 ....................................................................................[done] (5/5) Removing patterns-gnome-gnome_yast-20201210-12.2.x86_64 ..........................................................................................[done] localhost:~ # zypper search --installed-only --details --type pattern Loading repository data... Reading installed packages... No matching items found. localhost:~ # zypper search --installed-only --details pattern Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+------------------------------+---------+-----------------+--------+------------------------ i | libqt5-qtxmlpatterns-imports | package | 5.15.6+kde0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss i | libQt5XmlPatterns5 | package | 5.15.6+kde0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss localhost:~ # zypper install-new-recommends Loading repository data... Reading installed packages... Resolving package dependencies... Nothing to do. -------------- Aka get the msg out that one should remove both "types of" patterns -- and not use zypper remove --clean-deps / zypper rm -u when doing so. After this is done, one can remove what the heart desires, and if one insists on making ones life even harder, one can disable recommended packages in /etc/zypp.conf /Bjørn PS I did notice one regression from the last time I installed fresh - games do not show up in a "app folder". Pretty sure they did in the past, and once I dragged one game onto an other, gnome-shell automagically called the app-folder games, so I suspect there is a bug somewhere there. Fixing that one will make the "overview" look a bit cleaner on a fresh install.