Re: dnf group thinks a group is installed but its packages have already been removed
On Wednesday 18 Nov 2015 8:28:18 AM Jan Zelený wrote: > > 1. Why does `dnf group remove lxqt` wants to remove everything on my > > system? Most of it is not explicitely installed by me > > https://paste.fedoraproject.org/291300/ > > That might be the reason. Dnf removes parts of the system that are marked > as "installed only as a dependency" as soon as the packages depending on > them are being removed. If you don't want this behavior, check out the > config option called clean_requirements_on_remove. You can also take a look > at the dnf mark command. > KDE Plasma Desktop and Workstation is both installed. Their deps are also being removed. I installed gnome-shell-extension-gpaste manually and am not sure why it is being removed by removing an unrelated desktop environment. Juk was installed manually. Why is it being removed? > > 2. How can I reinstall lxqt group? > > You first need to uninstall it. Groups are objects independent of the > packages they contain. Check out the dnf group mark command. Thanks. dnf group mark is what I needed. -- Regards, Sudhir Khanger, sudhirkhanger.com. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf group thinks a group is installed but its packages have already been removed
Hey, > 1. Why does `dnf group remove lxqt` wants to remove everything on my system? > Most of it is not explicitely installed by me > https://paste.fedoraproject.org/291300/ That might be the reason. Dnf removes parts of the system that are marked as "installed only as a dependency" as soon as the packages depending on them are being removed. If you don't want this behavior, check out the config option called clean_requirements_on_remove. You can also take a look at the dnf mark command. > 2. How can I reinstall lxqt group? You first need to uninstall it. Groups are objects independent of the packages they contain. Check out the dnf group mark command. > 3. Is it a bug in dnf? Doesn't seem like it. > 4. Is there a reinstall option for group? See my previous comment about dnf group mark remove. HTH Jan -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
dnf group thinks a group is installed but its packages have already been removed
Hi, I had dnf group install lxqt. dnf group remove lxqt wanted to remove pretty much everything on my KDE box. I removed individual packages with lxqt-*. Now I can't install lxqt group because dnf thinks it is already installed although there no lxqt-* packages on my system anymore. I can't remove lxqt and reinstall because it will remove everything else along with it. 1. Why does `dnf group remove lxqt` wants to remove everything on my system? Most of it is not explicitely installed by me https://paste.fedoraproject.org/291300/ 2. How can I reinstall lxqt group? 3. Is it a bug in dnf? 4. Is there a reinstall option for group? $ sudo dnf group list Last metadata expiration check performed 0:53:42 ago on Tue Nov 17 08:06:22 2015. Available environment groups: Minimal Install Fedora Server Fedora Cloud Server KDE Plasma Workspaces Xfce Desktop LXDE Desktop Cinnamon Desktop MATE Desktop Sugar Desktop Environment Development and Creative Workstation Web Server Infrastructure Server Basic Desktop Installed environment groups: Fedora Workstation LXQt Desktop Installed groups: Administration Tools C Development Tools and Libraries LibreOffice $ sudo dnf group install lxqt Last metadata expiration check performed 0:54:20 ago on Tue Nov 17 08:06:22 2015. Group 'LXQt' is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [sudhir@fedora ~]$ rpm -qa | grep lxqt [sudhir@fedora ~]$ Regards, Sudhir Khanger, sudhirkhanger.com. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org