Server :: RHEL 6 Local YUM Repo?
Aug 18, 2011
I'm trying to build a local YUM repository for RHEL 6 and am running into an issue. I can get the repo to build, but I cannot get the gruoplist. I can't find a comps.xml file to run the createrepo -g command against, like there is in RHEL 5. Here's what I have so far:
mkdir /yumrepo
copied RHEL 6 DVD contents to /yumrepo/rhel6
createrepo /yumrepo/rhel6/Packages
(repo builds its lis of 3500+ packages)
yum list shows the lsit of all files within the repo correctly.
I run gpk-application, and I receive the error "The group list was invalid." I need to create the group list. But I can't figure out how? Can someone please explain what I'm missing here? Never had this much trouble with 5, but I know a lot has changed with 6.
View 4 Replies
ADVERTISEMENT
Apr 9, 2010
i just installed centos 5.4 and trying to make my local repo have groups listing of packages like the mirrors do
so i can make an spin off of the OS to my needs for web servers only / so on but
i cant get my head around the groups making part of the creatrepo
does anyone have any tips or hints or know how to make group listing of the packages
i copyed the DVD to hard drive and the repo .XML files they came with it and tryed that way but no luck yet
im running out of things to try
View 5 Replies
View Related
Aug 16, 2010
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:[local]
name=CentOS-$releasever - local packages for $basearch
[code]...
View 5 Replies
View Related
Jun 30, 2010
I've looked around for examples of how to add a repository to my yum installation. I tried creating /etc//yum.repos.d/dag.repo as follows:I have to play some trickery to post the file here, so please understand. linuxforums won't let me put "urls to another site" in this email.I had to remove the first part of the URL to confuse the linuxforum parser.
View 4 Replies
View Related
Sep 13, 2010
I have created a local repository to install linux with. (class assignment) Created the following file structure off of /html directory;
/yum/base/13/i386
/yum/updates/13/i386
copied the contents of the packages from my fedora dvd;
mount /dev/cdrom /mnt
cd /mnt/Packages
cp -v * /var/www/html/yum/base/13/i386
cd /
umount /mnt
using rsync against fedora mirror updated the base to have compete set of .rpm packages from the Everything directory. Ran createrepo /var/www/html/yum/base/13/i386 Verified repodata folder was created and the contents are correct, shown below
[Code]....
Boot the PC and start the install using a kickstart file (if you need to see it let me know), all runs fine until it gets to the point of resolving dependency then it errors out - unable to resolve dependency against the repository. May not be the exact phrasing but generally speaking to that effect.
View 2 Replies
View Related
Feb 13, 2011
I have a local repository, and declare also a remote one, I want to tell to apt-get to install a package from a local repo, if it exists. it seems that it begins from the remote. here is my sources:
deb file:/home/CD1 squeeze main
deb file:/home/extra6 /
deb http://ftp.fr.debian.org/debian squeeze main non-free contrib
View 1 Replies
View Related
Aug 8, 2011
I am trying to create a local debian repo for 3rd party apps and my own deb's. I have done the following: dpkg-scanpackages debian | gzip -9c> debian/Packages.gz Which did create a file called Packages.gz in the directory However, when I do apt-get update on a client machine I get the following error: W: Failed to fetch [URL] Could not connect to 10.1.1.10:8080 (10.1.1.10). - connect (111: Connection refused) W: Failed to fetch [URL] Unable to connect to 10.1.1.10:8080: W: Some index files failed to download, they have been ignored, or old ones used instead.
View 1 Replies
View Related
Aug 2, 2010
I'm trying to grab "repo" using curl and put it into /usr/local/bin/ but I can't seem to figure out why I'm getting a permission error:
Code:
$ sudo curl https://android.git.kernel.org/repo > /usr/local/bin/repo
bash: /usr/local/bin/repo: Permission denied
[code]....
View 1 Replies
View Related
Apr 15, 2010
I've created a local repository, my web server (apache) is up and running and my repo is inside it, so I want to install debian using it, in the stage of enter manually the info of the debian mirror I put:
1. debian archive mirror hostname:
192.168.10.1
2. debian archive mirror directory:
/repo
But after this, the installation tell me that it doesn't find the repo, I tried several ways, like: http://192.168.10.1; /repo/; /repo/ binary/ but nothing. What is the correct syntax to use my local repo?
View 1 Replies
View Related
Jan 12, 2010
I have a local git repository that pushes to a remote repository. That remote repository moved to a new server. How do I make "git push" and "git pull" push/pull to/from the new repo?
View 3 Replies
View Related
Jul 15, 2009
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.
View 5 Replies
View Related
Aug 16, 2010
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.
But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:
[local]
name=CentOS-$releasever - local packages for $basearch
baseurl=url
enabled=1
After the CentOS repository was up and running I follwed the exact same steps and was expecting to find a Fedora repo up and running (I know, I know, silly me...). However, yum complains it cannot download the repomd.xml. The .repo-File is as follows:
Quote:
[local]
name=Fedora $releasever - $basearch
baseurl=http://icld:8080/fedora/$releasever/local/$basearch
enabled=1
gpgcheck=0
protect=1
Yum returns the following error message:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again
The path is definitely correct - copying the url and pasting it into a webbrowser returns the correct repomd.xml file, so does pasting it to wget.
Any ideas? Does createrepo need any parameters in order to create a working Fedora repository?
View 3 Replies
View Related
Nov 28, 2010
in home I do not have internet connection, but in work I have internet connection, in home I install Fedora 14 for my 6 years old daughter and she use it for play games like supertux and openarena and .So I want install opensuse for my daughter and I want test it. for fedora , I download all packages with rsync in work and move them to home by USN flash and then I make localrepo in home and install all packages , I need , I want do this for OpenSUSE , all of us know DVD , does not has all packages , I need , so I have to download all packages and make localrepo in home and install all packages , I need , Can I do this for OpenSuse or not ,I want download all packages need by OpenSuse by rsysc and make loacl repo, How I can do this for Opensuse ?
View 9 Replies
View Related
May 9, 2010
leaving the discussion is this logical or not. If I download the whole www folder to my hdd for example: from [URL] to /mnt/repos/oss/ and replace in package manager source [URL] with local one file://mnt/repos/oss will this work as it works from http server? What i want to do is to backup chosen repos before my linux release will be not supported anymore.
View 9 Replies
View Related
Mar 14, 2009
I have successfully installed fedora 10 and have rpmfusion in my /home/ directory. i don't know how to edit yum.conf to make yum install from this local repo. i tried once. But when i tried to install vlc i got an error saying some lib****** files are missing and missing dependencies.
View 2 Replies
View Related
Jun 17, 2010
I dont have a internet connection and I want to install VLC. I want to create a local repo for a vlc by downloading all the required packages. I tried to do by downloading all the packages from from VLC repo and create a local repo but failed. Its say this dependency failed and that dependency failed. i tried to manually install each and every dependency but still the problem exists.
View 2 Replies
View Related
Jan 30, 2010
I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?
View 3 Replies
View Related
Mar 2, 2011
is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.
View 3 Replies
View Related
Feb 1, 2011
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?
View 1 Replies
View Related
Feb 8, 2010
i have a Linux Box running RHEL and has no internet connection, hence i need to setup a local repository which i can be able to install packages together with their dependencies.
View 2 Replies
View Related
Dec 14, 2010
what are the major differences between rhel 5.2 and rhel 5.4
View 2 Replies
View Related
Dec 9, 2009
I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.
View 1 Replies
View Related
May 6, 2010
what is configure option of Mysql server from Centos repo? I mean configuration option used before compilation.
View 1 Replies
View Related
Mar 26, 2011
i'm attempting to know and understand fedora more and i will spend probably the next month pouring through all the forums and documents to answer more of my own questions. but there's quite a bit here, so i'd thought i'd ask some noob questions to get me started a little.
ive installed fedora 14 64bit and chosen only kde as the desktop. i selected an extra 2 repos besides the default, fedora 14 -x86_64 and fedora 14-x86_64 -updates. i believe this kernel is installed: 2.6.35.11-83
1. i can only see the 2 extra repo's as being "checked" in kpackagekit, shouldn't i see the default repo also ?
2. i dont have an applet in the system tray indicating the system is up to date, does fedora have this by default ? also after a clean install i ran yum check-update and yum update but the message sayes: "no packages marked for update". i'm not sure if the system is auto-updated during install or not, but with other distros iv tried there is always atleast a few updates needing to be done after install.
3. is kpackagekit the fedora gui package manager ? i dont see any others.
4. i want to upgrade to nvidia drivers, but i think i am missing a non-free repo or something. when i enter: yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64 i get messages stating "no package" i get the same message with yum install nvidia-settings.i also tried this: LANG=C yum --enablerepo=rpmfusion-nonfree info akmod-nvidia but it sayes repo not found.
View 4 Replies
View Related
Apr 5, 2010
Will KDE4.4 eventually move into the 11.2 updates or do I have to add the KDE Factory repo to get this update?
View 3 Replies
View Related
Oct 4, 2010
YaST-->Software-->Online Update Getting error: There was an error in the repository initialization. 'repo-non-oss': Failed to cache repo (139). History: - repo2solv.sh "/var/cache/zypp/raw/repo-non-oss" > "/var/cache/zypp/solv/repo-non-oss/solv"
Output of zypper lr:
# | Alias | Name | Enabled | Refresh
--+-----------------------+-----------------------+---------+--------
1 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Yes | Yes
2 | openSUSE-DVD 11.0 | openSUSE-DVD 11.0 | Yes | No
[code]....
If I disable the repo-non-oss repository the update works fine. The URL I have for the repo-non-oss repository is:
Index of /distribution/11.0/repo/non-oss
This has been going on for over a week. Do I need to use a different URL for the non-oss repository? I live in New York, United States.
View 4 Replies
View Related
Jan 10, 2010
I am currently using 11.2 with KDE but I have had this problem with Gnome and 11.2 RC 1 & 2. This started as an inability to use the internet but I found a way to disable ipv6 in /etc/fstab and I disable it in firefox and that has got me 99% functional. My only issue left is not being able to use any repos unless I can specify a server by IP. I have the opensuse repos working by looking at the mirror list and found one that did not use a DNS name and that was the end of that, but I cannot access packman or any others yet.
View 4 Replies
View Related
Feb 18, 2011
I am setting up an SVN server (svn+ssh) that will be used by students at the university where I work. I was considering in the beginning, one single repository and eventually creating directories for each project inside the repository. It seems to me now, that it is not very secure way of doing things. The directory on the server will be with rights 770 and this means that every student can come on the server and sweep out the whole repository.
Also mistakenly or not, every student can 'svn delete' the whole repository, which could be a nightmare to recover from. An issue might be to create groups and then assign users to groups and then create many repositories and each repository to be assigned with group. This means that I will have to manage tens or hundreds of repositories -- maybe not very common task. What is an optimal solution for this working environment.
View 5 Replies
View Related
Jul 7, 2011
I am running Ubuntu 10.4 with Apache2, SVN and SSL. Both HTTP and HTTPS are working correctly with my website. Although the SVN setup I have is not working. This configuration gives me a 403 error.
Code:
<Location /svn>
DAV svn
SVNParentPath /srv/svn/repos
SVNListParentPath On
[Code]...
This issue is driving me up the walls. If there is any additional information, I will be more than happy to provide it.
View 5 Replies
View Related
Dec 6, 2009
how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.
edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.
View 2 Replies
View Related