On Fri, Aug 04, 2006 at 11:55:52AM +0530, Swain, Cms Adi wrote: > Hi all, > > I have copied all rpms came with my RHEL 4 distribution to a comon > folder in /var/ftp/pub/Redhat directory. Now whenever I install packages > it asks for dependancies. I always need to install the dependancies > first and then the required package. Can I install the package without > being prompted for the dependancies. Please help. http://www.redhat.com/advice/tips/rhce/rpm.html 1. install rpmdb-redhat 2. edit /etc/rpm/macros.solve and add %_solve_pkgsdir /path/to/installtree/RedHat/RPMS/ %_solve_name_fmt %%{?_solve_pkgsdir}%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm Then, when installing, add --aid. -- lfr 0/0 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list