Re: akmods installs kernel-debug-devel

2014-10-19 Thread Nicolas Chauvet
2014-10-17 22:05 GMT+02:00 Sérgio Basto ser...@serjux.com:

 On Sex, 2014-10-17 at 10:27 -0600, Orion Poplawski wrote:
  I think the provides for the kernel-debug-devel package is causing
 issues when
  installing akmods:
 
  # repoquery --provides kernel-debug-devel
  kernel-debug-devel = 3.16.6-200.fc20
  kernel-debug-devel(x86-64) = 3.16.6-200.fc20
  kernel-debug-devel-x86_64 = 3.16.6-200.fc20
  kernel-devel = 3.16.6-200.fc20+debug
  kernel-devel-uname-r = 3.16.6-200.fc20.x86_64+debug
  kernel-devel-x86_64 = 3.16.6-200.fc20+debug
 
  -- Processing Dependency: kernel-devel-uname-r for package:
  akmods-0.5.1-3.fc19.noarch
  --- Package kernel-debug-devel.x86_64 0:3.16.6-200.fc20 will be
 installed
 
  Why does the kernel-debug-devel package have kernel-devel* provides?  Or
  should akmods require something different?
 
  https://bugzilla.redhat.com/show_bug.cgi?id=227533

 akmods needs the kernel-devel of running kernel system , but doesn't
 know at requires install time , so for me it is a bug , I usually say ,
 use yum install akmods-foo and kernel-devel of running kernel
 or like in http://rpmfusion.org/Howto/nVidia#Akmods :

 yum install akmod-nvidia-96xx kernel-devel-uname-r == $(uname -r)


Best would be to have a yum/dnf plugin within akmod that would emit a RPM
dependency based on that kernel-devel-uname-r value.

There are probably few corner cases to work through such when there is a
new kernel/kernel-devel and the corresponding kernel-devel isn't there. In
this case it will need to pick the kernel-devel-uname-r from the
transaction.

Also this probably means that such plugin is installed before the
akmod-foo installation is requested.

Nicolas (kwizart)


Re: akmods installs kernel-debug-devel

2014-10-19 Thread Nicolas Chauvet
2014-10-19 12:21 GMT+02:00 Nicolas Chauvet kwiz...@gmail.com:

 2014-10-17 22:05 GMT+02:00 Sérgio Basto ser...@serjux.com:

 On Sex, 2014-10-17 at 10:27 -0600, Orion Poplawski wrote:
  I think the provides for the kernel-debug-devel package is causing
 issues when
  installing akmods:
 
  # repoquery --provides kernel-debug-devel
  kernel-debug-devel = 3.16.6-200.fc20
  kernel-debug-devel(x86-64) = 3.16.6-200.fc20
  kernel-debug-devel-x86_64 = 3.16.6-200.fc20
  kernel-devel = 3.16.6-200.fc20+debug
  kernel-devel-uname-r = 3.16.6-200.fc20.x86_64+debug
  kernel-devel-x86_64 = 3.16.6-200.fc20+debug
 
  -- Processing Dependency: kernel-devel-uname-r for package:
  akmods-0.5.1-3.fc19.noarch
  --- Package kernel-debug-devel.x86_64 0:3.16.6-200.fc20 will be
 installed
 
  Why does the kernel-debug-devel package have kernel-devel* provides?  Or
  should akmods require something different?
 
  https://bugzilla.redhat.com/show_bug.cgi?id=227533

 akmods needs the kernel-devel of running kernel system , but doesn't
 know at requires install time , so for me it is a bug , I usually say ,
 use yum install akmods-foo and kernel-devel of running kernel
 or like in http://rpmfusion.org/Howto/nVidia#Akmods :

 yum install akmod-nvidia-96xx kernel-devel-uname-r == $(uname -r)


 Best would be to have a yum/dnf plugin within akmod that would emit a
 RPM dependency based on that kernel-devel-uname-r value.

 There are probably few corner cases to work through such when there is a
 new kernel/kernel-devel and the corresponding kernel-devel isn't there. In
 this case it will need to pick the kernel-devel-uname-r from the
 transaction.

 Also this probably means that such plugin is installed before the
 akmod-foo installation is requested.

 Nicolas (kwizart)


Tryed to sum-up here:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=3386

-- 
-

Nicolas (kwizart)


akmods installs kernel-debug-devel

2014-10-17 Thread Orion Poplawski
I think the provides for the kernel-debug-devel package is causing issues when
installing akmods:

# repoquery --provides kernel-debug-devel
kernel-debug-devel = 3.16.6-200.fc20
kernel-debug-devel(x86-64) = 3.16.6-200.fc20
kernel-debug-devel-x86_64 = 3.16.6-200.fc20
kernel-devel = 3.16.6-200.fc20+debug
kernel-devel-uname-r = 3.16.6-200.fc20.x86_64+debug
kernel-devel-x86_64 = 3.16.6-200.fc20+debug

-- Processing Dependency: kernel-devel-uname-r for package:
akmods-0.5.1-3.fc19.noarch
--- Package kernel-debug-devel.x86_64 0:3.16.6-200.fc20 will be installed

Why does the kernel-debug-devel package have kernel-devel* provides?  Or
should akmods require something different?

https://bugzilla.redhat.com/show_bug.cgi?id=227533

-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301   http://www.nwra.com


