LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2010, 07:29 PM   #1
TheB2B
Member
 
Registered: Feb 2007
Posts: 75

Rep: Reputation: 16
Problem with installing from local repo


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

[root@fedora]# ls -l /var/www/html/yum/base/13/i386/repodata
total 26416
-rw-r--r-- 1 root root 14224799 Sep 13 10:03 filelists.xml.gz
-rw-r--r-- 1 root root 6357754 Sep 13 10:03 other.xml.gz
-rw-r--r-- 1 root root 6448581 Sep 13 10:03 primary.xml.gz
-rw-r--r-- 1 root root 1379 Sep 13 10:03 repomd.xml

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.

I'm sure I have done something silly but any help would be greatly appreciated.
 
Old 09-13-2010, 07:41 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
just how big is that local repo ?
50+ Gig or more -- could go to 100+ Gig in size

if it is only a few meg then there is a problem

and did you make BY HAND a "local_repo.repo "
and is it enabled ? " enable=1"

look at the dvd installrepo file as a template

PS. this is your homework so i will only ask pointed questions / and pointers -- you need to find the answers .

Last edited by John VV; 09-13-2010 at 07:43 PM.
 
Old 09-19-2010, 12:24 PM   #3
TheB2B
Member
 
Registered: Feb 2007
Posts: 75

Original Poster
Rep: Reputation: 16
Sorry for the delay in getting back, my test pc had a processor issue, it needed replacement and being an older box took some time finding a suitable replacement.

The local repo is over 70 gig in size, fair to say it is complete.

Think we are not discussing the same problem, but I could be wrong. Now with the box running I again attempted a install from my local repository with the following message;

"Unable to read group information from repositories. This is a problem with the generation of your install tree"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling a Local repo... Alexvader Solaris / OpenSolaris 5 07-09-2010 07:25 AM
problem creating local yum repo dlee12 Linux - Newbie 3 08-13-2009 03:49 AM
local repo pravlin Debian 2 07-23-2009 08:22 AM
local apt repo anantshri Linux - Software 1 01-02-2006 06:33 AM
local apt repo adem0rdna Fedora 5 02-08-2005 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration