{ 9 comments… read them below or add one }

1 prince 08.10.07 at 6:10 pm

thanks for the thismanual,can u tell me how to install update and coresponsding dependancies from a url like rpm.pbone.net

2 Henk Kloepping 09.12.07 at 10:48 am

yum may not be able to install ‘createrepo’ as it may need a repository to find it – you know, the one you try to create ;-)..

This can be resolved by installing it ‘by hand’, e.g.

# rpm -i /mnt/iso/4/Server/createrepo-0.4.4-2.fc6.noarch.rpm

Thanks for the article, keep it up!

3 vivek 09.12.07 at 4:23 pm

Henk,

Thanks for pointing out this issue

4 fizzix 04.01.08 at 1:52 pm

Thanks for the tip. Seems to work great for the most part.

I used it to create a local repo for FC7 with the original fc7 isos and an Everything snapshot as of ~Jan ‘08. Most of the packages are fine, but some of them (openoffice.org-pyuno in particular) are prepending a “1:” to the version number so it’s failing the dependency check.

–> Package openoffice.org-pyuno.i386 1:2.2.0-14.8 set to be updated
–> Processing Dependency: openoffice.org-core = 1:2.2.0-14.8 for package:openoffice.org-pyuno
–> Finished Dependency Resolution
Error: Missing Dependency: openoffice.org-core = 1:2.2.0-14.8 is needed by package openoffice.org-pyuno

But I’ve got openoffice.org-2.2.0-14.8 installed!

Looking through yum list available shows a subset of packages with the “1:” prepended to the version number.

Any thoughts on how I can get around this?

Thanks in advance.

5 alice 09.03.08 at 2:11 pm

Use /etc/yum.repos.d/CentOS-Media.repo

6 brandon 01.27.09 at 12:19 am

so I’ve gone through this process, and have all 7 of rhel 5.3 iso’s (cd files) mounted and as the location for the repo, however it doesn’t want to complete without the public key. do I have to generate and import a key?

7 ratzdecan 03.17.09 at 5:34 pm

You have to import all the gpg keys for the packages.
rpm –import /mnt/iso/{1,2,3}/RPM-GPG-KEY

Take a look here:
http://www.linuxquestions.org/questions/fedora-35/public-key-not-installed-468615/

8 Procfs 03.18.09 at 4:41 am

Hi thanks this workes grate

9 Usamantaray 06.19.09 at 6:16 am

Error : Repository ‘MY ISO Repository’ is missing name in configuration, using id
Fix :
# vi /etc/yum.repos.d/iso.repo
[My ISO Repository]
name=ISO
baseurl=file:///mnt/iso
enabled=1

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tagged as: , , , , , , , , , , , , , , ,

Previous post: Howto Setup Active Directory Authentication With Apache WebServer

Next post: Find out if my server is capable of running para-virtualized guest ( PAE support )