where are downloaded RPMs stored?

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.

Where would they be?

Thanks

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)…

perhaps join Project Evergreen
<http://en.opensuse.org/openSUSE:Evergreen> can provide you the ease you
seek to add new applications…but, i doubt it…

note: 11.3 dies in 84 days, and 11.4 in 328.


DD
openSUSE®, the “German Automobiles” of operating systems

Yes, but it’s the corporate image and I have no choice in the matter. There is no chance to upgrade and the servers are isolated on our internal network with no outside connectivity.

Let me rephrase the question… if I install 50 RPMs from the repos, are the RPMs stored locally so I can put onto a USB stick and take them to another box with no network connectivity?

What about downloading the full repos to a large enough usb harddrive and then
add in yast this repos on the harddrive so you can use your normal package
management.

ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.1/repo/oss/
ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.1/repo/non-oss/
ftp://ftp5.gwdg.de/pub/opensuse/discontinued/source/distribution/11.1/repo/oss/
ftp://ftp5.gwdg.de/pub/opensuse/discontinued/update/11.1/


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia ION | 3GB Ram

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.

ftp://ftp5.gwdg.de/pub/opensuse/distribution/11.1/repo/

i would also encourage you to follow the previous advice to join/participate in the Evergreen project as they are updating packages to keep these older installs viable and these are available at:

ftp://ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Evergreen:

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 :slight_smile:

<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.

great - thanks for all the advice. I think I can mark this as solved

On 2011-10-24 21:16, olivercfc wrote:

> 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.

Zypper will fail to update the repo list. You will have to use rpm or
create a repo on a dir. Or a set of dirs, rather.

> 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

Yes, there is, but the default is to delete them. It is
/var/cache/zypp/packages/*

However, openSUSE 11.1 is obsolete. There are no more updates, unless you
use evergreen.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)