XRDP installation issues

General support questions
panpanbebe
Posts: 15
Joined: 2018/12/10 21:28:57

XRDP installation issues

Post by panpanbebe » 2018/12/10 21:31:23

I need help with Azure CentOS XRDP installation, try lots of different can't get XRDP install.
Here is the screenshot.

[root@SPEXS-APP-S-019 /]# yum -y install xrdp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* epel: pubmirror1.math.uh.edu
* nux-dextop: mirror.li.nux.ro
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.8-2.el7 will be installed
--> Processing Dependency: xrdp-selinux = 1:0.9.8-2.el7 for package: 1:xrdp-0.9.8-2.el7.x86_64
--> Running transaction check
---> Package xrdp-selinux.x86_64 1:0.9.8-2.el7 will be installed
--> Processing Dependency: selinux-policy >= 3.13.1-229.el7_6.5 for package: 1:xrdp-selinux-0.9.8-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:xrdp-selinux-0.9.8-2.el7.x86_64 (epel)
Requires: selinux-policy >= 3.13.1-229.el7_6.5
Installed: selinux-policy-3.13.1-192.el7_5.6.noarch (@updates)
selinux-policy = 3.13.1-192.el7_5.6
Available: selinux-policy-3.13.1-192.el7.noarch (base)
selinux-policy = 3.13.1-192.el7
Available: selinux-policy-3.13.1-192.el7_5.3.noarch (updates)
selinux-policy = 3.13.1-192.el7_5.3
Available: selinux-policy-3.13.1-192.el7_5.4.noarch (updates)
selinux-policy = 3.13.1-192.el7_5.4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: XRDP installation issues

Post by avij » 2018/12/10 21:39:08

This would work out of the box with the default repositories. You may have disabled the base and updates repositories, or they are pointing to an outdated mirror. See yum repolist -v and /etc/yum.repos.d/CentOS-Base.repo

Once you have enabled the base and updates repos, run yum update first.

edit: ok, not quite "default repositories" -- you do need epel for xrdp but you have that already and that's not the problem.

panpanbebe
Posts: 15
Joined: 2018/12/10 21:28:57

Re: XRDP installation issues

Post by panpanbebe » 2018/12/11 12:38:31

Not sure about this?

Once you have enabled the base and updates repos

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: XRDP installation issues

Post by avij » 2018/12/11 12:43:08

The installation will work once your base and updates repos are enabled and point to a mirror that is up-to-date. Looking closer at your yum output it seems that your base and updates repos are enabled, but apparently they point to outdated content. That yum repolist -v command would have shed more light on this issue.

panpanbebe
Posts: 15
Joined: 2018/12/10 21:28:57

Re: XRDP installation issues

Post by panpanbebe » 2018/12/11 13:05:34

I am getting this error

[root@SPEXS-APP-S-019 ~]# yum -y install xrdp --enablerepo=cr --skip-broken
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* epel: pubmirror1.math.uh.edu
* nux-dextop: mirror.li.nux.ro
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.8-2.el7 will be installed
--> Processing Dependency: xrdp-selinux = 1:0.9.8-2.el7 for package: 1:xrdp-0.9.8-2.el7.x86_64
--> Running transaction check
---> Package xrdp-selinux.x86_64 1:0.9.8-2.el7 will be installed
--> Processing Dependency: selinux-policy >= 3.13.1-229.el7_6.5 for package: 1:xrdp-selinux-0.9.8-2.el7.x86_64
epel/x86_64/filelists | 10 MB 00:00:19

Packages skipped because of dependency problems:
1:xrdp-0.9.8-2.el7.x86_64 from epel
1:xrdp-selinux-0.9.8-2.el7.x86_64 from epel

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XRDP installation issues

Post by TrevorH » 2018/12/11 13:17:06

The CR repo is now empty and won't have content again until after the release of RHEL 7.7.

Try yum --enablerepo=base,updates install xrdp
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

panpanbebe
Posts: 15
Joined: 2018/12/10 21:28:57

Re: XRDP installation issues

Post by panpanbebe » 2018/12/11 13:23:26

my CentOS version is 7.5.1804 and is on Azure

panpanbebe
Posts: 15
Joined: 2018/12/10 21:28:57

Re: XRDP installation issues

Post by panpanbebe » 2018/12/11 13:24:49

Same result.

