Using YAST as default to install rpm downloads

As I have had some problems using kpagager I’ve used file asociations to set yast as the default.

When I download an rpm the yast icon bounces around for a while and then dies.

I assume this means I need another set of yast launch instructions. Any ideas.

Suppose I could download to a directory and set it as a repo but would rather just have it launch for rpms as it’s quicker.

11.4 KDE 4.6.0

IF ANYONE WANTS TO KNOW WHAT PROBLEMS PLEASE SEARCH FOR MY POSTS.

John

Maybe you have problems with yast2. But have you tried to download a *.rpm package using terminal?

I suppose I could use a terminal but very much prefer never ever going there and would much prefer to use yast as outlined. I suppose I will have to try the the directory, It seems to have no problems with yum types with just rpms in it.

John

Do not be afraid, I use terminal so try to install a program through it.

No it’s not fear it’s a matter of principle. I do use a terminal when I need to which is often just to compile code. Very very little else. I’ve used too many others.

John

I want to ask you a question. If terminal solve you this problem?

On 2011-04-25 16:36, ajohnw wrote:

> I assume this means I need another set of yast launch instructions. Any
> ideas.

yast --help

> IF ANYONE WANTS TO KNOW WHAT PROBLEMS PLEASE SEARCH FOR MY POSTS.

Huh, rather the other way: you explain your problems if you want help.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

On search my posts - I added that as I do not want help on the problems with Kpackager. Apart from problems it’s not suitable for my needs really.

On yast help thanks but this still means that I need the kde launch .desktop file option to pass yast the rpm when it has downloaded or clicked on. One thing though given that info it looks like yast will still install them. Other .desktop files may give me a clue but as I also need the same sort of info for another app I could do with finding the kde doc on .desktop file and their content.

Sorry I wont be trying the console - no time at the moment and it really is a matter of principle with me. I will do almost anything to avoid using the terminal.

John

On 2011-04-25 18:36, ajohnw wrote:
> Sorry I wont be trying the console - no time at the moment and it
> really is a matter of principle with me. I will do almost anything to
> avoid using the terminal.

However, to learn the appropriate syntax for yast to install an rpm and
exit, you need to use the command line till you find out how. I gave you
the necessary hint, but I will not go further. It is you who has to make
the work.

So, start a terminal, do your jog, find out, then you can create the
launcher with that information.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Linux is not only graphical interface, it has also terminal and commands. @robin_listas is right. Try with terminal, it is not difficult. With terminal and commands you will learn openSUSE and linux.

This is not a principle to not use terminal && his commands, but it is a depriving of knowledge.

Ok but don’t you think people are entitled to have their own opinions. As to knowledge I have work on " computers " of one sort or another at various levels for rather a long time even the level that sits right on top of the hardware. Thank you but I do not want any more knowledge. Picking that sort of thing up for me is no longer a thrill and in many cases their is no need. There will be less need as time goes on and more releases are made as well.

Should also clear one thing up.Linux is the kernel, the console is a shell usually bash a child of the 70’s, bash stands for born again shell, there are others. Kde is a c++ wrapper that interfaces and uses qt. Where one works is a matter of choice for the individual really.

To tell you the truth I am often tempted to have a go at short circuiting the shell. Not that I ever will but shells generally break down to relatively few core function and I am far more comfortable working on that sort of thing than many others. Unfortunately I rather like working in assembler so doing that sort of thing probably isn’t really a good idea.

John

I know. But try to use terminal. Do you want to give commands?

On 04/26/2011 11:06 AM, ajohnw wrote:
>
Unfortunately I rather
> like working in assembler so doing that sort of thing probably isn’t
> really a good idea.

John,

just a word to the wise…this is a world wide forum of users helping
users…most here don’t have the experience you do, nor the needs that
you do…

as an example, here you might run into a young man in college in foreign
country who is eager to help you, but unable to understand that you are
not also a young guy who got into this game after Win98 was too old to
cut the mustard… (and, he may not even understand what mustard has to
do with this brief tangent)

what i’m saying is you are VERY welcome to hang here…but, if you do
you are gonna have some frustrating exchanges…you might find
yourself more comfortable over discussing these things in an openSUSE
mail list…it is there you will find the developers and system builders
who will have the level of technical/guts background you may need to
discuss…

