We have a server at work running opensuse 11.1 that has no internet connectivity but needs a number of apps installed. I downloaded an 11.1 iso and installed it in VirtualBox and my plan is to download/install all the apps locally and then scp the downloaded RPMs, along with any dependencies, to the real box. I’m having trouble locating them though.
Normally RPMs are available in the Open Build Service within various repositories. If you know the apps you want, you can search for them in software.opensuse.org. But 11.1 is no longer supported by openSUSE; so you may be better off trying something like rpmseek.com or searching the forums for threads which give the links to alternative repositories.
My problem is that the apps I want have a ton of dependencies so I’m trying to avoid getting each RPM one by one. I’m hoping I can go to the virtual o/s and do something like:
zypper install myapp
and have it download myapp plus, lets say, 99 libraries. I could then take the 100 downloaded RPMs and install in one go on the isolated box. I was assuming there would a directory in /var or something with a cache of the downloaded files but I can’t find it anywhere
On 10/24/2011 09:16 PM, olivercfc wrote:
> but I can’t find it anywhere
do you realize that openSUSE 11.1 ran past its end of life on January
14th 2011 (cite: <http://en.opensuse.org/Lifetime>) and has received
none of the several (many?) critical (security) updates since!
(consider the possibility of a ‘bad guy’ attacking from within–rather
than from the net)
suggest you make sure the moat is full and effective, or upgrade to a
supported version (11.3 or 11.4)…
the Evergreen project is being supported by a mirror at ftp5.gwdg.de and that is the only place i am aware of that you will find the ability to download packages that were once offered by the standard opensuse repos.
after adding the appropriate repos you will need, then you will have to enable the ability to save the downloaded rpms to local cache with either the yast2 Software Repositories gui (KeepDownloadedPackages checkbox) or using “zypper mr -k repo” from terminal. Bear in mind that if you use yast2 Software Repositories to change this setting the Software Management module (if running) must be restarted before the change is implemented (i made that mistake once which really wasted my time).
after you do your software install now, the downloaded packages should be stored in /var/cache/zypp/packages/*.
should do what you are asking, good luck
<edit> what i should have said that would have been more clear is that if the Software Management module of yast2 is running and you change the caching of downloaded packages with either method (yast2 or zypper), the Software Management module needs to be restarted.