[root@SPEXS-APP-S-019 ~]# yum --enablerepo=base,updates install xrdp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* epel: pubmirror1.math.uh.edu
* nux-dextop: mirror.li.nux.ro
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.8-2.el7 will be installed
--> Processing Dependency: xrdp-selinux = 1:0.9.8-2.el7 for package: 1:xrdp-0.9.8-2.el7.x86_64
--> Running transaction check
---> Package xrdp-selinux.x86_64 1:0.9.8-2.el7 will be installed
--> Processing Dependency: selinux-policy >= 3.13.1-229.el7_6.5 for package: 1:xrdp-selinux-0.9.8-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:xrdp-selinux-0.9.8-2.el7.x86_64 (epel)
Requires: selinux-policy >= 3.13.1-229.el7_6.5
Installed: selinux-policy-3.13.1-192.el7_5.6.noarch (@updates)
selinux-policy = 3.13.1-192.el7_5.6
Available: selinux-policy-3.13.1-192.el7.noarch (base)
selinux-policy = 3.13.1-192.el7
Available: selinux-policy-3.13.1-192.el7_5.3.noarch (updates)
selinux-policy = 3.13.1-192.el7_5.3
Available: selinux-policy-3.13.1-192.el7_5.4.noarch (updates)
selinux-policy = 3.13.1-192.el7_5.4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: XRDP installation issues

Post by avij » 2018/12/11 13:32:59

Maybe read this more closely?
avij wrote:
2018/12/11 12:43:08
Looking closer at your yum output it seems that your base and updates repos are enabled, but apparently they point to outdated content. That yum repolist -v command would have shed more light on this issue.

panpanbebe
Posts: 15
Joined: 2018/12/10 21:28:57

Re: XRDP installation issues

Post by panpanbebe » 2018/12/11 13:39:57

That's from the output

[root@SPEXS-APP-S-019 ~]# yum repolist -v
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Adding en_US.UTF-8 to language list
Config time: 0.012
Adding en_US to language list
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
* epel: pubmirror1.math.uh.edu
* nux-dextop: mirror.li.nux.ro
Setting up Package Sacks
pkgsack time: 0.015
Repo-id : base/7/x86_64
Repo-name : CentOS-7 - Base
Repo-revision: 1525378614
Repo-updated : Thu May 3 20:17:37 2018
Repo-pkgs : 9,911
Repo-size : 8.2 G
Repo-baseurl : http://olcentgbl.trafficmanager.net/centos/7/os/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Dec 11 13:15:57 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id : epel/x86_64
Repo-name : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1544497510
Repo-updated : Tue Dec 11 03:17:08 2018
Repo-pkgs : 12,738
Repo-size : 14 G
Repo-metalink: https://mirrors.fedoraproject.org/metal ... rch=x86_64
Updated : Tue Dec 11 03:17:08 2018
Repo-baseurl : https://pubmirror1.math.uh.edu/fedora-b ... /7/x86_64/ (47 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 11 13:15:57 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo

Repo-id : extras/7/x86_64
Repo-name : CentOS-7 - Extras
Repo-revision: 1541683984
Repo-updated : Thu Nov 8 13:36:55 2018
Repo-pkgs : 434
Repo-size : 806 M
Repo-baseurl : http://olcentgbl.trafficmanager.net/cen ... as/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Dec 11 13:15:57 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id : nux-dextop/x86_64
Repo-name : Nux.Ro RPMs for general desktop use
Repo-revision: 1544010101
Repo-updated : Wed Dec 5 11:42:08 2018
Repo-pkgs : 2,690
Repo-size : 7.1 G
Repo-baseurl : http://li.nux.ro/download/nux/dextop/el7/x86_64/, http://mirror.li.nux.ro/li.nux.ro/nux/d ... l7/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Dec 11 13:15:58 2018)
Filter : read-only:present
Repo-excluded: 2
Repo-filename: /etc/yum.repos.d/nux-dextop.repo

Repo-id : openlogic/7/x86_64
Repo-name : CentOS-7 - openlogic packages for x86_64
Repo-revision: 1540923603
Repo-updated : Tue Oct 30 18:20:06 2018
Repo-pkgs : 83
Repo-size : 237 M
Repo-baseurl : http://olcentgbl.trafficmanager.net/ope ... ic/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Dec 11 13:15:58 2018)
Filter : read-only:present
Repo-excluded: 38
Repo-filename: /etc/yum.repos.d/OpenLogic.repo

Repo-id : updates/7/x86_64
Repo-name : CentOS-7 - Updates
Repo-revision: 1540837319
Repo-updated : Mon Oct 29 18:33:45 2018
Repo-pkgs : 1,613
Repo-size : 5.7 G
Repo-baseurl : http://olcentgbl.trafficmanager.net/cen ... es/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Dec 11 13:15:58 2018)
Filter : read-only:present
Repo-excluded: 1
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

repolist: 27,469
[root@SPEXS-APP-S-019 ~]#

Post Reply