have a look here:
http://en.opensuse.org/openSUSE:Communication_channels

it is ok to be in both places…some questions are better there than
here, and vice versa…

so, lets go back to your question in this thread:

As I have had some problems using kpagager I’ve used file asociations to
set yast as the default.

When I download an rpm <snip>

first, you had problems with kpackager (i will NOT go search your thread
to learn what problems) and you ‘solved’ it by mucking around in the
file associations…how did that work for you?

not very well i see…so, try to unmuck that and then we can proceed
with: where did you get this RPM which neither kpackage kit nor YaST
seems to want to process?

what is the application you wish to install? is it available in an
openSUSE repo? if so, why not do the install the normal openSUSE way
(see: http://en.opensuse.org/Concepts_package_management)

second: you wrote

<snip>
When I download an rpmthe yast icon bounces around for a while and
then dies.

I assume this means I need another set of yast launch instructions. Any
ideas.

wrong assumption. don’t muck around with the launch instructions,
instead, right click on the RPM and select “Open with Install/Remove
Software”…and, if that does not work and you do not KNOW what the
problem is, then ask…because you seem to know so little about this
system that you may wander off onto the wrong path again…

please, note: not every RPM you will find on the net will install on
openSUSE…and, trying to force it is gonna be a frustrating experience
for you…and us…


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
Q: What do you get if you divide the circumference of a jack-o-lantern
by its diameter?
A: Pumpkin Pi!

Thanks for the link to the opensuse mailing list. I didn’t know there was one.

On rpm’s this one is opera which will install without any problems using kde install. I assume that this is part of kpackager which I’m not at all happy with. It’s a case of waiting to see when and if it catches up with yast and it taking down one of my installs. I’m using the opera sites rpm because on a previous install I noticed a silly bug and would like to tell them about it, I haven’t checked to see if yast has it. I am also using it as a test for what ever I manage to do to get yast working with a click on an rpm.

On using yast there was only one association for click installing rpms. An earlier post pointed out how to obtain the option yast SEEMS to need to work with an rpm provided this way. This can be provided by a .desktop file which is where this thread started. I asked here as finding the required info to do this is likely to be difficult even in the kde doc’s. Which is where I am about to look. I will also ideally need to add icons which might prove interesting. For me this sort of things is what KDE is all about.

I take your point on replies.I know but it’s difficult and I do not like being rude by simply ignoring any replies. Also apologies to the 2 other posters. I had my wires crossed as I’m determined to do it from the desktop. I do know that I can run yast from a terminal and thanks to the --help hint I can now easily get the correct option.

By the way - If I force a package in via yast have no fear there is no way I will interfere with the basic installation or ask about any problems it may cause on here.

As to knowledge this KDE in real terms from my point of view is not really that different to 3.x. I do know my way around that but only as far as I need to. As to the shell I only go as deep as I need to as well and try to avoid using it. I often ask questions about the correct incantations. 2 on here haven’t been answered, How to bring KDE and X down with the shell paths maintained or how to set the paths from safe mode. There should be a file some where that does the latter and maybe other things too. I’ve had good help on xorg.conf and installing video drivers from several sources on here with perhaps a little miss understanding about my way of doing things. That’s down to the eternal problem of docs being out of date and me needing some understanding of exactly what I am doing. As to the results the view on that is up to the individual. It came from several posts in a number of places. The nvidia-settings problem is unfortunate but another post may have given a clue as to what is causing that. It might just be that I’m not allowed to use X but it’s far more likely a problem with the lauch yast installed. I hoped some one would copy and paste a working one into a reply.

John

On 2011-04-26 11:43, DenverD wrote:

> what i’m saying is you are VERY welcome to hang here…but, if you do you
> are gonna have some frustrating exchanges…you might find yourself
> more comfortable over discussing these things in an openSUSE mail list…it
> is there you will find the developers and system builders who will have the
> level of technical/guts background you may need to discuss…

I doubt it >:-)

If he mentions there that he doesn’t want to touch the terminal, that it is
obsolete and should be removed, things like that, he should expect VERY
harsh words. In flames, actually. The mail list can be quite hot (short?)
tempered. I can imagine the words, so I will not say it.

I guess the people with the expertise may not even bother to reply :wink:


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

