Debian :: Creating Local Repository From 5 DVD Set
Jan 6, 2011
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.
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 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.
I wish to install debian on a number of boxes and have resolved on a network install. I'll first do a minimal install using the network install iso on a usb stick, then reboot and complete the installation using a local caching repo (apt-cacher) on the LAN. As a way of further minimizing bandwidth usage, I wonder if I could extract the .debs from a full installation cd and use them to populate the local repo?
using 10.04 . I am trying to create my own repository for packages.So that updates can be done offline. 1.I copied all packages which i usually use from
Code: /var/cache/apt/archives and put it in folder local_repository 2.took backup for of sources.list
[Code]....
So how to create Packages.gz and how to create repository?
Wondering if someone can lend some insight or point me in the right direction. I'm trying to use OpenSuSE 11.2 to host a master copy of a git repository. I'm guessing that I've still got a disconnect with xinet.d starting the git-daemon in response to a port 9418 request as I never see git show up as a process, even though I see in the message logs, the remote machine making the network request.
I have setup a deb mirror that is syncing the Ubuntu repositories to my local server. I am maintaining various versions of Ubuntu, from Hardy through to Lucid. I am trying to get a copy of just "Karmic" repo's to my local HDD. The problem is all the packages are under one folder /pool:
main multiverse restricted universe How would I sync all the packages for just Karmic and not the other distro's to my local HDD.
I am running Ubuntu 10.10 as my OS. I also have an .iso file of OpenSuse. It has a lot of packages on it. Can I add it as local repository so that instead of downloading the files from net, if they are available on DVD then I can use them.
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"
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.
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.
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.
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 use a local repository for ubuntu and when i use update manager it always shows gpg warning and shows that the information is out of date. Is there any way to suppress this warning. ( In Ubuntu 9.10 ) , so that update manager never compain about the local repository.
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 would like to set up a local repository, that serves my LAN, and store it packages I found on the web (using pkgs.org for example) , can you please link me a guide regarding this ?
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.
I've copied a number of deb files from my ubuntu Natty dvd to /home/bob/Natty-DVD/pool. And I ran: sudo dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz Which created the nesc. Packages.gz file. Then I edited my /etc/apt/sources.list and added the line: deb file:///home/bob/Natty-DVD ./ and did a sudo apt-get update But, the list of repos doesn't include my /home/bob/Natty-DVD. This is on a fresh install of natty.
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?
I am setting up a local YUM repository in which I will have one computer accessing the RHN network and the clients will pull the updates from that server.
I have seven linux computers that I need to have access this repo server via apache.
I called Red Hat support and this what they told me to do....
On the YUM Repo Server - > go to /etc/httpd/conf > copy original to something else (you name, just save the original) >edit the httpd.conf file > add in ServerAdmin root@10.24.79.195
[Code].....
how to configure apache -- when I was on the phone with Red Hat we went so fast that I couldn't write down everything.
Last week I successfully configured a local repository for CentOS. I did it because I'm teaching a course with this distro. I am also teaching another course with opensuse, sadly, I could not configure a local repository for opensuse. I thought this would be easier. Local internet connection is very slow, so I need to configure the local repository. I have searched for information on the novell site and find nothing.
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.
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 using RHEL5 and I did a createrepo -v --update /var/www/html/yum/base/5Server/x86_64/rhel-x86_64-server-5/getPackage/ and the output was
Scanning old repo data Indexed 10031 base nodes Killed
Now is that a error? I didn't press Ctrl-C or anything like that, it just finished that way. I have a local yum repository and I use reposync to sync up my local repository with the Red Hat network. Everytime I pull down the updates from Red Hat I used createrepo with no options but wanted to try the --update to see how much time it would save. Anyone have any ideas why it is it was "Killed"