yum update fail

General support questions
Post Reply
amir385276
Posts: 73
Joined: 2019/08/09 20:54:52

yum update fail

Post by amir385276 » 2019/08/09 21:04:04

Hi everybody
when i want to update Centos 7
i see this error
"yum -y update"
Packages skipped because of dependency problems:
1:gdm-3.28.2-12.el7_6.2.x86_64 from updates
xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 from updates
xorg-x11-server-common-1.20.1-5.6.el7_6.x86_64 from updates
xorgxrdp-0.2.10-1.el7.x86_64 from epel
1:xrdp-0.9.10-1.el7.x86_64 from epel

How to Fix this errors?

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

Re: yum update fail

Post by avij » 2019/08/09 21:42:28

Please show the full unedited output of "yum update" instead of just the last few lines.

amir385276
Posts: 73
Joined: 2019/08/09 20:54:52

Re: yum update fail

Post by amir385276 » 2019/08/09 21:45:43

[root@static ~]# yum -y update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.alpix.eu
* epel: mirror.wiuwiu.de
* extras: mirror.softaculous.com
* nux-dextop: mirror.li.nux.ro
* updates: mirror.alpha-labs.net
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package gdm.x86_64 1:3.28.2-12.el7_6.1 will be updated
---> Package gdm.x86_64 1:3.28.2-12.el7_6.2 will be an update
---> Package xorg-x11-server-Xorg.x86_64 0:1.20.1-5.3.el7_6 will be updated
---> Package xorg-x11-server-Xorg.x86_64 0:1.20.1-5.6.el7_6 will be an update
---> Package xorg-x11-server-common.x86_64 0:1.20.1-5.3.el7_6 will be updated
---> Package xorg-x11-server-common.x86_64 0:1.20.1-5.6.el7_6 will be an update
---> Package xorgxrdp.x86_64 0:0.2.9-1.el7 will be updated
---> Package xorgxrdp.x86_64 0:0.2.10-1.el7 will be an update
---> Package xrdp.x86_64 1:0.9.9-1.el7 will be updated
--> Processing Dependency: xrdp = 1:0.9.9-1.el7 for package: 1:xrdp-selinux-0.9.9-1.el7.x86_64
---> Package xrdp.x86_64 1:0.9.10-1.el7 will be an update
--> Finished Dependency Resolution
Error: Package: 1:xrdp-selinux-0.9.9-1.el7.x86_64 (@epel)
Requires: xrdp = 1:0.9.9-1.el7
Removing: 1:xrdp-0.9.9-1.el7.x86_64 (@epel)
xrdp = 1:0.9.9-1.el7
Updated By: 1:xrdp-0.9.10-1.el7.x86_64 (epel)
xrdp = 1:0.9.10-1.el7
Available: xrdp-0.6.1-2.el7.nux.x86_64 (nux-dextop)
xrdp = 0.6.1-2.el7.nux
Available: xrdp-0.6.1-3.el7.nux.x86_64 (nux-dextop)
xrdp = 0.6.1-3.el7.nux
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
1:xrdp-selinux-0.9.10-1.el7.x86_64 is a duplicate with 1:xrdp-selinux-0.9.9-1.el7.x86_64
1:xrdp-selinux-0.9.10-1.el7.x86_64 has missing requires of xrdp = ('1', '0.9.10', '1.el7')
[root@static ~]#

amir385276
Posts: 73
Joined: 2019/08/09 20:54:52

Re: yum update fail

Post by amir385276 » 2019/08/10 18:28:55

Hi again
and what is new firewall in the CentOS 7
I mean the firewalld don't work in new version

the name, commands, anything

Thanks

desertcat
Posts: 843
Joined: 2014/08/07 02:17:29
Location: Tucson, AZ

Re: yum update fail

Post by desertcat » 2019/08/10 20:10:50

amir385276 wrote:
2019/08/09 21:04:04
Hi everybody
when i want to update Centos 7
i see this error
"yum -y update"
Packages skipped because of dependency problems:
1:gdm-3.28.2-12.el7_6.2.x86_64 from updates
xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 from updates
xorg-x11-server-common-1.20.1-5.6.el7_6.x86_64 from updates
xorgxrdp-0.2.10-1.el7.x86_64 from epel
1:xrdp-0.9.10-1.el7.x86_64 from epel

How to Fix this errors?
A GUESS?!? CentOS 7.7 is due out in 1-2 months -- also a guess -- and the various repos are populating for RHEL 7.7, so when you run ""yum update" you get a bunch of dependency errors. The way to tell is to look at the various package ends of what it wants to to update too to see if it says 7_7, in which case that is the problem. The way to fix the problem is simply to run the following command:

yum update --exclude=package_xyz

Chances are good that it will spit out the the following message:

No packages marked for update

Alternately it will proceed to list ONLY those packages that can be updated. Say Y to those packages.

A word of Widom: That at some point in the not to distant future CentOS 7.7 will be hitting the mirrors. Now -- or in the not to distant future -- is the time to BACKUP your ENTIRE 7.6 install. If for any reason 7.7 throws a hissy fit, you can roll back the 7.7 install back to your 7.6 install which was the last stable version that you know worked. Trust me: doing so will save your bacon!! Ask me how I know!!

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: yum update fail

Post by hunter86_bg » 2019/08/11 08:56:46

Keep in mins that 'BOOM' provides a nice restore point (actually a bootable LVM snapshot) which can help you easily revert after a failed upgrade.
Downside - you should keep everythig in the root LV . If you have separate /var - it won't be part of the BOOM.

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

Re: yum update fail

Post by TrevorH » 2019/08/11 12:02:23

To get back to the original problem... xrdp now exists in both nux-dextop and EPEL. You have the nux copy installed but the EPEL copy is newer so it's trying to update but cannot because you have duplicate packages installed. You need to rpm -e --nodeps --justdb xrdp-selinux-0.9.10-1.el7.x86_64 to get rid of the newer duplicate and then yum update again.
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

amir385276
Posts: 73
Joined: 2019/08/09 20:54:52

Re: yum update fail

Post by amir385276 » 2019/08/11 13:42:57

Thank you TrevorH

I try some commands but nothing, but your commands work great

Thank you so much

amir385276
Posts: 73
Joined: 2019/08/09 20:54:52

Re: yum update fail

Post by amir385276 » 2019/08/15 12:40:54

Hi again
i do reset the VPS, and install the new centos 7
then yum -y install qbittorrent
then qbittorrent

[root@static qBittorrent]# qbittorrent
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
[root@static qBittorrent]#

what is this and how to fix it

Thanks

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: yum update fail

Post by jlehtone » 2019/08/15 14:28:02

The qbittorrent appears to be a GUI application. An X11 client. It needs to show its windows on X11 server.

If I were to connect to VPS from my Linux desktop with ssh, I would tell the ssh to tunnel the X11.
That would let the X client on VPS to see the X server on my desktop.

PS. Your followup question does relate to "yum update" in any way.

Post Reply