sir
i have install centos 7.5 & update .It is running fine but i cannot install xrdp service due to below error
--> Package xrdp-selinux.x86_64 1:0.9.11-1.el7 will be installed
--> Processing Dependency: selinux-policy >= 3.13.1-252.el7.1 for package: 1:xrdp-selinux-0.9.11-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:xrdp-selinux-0.9.11-1.el7.x86_64 (epel)
Requires: selinux-policy >= 3.13.1-252.el7.1
Installed: selinux-policy-3.13.1-229.el7_6.15.noarch (@updates)
selinux-policy = 3.13.1-229.el7_6.15
Available: selinux-policy-3.13.1-229.el7.noarch (base)
selinux-policy = 3.13.1-229.el7
Available: selinux-policy-3.13.1-229.el7_6.5.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.5
Available: selinux-policy-3.13.1-229.el7_6.6.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.6
Available: selinux-policy-3.13.1-229.el7_6.9.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.9
Available: selinux-policy-3.13.1-229.el7_6.12.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.12
Error: Package: xorgxrdp-0.2.11-1.el7.x86_64 (epel)
Requires: xorg-x11-server-Xorg(x86-64) = 1.20.4
Installed: xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 (@updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.6.el7_6
Available: xorg-x11-server-Xorg-1.20.1-3.el7.x86_64 (base)
xorg-x11-server-Xorg(x86-64) = 1.20.1-3.el7
Available: xorg-x11-server-Xorg-1.20.1-5.el7.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.el7
Available: xorg-x11-server-Xorg-1.20.1-5.1.el7.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.1.el7
Available: xorg-x11-server-Xorg-1.20.1-5.2.el7_6.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.2.el7_6
Available: xorg-x11-server-Xorg-1.20.1-5.3.el7_6.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.3.el7_6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
...................................................
In my server
# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
&&&
#uname -r
3.10.0-957.27.2.el7.x86_64
plz any help to install xrdp service ..thanks in advance
xrdp not installed
-
- Posts: 1
- Joined: 2019/09/15 14:52:46
Re: xrdp not installed
You'll need to manually update your selinux and xorg RPM's. I couldn't find a way to get yum to pick the required RPM versions automatically from the available repos. I downloaded the necessary RPM's and there dependencies from here: http://mirror.centos.org/centos/7/cr/x86_64/Packages/
You'll need the following RPM's:
Selinux is a little more complicated as you'll need to remove ('rpm -e') the old 'selinux-policy-targeted' RPM before installing the new one. Once that's removed simply install ('rpm -ivh') the new 'selinux-policy-targeted' RPM and then you should be able to upgrade the 'selinux-policy' RPM as you did with the two xorg-x11 RPM's.
Once completed run 'sudo yum install xrdp' again and it should detect the updated versions and install correctly.
You'll need the following RPM's:
- selinux-policy-3.13.1-252.el7.1.noarch.rpm
- selinux-policy-targeted-3.13.1-252.el7.1.noarch.rpm
- xorg-x11-server-common-1.20.4-7.el7.x86_64.rpm
- xorg-x11-server-Xorg-1.20.4-7.el7.x86_64.rpm
Selinux is a little more complicated as you'll need to remove ('rpm -e') the old 'selinux-policy-targeted' RPM before installing the new one. Once that's removed simply install ('rpm -ivh') the new 'selinux-policy-targeted' RPM and then you should be able to upgrade the 'selinux-policy' RPM as you did with the two xorg-x11 RPM's.
Once completed run 'sudo yum install xrdp' again and it should detect the updated versions and install correctly.
Re: xrdp not installed
The correct way is yum --enablerepo=cr,epel-testing update to update to what will be 7.7 when it goes GA soon. We don't support cherry picking updates out of there as they were tested as a whole not as bits.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke