LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with installing from local repo (https://www.linuxquestions.org/questions/linux-software-2/problem-with-installing-from-local-repo-831978/)

TheB2B 09-13-2010 07:29 PM

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.

John VV 09-13-2010 07:41 PM

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 .

TheB2B 09-19-2010 12:24 PM

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"


All times are GMT -5. The time now is 07:34 AM.