yum update dependency error systemd

Issues related to applications and software problems
Post Reply
klflynn311
Posts: 2
Joined: 2017/08/03 13:53:33

yum update dependency error systemd

Post by klflynn311 » 2018/04/23 17:13:31

Could someone please tell me what I am missing. I am trying to update systemd and am getting dependency errors. It looks like I have all required dependencies. This is a closed network so I have uploaded the package files and created a local repo.


[root@52kbed-if-5552 ~]# yum update systemd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package systemd.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd = 219-42.el7_4.4 for package: systemd-sysv-219-42.el7_4.4.x86_64
---> Package systemd.x86_64 0:219-42.el7_4.10 will be an update
--> Processing Dependency: systemd-libs = 219-42.el7_4.10 for package: systemd-219-42.el7_4.10.x86_64
--> Running transaction check
---> Package systemd.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd = 219-42.el7_4.4 for package: systemd-sysv-219-42.el7_4.4.x86_64
---> Package systemd-libs.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd-libs = 219-42.el7_4.4 for package: libgudev1-219-42.el7_4.4.x86_64
---> Package systemd-libs.x86_64 0:219-42.el7_4.10 will be an update
--> Finished Dependency Resolution
Error: Package: systemd-sysv-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
Requires: systemd = 219-42.el7_4.4
Removing: systemd-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
systemd = 219-42.el7_4.4
Updated By: systemd-219-42.el7_4.10.x86_64 (LocalRepo)
systemd = 219-42.el7_4.10
Error: Package: libgudev1-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
Requires: systemd-libs = 219-42.el7_4.4
Removing: systemd-libs-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
systemd-libs = 219-42.el7_4.4
Updated By: systemd-libs-219-42.el7_4.10.x86_64 (LocalRepo)
systemd-libs = 219-42.el7_4.10
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@52kbed-if-5552 ~]#

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

Re: yum update dependency error systemd

Post by avij » 2018/04/23 17:51:36

Looks like you don't have all the dependencies in your local repo. I'd suggest having all files matching *219-42.el7_4.10* available.

libgudev1-219-42.el7_4.10.i686.rpm
libgudev1-219-42.el7_4.10.x86_64.rpm
libgudev1-devel-219-42.el7_4.10.i686.rpm
libgudev1-devel-219-42.el7_4.10.x86_64.rpm
systemd-219-42.el7_4.10.x86_64.rpm
systemd-devel-219-42.el7_4.10.i686.rpm
systemd-devel-219-42.el7_4.10.x86_64.rpm
systemd-journal-gateway-219-42.el7_4.10.x86_64.rpm
systemd-libs-219-42.el7_4.10.i686.rpm
systemd-libs-219-42.el7_4.10.x86_64.rpm
systemd-networkd-219-42.el7_4.10.x86_64.rpm
systemd-python-219-42.el7_4.10.x86_64.rpm
systemd-resolved-219-42.el7_4.10.i686.rpm
systemd-resolved-219-42.el7_4.10.x86_64.rpm
systemd-sysv-219-42.el7_4.10.x86_64.rpm

klflynn311
Posts: 2
Joined: 2017/08/03 13:53:33

Re: yum update dependency error systemd

Post by klflynn311 » 2018/04/27 16:46:15

I ran the following repotrack command to download all of the dependencies and I am still getting the same error. Maybe I am missing something. Output and contents of command, local repo, etc... are below

repotrack -a x86_64 -p /repos/Packages systemd

I created a local repository with the command createrepo <dir>

I edited the local.repo file below
/etc/yum.repos.d/local.repo


[LocalRepo]
name=LocalRepository
baseurl=file:///<dir to parent directory with Packages directory and metadata >
enabled=1
gpgcheck=0

yum clean all
rm -rf /var/cache/yum

yum update system


[root@52kbed-if-5552 ~]# yum update systemd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package systemd.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd = 219-42.el7_4.4 for package: systemd-sysv-219-42.el7_4.4.x86_64
---> Package systemd.x86_64 0:219-42.el7_4.10 will be an update
--> Processing Dependency: systemd-libs = 219-42.el7_4.10 for package: systemd-219-42.el7_4.10.x86_64
--> Running transaction check
---> Package systemd.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd = 219-42.el7_4.4 for package: systemd-sysv-219-42.el7_4.4.x86_64
---> Package systemd-libs.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd-libs = 219-42.el7_4.4 for package: libgudev1-219-42.el7_4.4.x86_64
---> Package systemd-libs.x86_64 0:219-42.el7_4.10 will be an update
--> Finished Dependency Resolution
Error: Package: systemd-sysv-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
Requires: systemd = 219-42.el7_4.4
Removing: systemd-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
systemd = 219-42.el7_4.4
Updated By: systemd-219-42.el7_4.10.x86_64 (LocalRepo)
systemd = 219-42.el7_4.10
Error: Package: libgudev1-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
Requires: systemd-libs = 219-42.el7_4.4
Removing: systemd-libs-219-42.el7_4.4.x86_64 (@centos-specific-swdco-local-rpms)
systemd-libs = 219-42.el7_4.4
Updated By: systemd-libs-219-42.el7_4.10.x86_64 (LocalRepo)
systemd-libs = 219-42.el7_4.10
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

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

Re: yum update dependency error systemd

Post by TrevorH » 2018/04/27 17:59:35

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

Post Reply