Bug 1420364 - Removing x2go also removes the SSH server, sudo and vim
Summary: Removing x2go also removes the SSH server, sudo and vim
Alias: None
Product: Fedora
Classification: Fedora
Component: x2goserver
Version: 25
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2017-02-08 14:21 UTC by Paulo Fidalgo
Modified: 2017-02-08 16:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-02-08 16:01:30 UTC
Type: Bug

Attachments (Terms of Use)

Description Paulo Fidalgo 2017-02-08 14:21:59 UTC
When I run: "dnf remove x2go*" it removes some system packages.

 Package                                 Arch                          Version                                   Repository                            Size
 libNX_X11                               x86_64                                         @@commandline                        1.1 M
 libNX_Xcomposite                        x86_64                                         @@commandline                         11 k
 libNX_Xdamage                           x86_64                                         @@commandline                         11 k
 libNX_Xdmcp                             x86_64                                         @@commandline                         23 k
 libNX_Xext                              x86_64                                         @@commandline                         72 k
 libNX_Xfixes                            x86_64                                         @@commandline                         23 k
 libNX_Xinerama                          x86_64                                         @@commandline                         11 k
 libNX_Xpm                               x86_64                                         @@commandline                         71 k
 libNX_Xrandr                            x86_64                                         @@commandline                         15 k
 libNX_Xrender                           x86_64                                         @@commandline                         43 k
 libNX_Xtst                              x86_64                                         @@commandline                         27 k
 libXcomp                                x86_64                                         @@commandline                        988 k
 libXcompext                             x86_64                                         @@commandline                         82 k
 libXcompshad                            x86_64                                         @@commandline                         75 k
 nx-libs                                 x86_64                                         @@commandline                         30 k
 nxagent                                 x86_64                                         @@commandline                        4.6 M
 openssh-server                          x86_64                        7.4p1-2.fc25                              @updates                             960 k
 perl-DBD-SQLite                         x86_64                        1.50-4.fc25                               @@commandline                        454 k
 sudo                                    x86_64                        1.8.18p1-1.fc25                           @@commandline                        2.5 M
 vim-minimal                             x86_64                        2:8.0.238-1.fc25                          @updates                             1.0 M
 x2goagent                               x86_64                                         @@commandline                         37 k
 x2goserver                              x86_64                                         @updates                             309 k

Transaction Summary
Remove  22 Packages

I suspect this is due bad rpm specs, but I'm not sure.
Also the system is updated:
"Last metadata expiration check: 0:56:54 ago on Wed Feb  8 13:24:25 2017."

Comment 1 Orion Poplawski 2017-02-08 16:01:30 UTC
This is due to dnf's "clean_requirements_on_remove=true" default setting in /etc/dnf/dnf.conf.

Because x2go requires those packages but they were not marked as being explicitly desired, they are removed along with x2go.  You're options are:

- mark the items you wish to keep, e.g.:

dnf mark install openssh-server sudo vim-minimal

- change the option above to false.

Comment 2 Paulo Fidalgo 2017-02-08 16:56:00 UTC
Thanks for the clarification Orion!

Note You need to log in before you can comment on or make changes to this bug.