there is a src.rpm which can not installed via ‘zypper si file.src.rpm’. A
failed dependency search for ‘kernel-devel’. But this is a RH description of
the parts which are named kernel-source at SUSE.
If I run ‘rpmbuild --rebuild file.src.rpm’ I get the target rpm and can
install these binary with ‘zypper in file.rpm’.
I read the spec file and found a few lines that look for the OS. A test of
this lines at konsole brings me the correct result.
This and the fact that it is possible to run ‘rpmbuild --rebuild’ with the
correct result let me think that there is maybe a little bug in the part
‘zypper si’.
[QUOTE=Bernd;35108]malcolmlewis wrote on Montag, 7. November 2016 15:14 in
suse.support.server.install-boot :
[color=blue]
Hi
What SLES release and the src rpm your trying to install?
[/color]
Sorry, this is SLES11SP4 and the lin_tape-3.0.10-1.src.rpm from IBM.
Bye
Bernd[/QUOTE]
Hi
You could try installing with a --no-deps option, but if you have the src rpm there is no need to install, you should rebuild as your user and only install the resulting binary rpm. A rpmbuild directory should be created in your ~/ directory.
malcolmlewis wrote on Montag, 7. November 2016 15:34 in
suse.support.server.install-boot :
[color=blue]
You could try installing with a --no-deps option, but if you have the
src rpm there is no need to install, you should rebuild as your user and
only install the resulting binary rpm. A rpmbuild directory should be
created in your ~/ directory.[/color]
There is no actual problem at me side. As I wrote I was able to install the
driver. It is running now.
But after a kernel patch it is possible that I have to rebuild again. I want
to make a repository for the src.rpm and install via zypper si so that in
case of a new kernel zypper automaticly rebuild the driver.