Error: Package: xl2tpd-1.3.6-8.fc20.i686 (updates-testing) Requires: kmod(l2tp_ppp.ko) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Since yesterday on Fedora 20. Updating not possible. Please fix if possible. rpm -q kernel kernel-3.19.3-100.fc20.i686
That module is in kernel-modules-extra, you might need to install this package.
The problem here is, that it would be good, if the spec adds a dependency to kernel-modules-extra. otherwise things like: yum group install "gnome-desktop" --installroot=/whatever ends up with above error if the host (main os) doesn't provide kernel-modules-extra. It would be better to have a depdendency added to it, so rather than failing with this bug, that it resolves the missing package and/or install it on demand. Another view might be, if the requirements of kernel-modules-extra (where extra sounds more or less "optional") becomes a mandatory part of every fedora installation that way. By the way while I was typing this: Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel-modules-extra i686 3.19.3-100.fc20 updates-testing 2.0 M Transaction Summary ================================================================================ Install 1 Package Total download size: 2.0 M Installed size: 5.7 M Is this ok [y/d/N]: y Downloading packages: kernel-modules-extra-3.19.3-100.fc20.i686.rpm | 2.0 MB 00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction (shutdown inhibited) Installing : kernel-modules-extra-3.19.3-100.fc20.i686 1/1 Verifying : kernel-modules-extra-3.19.3-100.fc20.i686 1/1 Installed: kernel-modules-extra.i686 0:3.19.3-100.fc20 Complete! -bash-4.2$ sudo yum install xl2tpd Loaded plugins: langpacks Resolving Dependencies --> Running transaction check ---> Package xl2tpd.i686 0:1.3.6-8.fc20 will be installed --> Processing Dependency: kmod(l2tp_ppp.ko) for package: xl2tpd-1.3.6-8.fc20.i686 --> Finished Dependency Resolution Error: Package: xl2tpd-1.3.6-8.fc20.i686 (updates-testing) Requires: kmod(l2tp_ppp.ko) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest -bash-4.2$
Neither "depmod -a" nor "modprobe l2tp_ppp" (which sucessfully loads the module) solved that issue. Probably requires running dracut and reboot ?
Adding to my last comment: 1) sudo dracut --force --strip --xz --printsize 2) reboot 3) sudo lsinitrd | grep -i "ppp" (returns nothing) 4) ls -1 /usr/lib/modules/3.19.3-100.fc20.i686/extra/net/l2tp/ l2tp_debugfs.ko l2tp_eth.ko l2tp_ip.ko l2tp_netlink.ko l2tp_ppp.ko 5) sudo yum install xl2tpd Loaded plugins: langpacks Resolving Dependencies --> Running transaction check ---> Package xl2tpd.i686 0:1.3.6-8.fc20 will be installed --> Processing Dependency: kmod(l2tp_ppp.ko) for package: xl2tpd-1.3.6-8.fc20.i686 --> Finished Dependency Resolution Error: Package: xl2tpd-1.3.6-8.fc20.i686 (updates-testing) Requires: kmod(l2tp_ppp.ko) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Now comming back to my previous explaination with different installroot. I hope I could explain what I like to solve: Let's assume this: 1) root = / <--- the host fc20 without xl2tpd/kernel-modules-extras 2) root = /opt/tmp <--- a chroot new environment that I like to install Now it doesn't matter whether all works as expected. This is just to explain something. How I understand xl2tpd as is now is as follows. The requirements for l2tp_ppp.ko is for the host fc20 installation [1]. So if [1] (which was "/") has that kernel module installed, it then proceeds resolving and installs xl2tpd on the [1] system. Now assuming this. I continue not having xl2tpd and kernel-modules-extras on [1], which is a legal condition by the way, but like to install "yum group install "gnome-desktop" on [2] using [1] yum group install "gnome-desktop" --installroot=/opt/tmp now when processing all depdenendies "xl2tpd" will fail again because it can't find l2tp_ppp.ko on [1]. Ignoring that I want it to install on [2]. What I wish (and that probably should be the case) that xl2tpd resolves the requirements for "kernel-modules-extras" as dependency for the installation in [2] (chroot). Since xl2tpd doesn't even resolve a depdenency for a normal kernel-modules-extras requirements such as in: yum update xl2tpd yum install xl2tpd That this won't happen for the chroot either. Not speaking about that even for a normal update on the host system (the running one [1]). That it ends up with above error message.
Ok I think I can explain the issue here. First of all what have I done meanwhile: 1) I tried installing this xl2tpd package via rpm only and it fails the same. 2) I tried rebulding the xl2tpd source package via rpmbuild --rebuild. The package builds, but installation failed. 3) I tried rebulding the xl2tpd source package with a hacked spec file (removing the PPP_DIE flag from the build define. Package builds. Installation fails. But then ... hours later ... http://koji.fedoraproject.org/koji/rpminfo?rpmID=6064822 http://koji.fedoraproject.org/koji/rpminfo?rpmID=6120787 When comparing the two builds of kernel-modules-extra. One time for f20 and for f21, then you see that for Fedora >= 21 the kernel-modules-extra package provides kmod signatures (how I call it now) where the f20 package *DOES NOT*. So basicly xl2ptd will fail of course, because these signatures are missing in the f20 package. At least its a guess from my side :)
This is https://bugzilla.redhat.com/show_bug.cgi?id=1025301 I'm still waiting on a fix of the kernel packaging people basically. I dont know of a proper fix right now.
How about something like this ? -bash-4.2$ diff -ruN xl2tpd.orig xl2tpd.spec --- xl2tpd.orig 2015-04-06 23:31:17.000000000 +0200 +++ xl2tpd.spec 2015-04-06 23:33:08.560660100 +0200 @@ -14,7 +14,8 @@ Patch2: xl2tpd-1.3.6-md5-fips.patch Patch3: xl2tpd-1.3.6-saref.patch -Requires: ppp >= 2.4.5-18, kmod(l2tp_ppp.ko) +Requires: kernel-modules-extra +Requires: ppp >= 2.4.5-18 # If you want to authenticate against a Microsoft PDC/Active Directory # Requires: samba-winbind BuildRequires: libpcap-devel -bash-4.2$ If it colides with head spec, then wrap some if's around it. -bash-4.2$ diff -ruN xl2tpd.orig xl2tpd.spec --- xl2tpd.orig 2015-04-06 23:31:17.000000000 +0200 +++ xl2tpd.spec 2015-04-06 23:39:54.030044580 +0200 @@ -13,8 +13,12 @@ Patch1: xl2tpd-1.3.6-conf.patch Patch2: xl2tpd-1.3.6-md5-fips.patch Patch3: xl2tpd-1.3.6-saref.patch - -Requires: ppp >= 2.4.5-18, kmod(l2tp_ppp.ko) +%if 0%{?fedora} <= 20 +Requires: kernel-modules-extra +%else +Requires: kmod(l2tp_ppp.ko) +%endif +Requires: ppp >= 2.4.5-18 # If you want to authenticate against a Microsoft PDC/Active Directory # Requires: samba-winbind BuildRequires: libpcap-devel -bash-4.2$ Not tested yet. But to give some idea.
*** Bug 1208809 has been marked as a duplicate of this bug. ***
xl2tpd-1.3.6-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/xl2tpd-1.3.6-10.fc20
Package xl2tpd-1.3.6-10.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xl2tpd-1.3.6-10.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-6402/xl2tpd-1.3.6-10.fc20 then log in and leave karma (feedback).
xl2tpd-1.3.6-10.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.