Fedora Installation :: Creating Local Repository At Installation Time
Feb 26, 2011
I am preparing an installation for a network with small subnetworks across the country.As such, I am setting up a central repository, but would like the installation of some machines to turn themselves into mirrors at installation time (at least for their own rpms) to save bandwidth for the rest of the machines in their own sub network.Is it somehow possible to set up a local mirror at installation time?I was watching how anaconda is installing from a repository and saw that it erases each downloaded rpm as soon as it is installed, but thought maybe someone here would have an idea.
I am organizing for the 14th march a Linux installation fest, and I would like to have a local server with all packets that I will need to complete the installation.BUT I would like to have these packets in a way that is usuable by yum, so like having a local repository server.You will agree with me that I cannot mirror the entire repository server (for disk space) but some packets yes, but I don't know how.
I'm having trouble installing Fedora 11 using the URL method. When I put in a F11 netinstall CD, or even Disc 1, I press tab on the first option and add "askmethod" to the end of the text. Each time I point the installer to my local FTP and press enter after typing in the FTP url, the installer just hangs there. I've even tried deleting ALL the files from the F11 folder on my FTP server and downloaded ALL the files at: ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/
Still...the same thing. When I pointed the installer to: ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/ Everything worked fine, albeit slow as it was DL from the NCSU FTP server. Am I doing something wrong with my FTP server? It is anon, so there is no authentication issues.
I freshly installed debian lenny using the 5 DVD set that I downloaded from debian.org. I want to create a local repository for all packages that are available in DVD so that I do not insert the disc everytime I install a new software. I have searched various forums but not able to figure the right way to do it.
How to create a local APT repository for the intranet so that everyone in the local intranet can install directly from my local repository instead of communicating to the internet?
I have a Fedora 12 and OpenSuse DVD with me. It consists of lots of packages and hence to install these packages I don't have to download them. What I want to do is copy the package folder on my local machine and then add them as repository in Synaptic Packet Manager.
The school where my wife works has a local repository, which makes upgrading really easy (considering I live in Ethiopia and bandwidth is limited...). But the problem is that I don't know how to upgrade the sources. They are all still saying Lucid instead of Natty.
how do I update my sources so that they are relevant for Natty? Is it just a matter of changing "lucid" to "natty"? Or something more complicated?
OK. I've successfully mirrored the Karmic Koala repositories. Now I have, and will have as time goes on, various computers I'll want to install Ubuntu on and point at the repository mirrors (Karmic now, Lucid later). Can I create a modified Live CD that will set up out computers from the beginning with /etc/apt/sources.list pointing at our mirrors, so we don't have to edit it later or tell people to edit it later? I've looked around and not found instructions on how to do it so far.
if i had a set of dvd's with ubuntu software repositories on them, but i didn't want to have to eject and load a new disc everytime i wanted to install packages with dependencies over several discs. would i be able to copy the discs to my harddrive and set up synaptic to use a location on my harddrive with subfolders containing packages? i tried these instructions [URL] but they seem to get a bit blurry when it gets to the part that i'm interested in ie. nfs (works only if the computer is connected to a NFS share)
I am installing a cluster which is hidden from the rest of the world and there is no router either froma general login node. I would therefore require a local repository of the updates to CentOS5.4. When I checked I only found instructions for a full mirror. As I have no room and neither the human resources to setup and maintain a full-blown mirror, this is not a solution. However if I try to find updates for 5.4 to download in a repository-type of way I fail to find a solution. Maybe I am just not looking in the right places.
Today I installed Fedora12 from the DVD, so this is my first contact with all of you. The last years I ran very well with gentoo, but the time for system maintenance got to big the last few times I updated the system, so I decided to change and here am I. The Problem: My system is newly installed from the DVD and I was trying to run the first update, but got the following errormassage by KPackageKit:
Code: Error Type: Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main backend.dispatcher(sys.argv[1:]) File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher self.dispatch_command(args[0], args[1:])
[Code]...
It occured after informing me about the amount of packages that need to be updated and a message about some dependencies that have to be newly installed. At the moment I'm a bit lost about what to do. Also I realy don't know which system-information would be useful - let me know and I will answer.
I installed Fedora 13 in my new system from DVD image. Now I want to update all repositories. I coul'nt update. error message as below: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again
I updated my up to date F12 to F13. I have what must be a 640X480 display with no way to change it. I get an error:
"Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again" on all Yum commands so no yum installs are possible. I don't have the /usr/bin/GLX command So theAIGLX doesn't work.
I just did a fresh install of F14 using a Live USB. I can't do a yum update, I'm getting Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.I've done a yum clean all and I've tried coping the .repos from another F14 system that's working fine.
just installed a fresh copy of fedora 12 and getting this error when trying to update the system.
Code:
Error Type: <class 'yum.Errors.RepoError'> Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module> main()
Running System>Adminstration>Software Udates, I get the following errors
[code]...
Similarly, if I click on System>Add/Remove Software>Package Collections, I get No groups could be found. A cache refresh should fix this. I don't see how to do a cache refresh. I tried rpm --rebuilddb, which didn't do any good and um clean all which also did no good. I did manage to do the updates with yum updates But I don't want to have to use yum at the command line all the time to do updates.
I did the big update just now and then another update popped up right away. The update is about creating a common metadata repository. I can't see the official name of the application it's trying to install/update. Anyway, when I try to do the update, I get an error that says, "createrepo-0.9.9-4.fc15.noarch requires yum >= 3.2.29-8 : Success - empty transaction"
I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.
Well my local LUG has developed a cooperation with the university. Their major is music. So we would like to develop a local repository to help the updates to be faster. I checked the How to set up a local Yum Repository on Fedora 8. I guess it's same with 12. My questions are:
1. How much space do we need?
2. Since we might setup repository for another distro, is it a way to be done with other distro? The above address describes only how to make it in Fedora.
3. Since we'll have it installed and will be usefull for the university, can we make it available to the rest of the world? Maybe contact someone for this.
I have recently installed Fedora 12 on a desktop PC and as my first experience of Linux, I am really impressed. I have now installed several packages and have reached a point where I would like to share the PC with other user (family members in the same house).My question seems so basic I am almost embarrassed to ask it but could some one explain the best way to create a local shared directory that could be used to store files accessible to everyone (e.g. music, photos, videos, documents etc.)There will be three users and as it is a family PC, they will all have full access.
Reading posts from various forums, I am little confused about what is the best way to proceed (i.e. what is Linux best practice). The simpler of the two methods is to simply make the directory using the mkdir command, followed by the chmod command to assign full access rights. Fore example if the local shared directory is called 'share'. The alternative approach assigns a group, a group administrator etc and then adds users to the group.
I have an installation problem that I cannot resolve. The problem arises during the installation process, using the Fedora-10-i386-netinst.iso image, burnt onto CD.Immediately after setting up the network card, I am given the error "Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again". Since the installation process is text-based, I do not have the option to edit the repository list, and consequently, have to abort.This is the spec of my machine:
Pentium 166 (yes, it's very old, but it should work, no?) 132MB RAM (just about enough ram for minimilistic server) 80GB hard disk
I am looking for a thorough document that explains:
1) Creating a local repo
2) Using kickstart to access that repo
3) Performing a network install using kickstart
Some background: I have several racks of servers that I need to install Fedora on. These servers CANNOT be placed on the internet; hence the need for the creation of a local repo on some other machine (which will be connected to the servers via a local network). I am not sure how to create a local repo, so that one of my questions.
I'd also like to automate as much of the install as possible and kickstart is the only thing I know of for that. I am no guru with kickstart, but I have used it before to successfully install Fedora Core 6 -- I am hoping there are no great changes with the current releases of Fedora (12-14)?
A local repo of Fedora Core 6 was created by someone (some time ago) on a workstation (running FC6). This is what I've used in the past to install FC6 on previous servers (via a kickstart CD). However, I dont have the documentation on how the repo was created or how the kickstart CD was created I've gleaned some ideas ok kickstart from the pieces I've read on web, but none of it has been specific to the latest releases of Fedora.
It is not difficult to set up a regular local repository (rpms) and manage a fedora system with it using yum. I wonder if the process is same for deltaRPMS. Has anyone successfully set up a local deltaRPM repo or is this something reserved for online repos? How does one achieve this?
I'm a new user of fedora 11 n an off line user too. I want to install the packages from a dvd which contains all the repositories and suitable key files for it. I dono how to configure that.
Objective -----------Installation of KDE from my installation DiskHow I was doing?---------------------I was reading the help from http://docs.fedoraproject.org/en-US/...gui-login.html1. I created the repo in my home folder . the name of my folder is "kderepo"2. Added entry for the repo in the /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-update.repo file3. as a root giving the comand #yum install groupinstall /home/sujal/kderepo (sujal is the user name)Observation : Installation is failing with message
[root@localhost sujal]# yum groupinstall kderepo Loaded plugins: langpacks, presto, refresh-packagekit Setting up Group Process