Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i tried installing yum for local repository. but its not working.
i just created directory.
# /yum/fedora/core/3/base/ (all rpms here)
than i did
# createrpro /yum/fedora/core/3/base
it updated the database and created directory by name /repodata
there are some .xml.gz files inside it.
after this i created sample.repo under
#/etc/yum.repos.d/sample.repo
and edited this file with this contents.
[sample]
name=my sample repo
baseurl=file://yum/fedora/core/3/base/
enabled=1
~
than i tried using
yum install k3b
but its not working
plese help me out
thanks
i
tried chainging to 3 slashes.
but still it not installing any package, and there is empty file by name yum.d under
/var/log/
and it showing yum succeded at the time of startup
OK, that's a standard error to say that the repository URL can't be accessed. You'd actually get the same result if createrepo failed, since then yum wouldn't recognise the directory as a repostory.
Things to check:
- That the repository URL is exactly right, i.e.
ls /yum/fedora/core/3/base/
Does show the directory with all the RPMs.
- That you are using su or sudo to run the yum command with root privileges. Yum requires root even for the search commands to work fully. If you execute without root against a file:/// repository then you may also hit the problem that your account doesn't have the permissions to access the repository directory.
- That you haven't got any SELinux problems, as SELinux issues often look like file permission errors. To make sure that everything is OK:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.