Re: Cannot dnf group remove "Cinnamon Desktop"
10.05.2017 20:02 Jorge Gallegos wrote: > > > On Tue, May 09, 2017 at 12:09:48PM +0200, Rafal Luzynski wrote: > [...] > > 2. I guess that dnf history undo would do the job. > > Hrm, I haven't looked at dnf history, fwiw this is the rough timeline of > events: > > 1. install fedora 23 workstation (comes with gnome) > 2. dnf group install "Cinnamon Desktop" > 3. live with it for a year or so > 4. fedora-upgrade to fedora 24, then to 25 > 5. found the alleged bug It looks too tricky. I thought you installed Cinnamon Desktop only recently, played with it for few hours and now decided to uninstall. With hundreds of upgrades, packages obsoleted and replaced, possibly with many installs/removals during the lifetime of the system it may not be worth the effort to try to uninstall Cinnamon as a group. Simply it may be easier to install a new system from scratch. If you want to continue your efforts my suggestion is to try to figure out how the dependency chain looks like (which packages make systemd and dnf require Cinnamon) find the best place to break it and remove some packages forcefully with "rpm -e --nodeps", then try to dnf group remove "Cinnamon Desktop" (hopefully will work because you have forcefully broken the dependency chain), then as soon as you uninstall Cinnamon make sure you install any other desktop, like GNOME or whatever you prefer. It should pull all requirements including those you have forcefully removed. Your system will become unstable during that process, your graphics subsystem may crash and may be unable to boot so better work on a text console and better do not reboot until you will have finished. I'm not sure it will work, I never tried this. I tried performing similar crazy tasks and usually it took several days sometimes with success and sometimes without, always with a conclusion it would be better to install a new system from scratch. Again, think if it's worth the effort. Best regards, Rafal ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Cannot dnf group remove "Cinnamon Desktop"
On Wed, May 10, 2017 at 2:09 PM, Jorge Gallegos wrote: > On Mon, May 08, 2017 at 12:02:40PM -0400, Dan Book wrote: > > On Mon, May 8, 2017 at 10:40 AM, Jorge Gallegos wrote: > > > > Hi, > > > > I found out the Cinnamon Desktop group is behaving like Hotel > > California. I had ``dnf group install "Cinnamon Desktop"`` some time > in > > the past, and was trying to cleanup now after finishing fiddling with > > it. It turns out that Cinnamon Desktop's dependencies somehow bind to > > protected dependencies, i.e. > > > > ``` > > [root@ragnia ~]# dnf group remove "Cinnamon Desktop" > > Last metadata expiration check: 2:18:50 ago on Mon May 8 07:18:18 > 2017. > > Dependencies resolved. > > Error: The operation would result in removing the following > protected packages: dnf, systemd, systemd-udev. > > ``` > > > > Is this intended? A cursory search in bugz turns out no real results, > > but wanted to make sure if maybe I am missing something here, if not > I > > will be opening a new bug. > > > > > > Try setting clean_requirements_on_remove=False in /etc/dnf/dnf.conf. > See http://dnf.readthedocs.io/en/latest/ > > conf_ref.html#main-options > > This appears to have no effect on dnf group operations? > > ``` > [root@ragnia ~]# dnf --setopt "clean_requirements_on_remove=False" group > remove "Cinnamon Desktop" > Last metadata expiration check: 2:25:11 ago on Wed May 10 10:42:51 2017. > Dependencies resolved. > Error: The operation would result in removing the following protected > packages: dnf, systemd-udev, systemd. > ``` > > I tried editing /etc/dnf/dnf.conf as well with the same results Try `dnf group remove cinnamon-desktop` or Cinnamon -- "Cinnamon Desktop" may be trying to remove the environment group cinnamon-desktop-environment which includes the whole base system. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Cannot dnf group remove "Cinnamon Desktop"
On Mon, May 08, 2017 at 12:02:40PM -0400, Dan Book wrote: > On Mon, May 8, 2017 at 10:40 AM, Jorge Gallegos wrote: > > Hi, > > I found out the Cinnamon Desktop group is behaving like Hotel > California. I had ``dnf group install "Cinnamon Desktop"`` some time in > the past, and was trying to cleanup now after finishing fiddling with > it. It turns out that Cinnamon Desktop's dependencies somehow bind to > protected dependencies, i.e. > > ``` > [root@ragnia ~]# dnf group remove "Cinnamon Desktop" > Last metadata expiration check: 2:18:50 ago on Mon May 8 07:18:18 2017. > Dependencies resolved. > Error: The operation would result in removing the following protected > packages: dnf, systemd, systemd-udev. > ``` > > Is this intended? A cursory search in bugz turns out no real results, > but wanted to make sure if maybe I am missing something here, if not I > will be opening a new bug. > > > Try setting clean_requirements_on_remove=False in /etc/dnf/dnf.conf. See > http://dnf.readthedocs.io/en/latest/ > conf_ref.html#main-options This appears to have no effect on dnf group operations? ``` [root@ragnia ~]# dnf --setopt "clean_requirements_on_remove=False" group remove "Cinnamon Desktop" Last metadata expiration check: 2:25:11 ago on Wed May 10 10:42:51 2017. Dependencies resolved. Error: The operation would result in removing the following protected packages: dnf, systemd-udev, systemd. ``` I tried editing /etc/dnf/dnf.conf as well with the same results > > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org -- ~kad signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Cannot dnf group remove "Cinnamon Desktop"
On Tue, May 09, 2017 at 12:09:48PM +0200, Rafal Luzynski wrote: > Hi, > > 8.05.2017 16:40 Jorge Gallegos wrote: > > [...] > > [root@ragnia ~]# dnf group remove "Cinnamon Desktop" > > Last metadata expiration check: 2:18:50 ago on Mon May 8 07:18:18 2017. > > Dependencies resolved. > > Error: The operation would result in removing the following protected > > packages: dnf, systemd, systemd-udev. > > 1. Have you fixed your problem already? I have not, but since it's not my main workstation I can live with that for now > 2. I guess that dnf history undo would do the job. Hrm, I haven't looked at dnf history, fwiw this is the rough timeline of events: 1. install fedora 23 workstation (comes with gnome) 2. dnf group install "Cinnamon Desktop" 3. live with it for a year or so 4. fedora-upgrade to fedora 24, then to 25 5. found the alleged bug As you can see, the "original" DE was gnome, unsure how Cinnamon packages are taking over dependencies, I am going to test Dan's approach and not uninstall dependencies (only components of the group) > 3. What is your Fedora version (or what is your distro if it is > not Fedora) and what desktop environment did you have installed > before installing Cinnamon Desktop? My guess is that Cinnamon > replaced (uninstalled) some components of your previous desktop > which are required by whole OS. So now when you uninstall Cinnamon > you also uninstall those obligatory components. Instead (or rather > before) uninstalling them you'd have to reinstall your previous > desktop. But that's my guess only. > > It may be a bug or it may not be a bug. We will not know without > trying to reproduce. Or it may be a bug but not worth fixing because > probably a workaround exists and probably switching desktops is > considered too advanced to be worth making easier. > > Regards, > > Rafal -- ~kad signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Cannot dnf group remove "Cinnamon Desktop"
Hi, 8.05.2017 16:40 Jorge Gallegos wrote: > [...] > [root@ragnia ~]# dnf group remove "Cinnamon Desktop" > Last metadata expiration check: 2:18:50 ago on Mon May 8 07:18:18 2017. > Dependencies resolved. > Error: The operation would result in removing the following protected > packages: dnf, systemd, systemd-udev. 1. Have you fixed your problem already? 2. I guess that dnf history undo would do the job. 3. What is your Fedora version (or what is your distro if it is not Fedora) and what desktop environment did you have installed before installing Cinnamon Desktop? My guess is that Cinnamon replaced (uninstalled) some components of your previous desktop which are required by whole OS. So now when you uninstall Cinnamon you also uninstall those obligatory components. Instead (or rather before) uninstalling them you'd have to reinstall your previous desktop. But that's my guess only. It may be a bug or it may not be a bug. We will not know without trying to reproduce. Or it may be a bug but not worth fixing because probably a workaround exists and probably switching desktops is considered too advanced to be worth making easier. Regards, Rafal ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Cannot dnf group remove "Cinnamon Desktop"
On Mon, May 8, 2017 at 10:40 AM, Jorge Gallegos wrote: > Hi, > > I found out the Cinnamon Desktop group is behaving like Hotel > California. I had ``dnf group install "Cinnamon Desktop"`` some time in > the past, and was trying to cleanup now after finishing fiddling with > it. It turns out that Cinnamon Desktop's dependencies somehow bind to > protected dependencies, i.e. > > ``` > [root@ragnia ~]# dnf group remove "Cinnamon Desktop" > Last metadata expiration check: 2:18:50 ago on Mon May 8 07:18:18 2017. > Dependencies resolved. > Error: The operation would result in removing the following protected > packages: dnf, systemd, systemd-udev. > ``` > > Is this intended? A cursory search in bugz turns out no real results, > but wanted to make sure if maybe I am missing something here, if not I > will be opening a new bug. Try setting clean_requirements_on_remove=False in /etc/dnf/dnf.conf. See http://dnf.readthedocs.io/en/latest/conf_ref.html#main-options ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org