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 ~]#
yum update dependency error systemd
Re: yum update dependency error systemd
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
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
-
- Posts: 2
- Joined: 2017/08/03 13:53:33
Re: yum update dependency error systemd
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
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
Re: yum update dependency error systemd
I'd suggest reading https://wiki.centos.org/HowTos/CreateLocalMirror
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