# zypper si fail

**URL:** https://forums.suse.com/t/zypper-si-fail/28906
**Category:** SLES Install-Boot
**Created:** [November 7, 2016, 3:59pm UTC](https://forums.suse.com/t/zypper-si-fail/28906 "2016-11-07T15:59:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)
#### Post date: [November 7, 2016, 3:59pm UTC](https://forums.suse.com/t/zypper-si-fail/28906/1 "2016-11-07T15:59:22Z")

</div>

Hi,

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’.

Maybe someone want to have a look at this.

Bye

Bernd

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [November 7, 2016, 4:10pm UTC](https://forums.suse.com/t/zypper-si-fail/28906/2 "2016-11-07T16:10:54Z")

</div>

Hi  
What SLES release and the src rpm your trying to install?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)
#### Post date: [November 7, 2016, 4:19pm UTC](https://forums.suse.com/t/zypper-si-fail/28906/3 "2016-11-07T16:19:23Z")

</div>

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

---

<div class="post-metadata">

### Author: ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)
#### Post date: [November 7, 2016, 4:28pm UTC](https://forums.suse.com/t/zypper-si-fail/28906/4 "2016-11-07T16:28:56Z")

</div>

[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.

Looked for a download link but couldn’t find…

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)
#### Post date: [November 7, 2016, 4:47pm UTC](https://forums.suse.com/t/zypper-si-fail/28906/5 "2016-11-07T16:47:39Z")

</div>

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.

Bye

Bernd
