On 8/29/05, Paul Smith <phhs80@xxxxxxxxx> wrote: > On 8/29/05, Stuart Sears <stuart@xxxxxxxxxxx> wrote: > > >>>Is it possible to install packages without any public key available with yum? > > >> > > >>Edit the corresponding repo file in /etc/yum.repos.d and set gpgcheck=0 > > >> > > >>There is a wonderful Fedora Docu about yum, by the way, see > > >> > > >>http://fedora.redhat.com/docs/yum/index.html > > > > > > > > > Thanks, Peter. But I am trying to install a rpm which is on my hard > > > disk and not on any repository... :-) > > > > > edit /etc/yum.conf > > comment out the gpgcheck=1 line > > (remember to put this back later) > > then > > yum localinstall mypackage-1.0-1.rpm > > (or whatever it's called) > > > > you could also just try and install it without using yum first, if you > > like... > > Thanks, Stuart. The point is that, as far as I know, only yum installs > automatically the dependent rpms. So, to enjoy this feature, I have to > use yum. Or is there an alternative way? > > Paul > Use yum install mypackage-1.0-1.rpm It wil start downloading dependent rpms, and then check the gpg So you have the rpms on your pc and manual install (rpm -Uvh ...) them from /var/cache/yum/reponame/packages (watch out for packages that depend on other packages, use the right order) Then install you're package rpm -Uvh mypackage-1.0-1.rpm Hope this helps, Cheers Bart