Re: akmods installs kernel-debug-devel

2014-10-17 Thread Richard Shaw
On Fri, Oct 17, 2014 at 11:27 AM, Orion Poplawski or...@cora.nwra.com
wrote:

 I think the provides for the kernel-debug-devel package is causing issues
 when
 installing akmods:

 # repoquery --provides kernel-debug-devel
 kernel-debug-devel = 3.16.6-200.fc20
 kernel-debug-devel(x86-64) = 3.16.6-200.fc20
 kernel-debug-devel-x86_64 = 3.16.6-200.fc20
 kernel-devel = 3.16.6-200.fc20+debug
 kernel-devel-uname-r = 3.16.6-200.fc20.x86_64+debug
 kernel-devel-x86_64 = 3.16.6-200.fc20+debug

 -- Processing Dependency: kernel-devel-uname-r for package:
 akmods-0.5.1-3.fc19.noarch
 --- Package kernel-debug-devel.x86_64 0:3.16.6-200.fc20 will be installed

 Why does the kernel-debug-devel package have kernel-devel* provides?  Or
 should akmods require something different?

 https://bugzilla.redhat.com/show_bug.cgi?id=227533


Interesting... I don't know of any other requires that would work for
akmods to work around the problem but it doesn't seem to be 100%
reproducible. I'm running akmods on F20 and I don't have the debug package
installed.

That could be because my installation predates the bug and the
kernel-devel package still satisfies the requirement...

$ repoquery --whatprovides kernel-devel-uname-r
kernel-devel-0:3.11.10-301.fc20.x86_64
kernel-debug-devel-0:3.11.10-301.fc20.x86_64
kernel-debug-devel-0:3.16.6-200.fc20.x86_64
kernel-devel-0:3.16.6-200.fc20.x86_64

Thoughts?

Richard


Re: akmods installs kernel-debug-devel

2014-10-17 Thread Simone Caronni
I

On 17 October 2014 19:14, Richard Shaw hobbes1...@gmail.com wrote:

 That could be because my installation predates the bug and the
 kernel-devel package still satisfies the requirement...

 $ repoquery --whatprovides kernel-devel-uname-r
 kernel-devel-0:3.11.10-301.fc20.x86_64
 kernel-debug-devel-0:3.11.10-301.fc20.x86_64
 kernel-debug-devel-0:3.16.6-200.fc20.x86_64
 kernel-devel-0:3.16.6-200.fc20.x86_64

 Thoughts?


If both provides kernel-devel-uname-r and are at the same version, then
the alphabetically first kernel-debug-devel gets installed.
I've tested it here by removing kernel-devel/akmods and happens as well:

$ sudo yum install akmods
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
-- Running transaction check
--- Package akmods.noarch 0:0.5.1-3.fc19 will be installed
-- Processing Dependency: kernel-devel-uname-r for package:
akmods-0.5.1-3.fc19.noarch
-- Running transaction check
--- Package kernel-debug-devel.x86_64 0:3.16.4-200.fc20 will be installed
-- Finished Dependency Resolution

Dependencies Resolved


 PackageArch   Version Repository
 Size

Installing:
 akmods noarch 0.5.1-3.fc19rpmfusion-free
 19 k
Installing for dependencies:
 kernel-debug-devel x86_64 3.16.4-200.fc20 updates
 9.0 M

Transaction Summary

Install  1 Package (+1 Dependent package)

Total download size: 9.0 M
Installed size: 34 M
Is this ok [y/d/N]:

Regards,
--Simone



-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/


Re: akmods installs kernel-debug-devel

2014-10-17 Thread Sérgio Basto
On Sex, 2014-10-17 at 10:27 -0600, Orion Poplawski wrote: 
 I think the provides for the kernel-debug-devel package is causing issues when
 installing akmods:
 
 # repoquery --provides kernel-debug-devel
 kernel-debug-devel = 3.16.6-200.fc20
 kernel-debug-devel(x86-64) = 3.16.6-200.fc20
 kernel-debug-devel-x86_64 = 3.16.6-200.fc20
 kernel-devel = 3.16.6-200.fc20+debug
 kernel-devel-uname-r = 3.16.6-200.fc20.x86_64+debug
 kernel-devel-x86_64 = 3.16.6-200.fc20+debug
 
 -- Processing Dependency: kernel-devel-uname-r for package:
 akmods-0.5.1-3.fc19.noarch
 --- Package kernel-debug-devel.x86_64 0:3.16.6-200.fc20 will be installed
 
 Why does the kernel-debug-devel package have kernel-devel* provides?  Or
 should akmods require something different?
 
 https://bugzilla.redhat.com/show_bug.cgi?id=227533

akmods needs the kernel-devel of running kernel system , but doesn't
know at requires install time , so for me it is a bug , I usually say , 
use yum install akmods-foo and kernel-devel of running kernel 
or like in http://rpmfusion.org/Howto/nVidia#Akmods :

yum install akmod-nvidia-96xx kernel-devel-uname-r == $(uname -r)

if we could fix this, it would be great 

Best regards,


-- 
Sérgio M. B.


Re: akmods installs kernel-debug-devel

2014-10-17 Thread Richard Shaw
The least painless fix (if the Fedora maintainer will agree) would be to
make sure the non-debug package (kernel-devel) has a higher NEVR than the
others, perhaps by appending .1 to the release.

Richard