On 04/26/2011 02:36 PM, ajohnw wrote:
>
> Thanks for the link to the opensuse mailing list. I didn’t know there
> was one.

welcome

> On rpm’s this one is opera which will install without any problems
> using kde install.

ah, see there is the root of this problem…you did the
oh-so-last-century thing of going to the Opera web site and fetching a
package…try this:

open YaST, go Software Management, type opera, up will pop a list on the
right, click to put a check mark in these opera & opera-kde4, then click
Accept…it may throw up a list of stuff it needs to install to make
opera work (aka: dependencies), accept the list and soon opera will be
installed and automatically added to your menu system and have the
documentation installed and be easy-peasy to uninstall with YaST
(open, go software management, right click on those two, pick uninstall
(or maybe delete, i forget) then click “Options” at the top of the
window, and pick “Cleanup when deleting packages.” click accept and Bob
is your Aunt.

> I assume that this is part of kpackager which I’m not
> at all happy with. It’s a case of waiting to see when and if it catches
> up with yast and it taking down one of my installs. I’m using the opera
> sites rpm because on a previous install I noticed a silly bug and would
> like to tell them about it, I haven’t checked to see if yast has it. I
> am also using it as a test for what ever I manage to do to get yast
> working with a click on an rpm.

yast already works with a click on an rpm! just right click and pick
“Open with Install Remove Software” you will then be asked for the root
pass and YaST will pop up and do its thing…easy-peasy!!

>
> This can be provided by a
> .desktop file

you are on your own there…i’ve been using linux since last century and
have never needed to touch a .desktop file!!

> I take your point on replies.I know but it’s difficult and I do not
> like being rude by simply ignoring any replies

it is easier for me (and the other side) for me to be rude by ignoring
than being rude by pointing out the complete lack of understanding
displayed (and, i want the clueless to hang around with all their zeal
for helping…because if they hang long enough i can take a nap.)

> As to knowledge this KDE in real terms from my point of view is not
> really that different to 3.x. I do know my way around that but only as
> far as I need to.

i don’t do the nuts and bolts…i like the easy way (read and follow
user level instructions)

> 2 on here haven’t been answered, How to bring KDE and X
> down with the shell paths maintained or how to set the paths from safe
> mode.

i can’t answer either…heck, i don’t even understand the Qs!

there are LOTs of other folks here which also don’t understand the
problem, the question or the language–but will give you an answer
anyway…because they don’t wanna be rude by not helping, maybe…or,
they don’t wanna miss the chance of increasing their post count–which i
wish they would do away with–EXCEPT it is about the only way a new guy
in town (like you) can tell the coaches from the water boys… :slight_smile:

the pretenders usually get tired of never guessing a correct answer and
leave, eventually…


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
Q: What do you get if you divide the circumference of a jack-o-lantern
by its diameter?
A: Pumpkin Pi!

lol! Enough Denver

If I right click on an rpm no sign what so ever of yast until I messed with the associations and added it. I’m just about to put it back as it was. In that state it doesn’t look like yast to me

As to using YAST - by know I hope I can. As to opera I did mention why I used the one off their site. It’s a very under rated browser actually these days. Not popular in the past as system managers often made use of it to limit their punters horizons. I’ve suffered that at one point but I have no such hang ups. They have added a rather interesting button to it these days too. Saves space and the commands it contains aren’t used much but their immediately if needed. Basically neat.

Really playing with KDE as I intend is no difference to sh ---- ing in the shell. This was very very easy in 3.x but 4.x is tbd I may just be able to copy, rename and modify the existing yast launch file.

On the paths in real terms a few mins with google and a file search should find the file. It will be what I choose to call a batch file. No idea what they are called in the shell but it would be highly unusual if it doesn’t exist. If I can make sense of it which is very likely I then have the opportunity to install an nvidia driver directly as they come from their site and then have no need to find out where the current nvidia suse repo is. I did find the http one but it seems to be empty. So used the other ftp one.

On heated discussions about using and not using the shell I have no wish to get involved. Each to his or her own and the same for me please. :expressionless: I will try to avoid expressing my opinions in that direction.

John

On 04/26/2011 07:06 PM, ajohnw wrote:
>
> lol! Enough Denver

it will be enough when your troubles are history.

> If I right click on an rpm no sign what so ever of yast until I messed
> with the associations and added it.

then you have a bad install…no doubt about it…11.4 (and as far back
as 10.3, at least) is born with: right click on RPM. select something
(it used to be “Action” > “Install with YaST”; now it is different
wording, but same action)

did you do this http://tinyurl.com/2ebcf27 before install attempt?

if not, do it now…if you didn’t have a perfect install disk, you know
what they say: Garbage in, garbage out.

> I’m just about to put it back as it
> was. In that state it doesn’t look like yast to me

well, maybe ‘they’ changed it all away from YaST, but i kinda doubt it…

> As to using YAST - by know I hope I can. As to opera I did mention why
> I used the one off their site.

i saw that, after sending mine…

>
> It will be what I choose to call a batch file.

now you are talking a foreign language…i guess next you will tell me
you think the best way to install software is to download a file and
double left click on it…

to make progress you will need to move on…

> No
> idea what they are called in the shell but it would be highly unusual if
> it doesn’t exist.

are you talking about a script?

> If I can make sense of it which is very likely I then
> have the opportunity to install an nvidia driver directly as they come
> from their site and then have no need to find out where the current
> nvidia suse repo is. I did find the http one but it seems to be empty.
> So used the other ftp one.

why do you persist in trying doing it the way one might if running a
completely different operating system?

want to install a nvidia driver? look here:

http://tinyurl.com/37v9y7m
http://en.opensuse.org/SDB:NVIDIA_drivers

there is zero need to get fancy, make faulty assumptions and murder your
system, and then have to backup and start over–if that is what you
wanna do, say so and will stop—and, i will ask you to also stop
posting questions that don’t make sense because you have done
something, or tried to do something that just won’t work.

> On heated discussions about using and not using the shell I have no
> wish to get involved. Each to his or her own and the same for me please.
> :expressionless: I will try to avoid expressing my opinions in that direction.

you don’t wanna use BASH, i don’t care…but imho, this is not the best
distro, for folks with that requirement–i hear Ubuntu is an African
word meaning “I can neither set up Debian or spell terminel/shall.”

or, try Apple and you will get the benefit of a modern, secure, virus
free, dependable *nix-like but shell/terminal free interface…

the down side is: in either of those cases you will still need to learn
how to effectively administer the system…


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
Q: What do you get if you divide the circumference of a jack-o-lantern
by its diameter?
A: Pumpkin Pi!

Of course I checked the media before installing also the md5 if there was one.

I only use the term scripts if they contain what might loosely be called plain english. These are probably used at the kde ad qt level. On some systems such as windows it’s important to differentiate between the 2 otherwise others would get the wrong idea.

Some one else provided the 1 click nvidia link a while ago and it didn’t work out for me. There is lots and lots of info on here and elsewhere on the web about installation. People even seem to have had problems getting x off nouveau. One install provided me with a driver helper that looked to have something to do with kde. Worked perfectly. I was also provided with links to a number of how to’s. I also looked at how to’s on the nvidia site. Lots look to be out of date eg an empty http repo. A post provided an ftp repo so used I used that and then sorted out xorg.conf with help from Deano. I then collected it together and posted this -

Installing an nvidia driver - easiest I have found to date.

Why because I didn’t find the sticky post at the top of the forum much use. I had hoped some one such as yourself would extend that may be with the links you have just posted and any other useful pertinent information. The problem with links though is that they often change - even the one I have posted. That’s why I suggest checking it is there first. I would also like to be able to install the drivers as per the ones that can be downloaded from nvidia. Hence my departure to shell paths. Some one on here has done that and even received congratulations. You have probably read the post. I’m not happy with the method as I think that correcting the path problems at the safe mode prompt is a lot quicker, less intrusive and easier. Looks problematic though as the rather simple and typical “echo $path” produces a blank line and the file login.defs paths can not be as simplistic as the title suggests. However “export $path” does tell me what I need to know to track down nvidia’s install shell script’s problem.

As to questions about kde’s inner workings this is the apps section and many kde users will want to do that sort of things. It was one of the main points of the desktop. Gnome is/was an entirely different kettle of fish.

John
No time to correct my sometimes odd typo’s on this post have to go out

Curious thing now I’m back with 64bit 11.4 there is an option to install rpm’s with yast.

>:( Doh I was looking forwards to creating a new desktop file.

John