# Createrepo & reposync packages

**URL:** <https://forums.suse.com/t/createrepo-reposync-packages/26217>\
**Category:** SLES Configure-Administer\
**Created:** [October 16, 2014, 9:32pm UTC](https://forums.suse.com/t/createrepo-reposync-packages/26217 "2014-10-16T21:32:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeunii](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jeunii](https://forums.suse.com/u/jeunii)\
**Post date:** [October 16, 2014, 9:32pm UTC](https://forums.suse.com/t/createrepo-reposync-packages/26217/1 "2014-10-16T21:32:48Z")

</div>

Hi guys,

I have a SUSE 10 box and is missing 2 commands:

reposync  
createrepo

When I try to search for these using zypper :

`server:/tmp # zypper search createrepo
Restoring system sources...
Not found: Media Exception
Not found: Media Exception
/repodata/repomd.xml (http://<REPO>) is unsigned, continue? [y/n]: y
Parsing metadata for -20131017-145927...
Parsing metadata for SUSE Linux Enterprise Server 10 SP4...
No packages found.`

If I try to install it from another location (web) , it requires me to install dependencies. The dependencies require even MORE dependencies.  
Trying to install an rpm gives;

```auto
server:/tmp # rpm -ivh createrepo-0.10.3-3_Oso.noarch.rpm
error: Failed dependencies:
	pyliblzma is needed by createrepo-0.10.3-3_Oso.noarch
	python(abi) = 2.7 is needed by createrepo-0.10.3-3_Oso.noarch
	python-deltarpm is needed by createrepo-0.10.3-3_Oso.noarch
	rpm-python is needed by createrepo-0.10.3-3_Oso.noarch
	rpmlib(FileDigests) <= 4.6.0-1 is needed by createrepo-0.10.3-3_Oso.noarch
	yum >= 3.4.3-4 is needed by createrepo-0.10.3-3_Oso.noarch
	yum-metadata-parser is needed by createrepo-0.10.3-3_Oso.noarch
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by createrepo-0.10.3-3_Oso.noarch
```

Is there a way to get a repo to install all packages required ?

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [October 16, 2014, 11:51pm UTC](https://forums.suse.com/t/createrepo-reposync-packages/26217/2 "2014-10-16T23:51:32Z")

</div>

jeunii Wrote in message:  
[color=blue]

> I have a SUSE 10 box and is missing 2 commands:
> 
> reposync  
> createrepo
> 
> When I try to search for these using zypper :
> 
> ## Code:
> 
> ```
> server:/tmp # zypper search createrepo
> 
> ```
> 
> ## Restoring system sources… Not found: Media Exception Not found: Media Exception /repodata/repomd.xml (http://) is unsigned, continue? [y/n]: y Parsing metadata for -20131017-145927… Parsing metadata for SUSE Linux Enterprise Server 10 SP4… No packages found.
> 
> If I try to install it from another location (web) , it requires me to  
> install dependencies. The dependencies require even MORE dependencies.  
> Trying to install an rpm gives;
> 
> ## Code:
> 
> server:/tmp # rpm -ivh createrepo-0.10.3-3\_Oso.noarch.rpm  
> error: Failed dependencies:  
> pyliblzma is needed by createrepo-0.10.3-3\_Oso.noarch  
> python(abi) = 2.7 is needed by createrepo-0.10.3-3\_Oso.noarch  
> python-deltarpm is needed by createrepo-0.10.3-3\_Oso.noarch  
> rpm-python is needed by createrepo-0.10.3-3\_Oso.noarch  
> rpmlib(FileDigests) \<= 4.6.0-1 is needed by createrepo-0.10.3-3\_Oso.noarch  
> yum \>= 3.4.3-4 is needed by createrepo-0.10.3-3\_Oso.noarch  
> yum-metadata-parser is needed by createrepo-0.10.3-3\_Oso.noarch  
> rpmlib(PayloadIsXz) \<= 5.2-1 is needed by createrepo-0.10.3-3\_Oso.noarch
> 
> * * *
> 
> Is there a way to get a repo to install all packages required ?[/color]

Firstly note that zypper is available in SLES10 as a technology  
preview - with SLES10 the supported command is “rug”.

When using “zypper search” it’s not finding createrepo in your  
current SLES10 SP4 repos because it doesn’t exist there and as  
you’ve found trying to install an RPM from elsewhere (where?)  
requires other packages and/or versions, most notably Python 2.7  
which isn’t even available for (current) latest SLES11 SP3  
(still at Python 2.6.x).

What are you trying to achieve and why use SLES10 SP4 which is out  
of General Support?

## HTH.

Simon Flood  
SUSE Knowledge Partner

----Android NewsGroup Reader----  
[http://usenet.sinaapp.com/](http://usenet.sinaapp.com/)
