YAST question

All,
I downloaded an rpm and when trying to install with Yast it ends up installing any updates that were available since. Is there a way to tell i to just install the rpm I downloaded and not everything?

you can insall a rpm from the terminal as su
you need to cd to the dir where the .rpm is located

rpm -ivh <packagename>

And from

su
# zypper install <rpm package>

On 02/22/2011 02:06 PM, markdjones82 wrote:
>
> I downloaded an rpm and when trying to install with Yast it ends up
> installing any updates that were available since. Is there a way to
> tell i to just install the rpm I downloaded and not everything?

it is unlikely to have installed any “updates”…

if you elect to install (say) SomeApp 1.2.2, it will NOT look around
then internet, and if it finds version 1.5.6, install that instead…

it is much more likely you saw it installing “dependencies”…which
are those other bits of software which the rpm you are installing
must also have available on your machine in order for the rpm
contained application to function…

YaST is programmed to read inside the RPM and then find and provide
the dependencies needed…it is a GREAT feature which is much
appreciated…

if you do not want the dependencies, then do not use YaST—instead
use the rpm command and do not install the dependencies
requested…when you have finished you will not have a functioning
application…but, why would you want that?


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

I supposed I didn’t word my question properly. I know how to install an rpm individually and also how to use zypper.

I am new to suse though and don’t know Yast to well. It seems if I open the RPM with YASt it wants to apply any system updates or package updates unrelated to the RPM. Just any updates that are available.

Is there no way to tell yast to just install that rpm without all the updates from the system etc? Or is it just install anything that needs to be udpated at the time?

On 02/23/2011 04:36 PM, markdjones82 wrote:
>
> I supposed I didn’t word my question properly. I know how to install an
> rpm individually and also how to use zypper.
>
> I am new to suse though and don’t know Yast to well. It seems if I
> open the RPM with YASt it wants to apply any system updates or package
> updates unrelated to the RPM. Just any updates that are available.
>
> Is there no way to tell yast to just install that rpm without all the
> updates from the system etc? Or is it just install anything that needs
> to be udpated at the time?
>
>

to directly answer your question: disable the updates repo and it will
not try to update your system (won’t try because it won’t know what to
update. but, keep reading:

ok, i can only guess: i guess this is a rather new install of openSUSE
11.3 (or ??) and you completed the install routine without being
connected to the internet or elected during install to not update as
part of the install…and then the next thing you did was want to
install this RPM…

the thing is that if you have not yet given YaST the chance there
will be a LOT of packages on your system which is at the level of
11.3 on the day it was first born (because that is the code on the
DVD/CD), and it is routine to bring your system up to the current
state at the first opportunity…otherwise, you are gonna have a pile
of bugs…it is just the way openSUSE is, it comes out and in the
first couple of months it gets LOTS of patches and fixes…(as i
recall there have been three or four new kernels for 11.3–and, you
WANT the latest)

the short version of that is: let YaST install the patches/updates…

otherwise: it is NOT common for YaST to want to install updates to
programs you do not have, nor just tag on to whatever RPM you want to
install…

by the way: i guess you know that most things you might want to
install are probably in one of the openSUSE repos, and you don’t need
to go hunting around the net for RPMs packaged for red hat or whatever…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11