LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   suse yast error (https://www.linuxquestions.org/questions/linux-distributions-5/suse-yast-error-465763/)

efm 07-19-2006 11:22 PM

suse yast error
 
hello,
i think my yast is in error,
because every time i try to install any rpm,
example, if i want to install planner-0.12.1-0.pm.3.i586.rpm,
the yast will say:

packages haven't been found in the medium:
plannerplanner

and if i want to install MozillaFirefox-1.5.0.4-0.1.i586.rpm,
the yast will say:

packages haven't been found in the medium:
MozillaFirefoxMozillaFirefox

if i use the command line rpm -i, the installation goes smooth, but
i want my yast to be good again,

thank you

JZL240I-U 07-20-2006 02:19 AM

Umm. Do you want to install from the SuSE install media (CD or DVD), or from a downloaded file? What exactly did you do?

If it is from a downloaded file, open a terminal and type
Code:

yast -i <packet.name.1.2.3.rpm>
that will also call SuSEconfig and ldconfig. Using "rpm -i <packet.name.1.2.3.rpm>" will corrupt your system after some time if you don't call SuSEconfig and ldconfig by hand...

efm 07-20-2006 08:41 PM

hello,
thanks for the reply,

the command "yast -i <packet.rpm>" doesn't work, it shows yast (text mode) for few seconds, then
it returns me back to the terminal again,

the problem occurs on any rpm, be it from the installation cd, or downloaded file,
so now i just use "rpm -i", please help, the error itches me :D

faizal

JZL240I-U 07-21-2006 02:10 AM

Oops, I forgot to mention: You have to do that as root.
Hope that eases your itch ;) :p :D

efm 07-23-2006 01:10 AM

hello,
the itchy decreases....

i can install by using "yast -i", apparently, after the rpm installed, the yast just terminated itself and returned to console, it didn't give me message.

but my yast2 is still in error, it still gives me the message "the following packages haven't been found in the medium: plannerplanner"

please help me again,
faizal

efm 07-23-2006 01:22 AM

just curious...

hello,
how about if i install any rpm with "rpm -i", or "yast -i", then i run
"ldconfig" after that. is it the same as running yast2? as we know that yast2 always run SuSEConfig after the installation.

thank you,
faizal

JZL240I-U 07-24-2006 03:18 AM

Post #5:
SuSEconfig and ldconfig should rectify the problem for yast2, else I don't know either. (I never tried "yast2 -i <packet.1.2.3.rpm>" why don't you... ;)).

Post#6:
Should be the same, but SuSE does first the SuSEconfig, then ldconfig, dunno whether that is a must, though.

BTW.: I have a dedicated directory for external software which I entered as additional install source for YAST2. Why don't you do the same and move the package there...

efm 07-24-2006 04:03 AM

directory for external software?
so does it mean like a place for download or something?
where is it?

thank you,
faizal

JZL240I-U 07-24-2006 04:10 AM

Actually it is a partition on my box. I copied the five SuSE-CDs there and have a directory called "NonSuSE" which holds all other stuff.

You'll have to call YAST2 - install software - change or add source (or something like that, I'm not at home now) and make the new directory known to YAST2. After that you can install with YAST2 from there...

efm 07-24-2006 04:50 AM

ah, it's a excellent trick, so we will never use yast2 to install single
file, but rather like a legal installation, thanks for the idea :)

sindbad1900 10-18-2006 10:37 AM

i have the same problem

Quote:

Originally Posted by JZL240I-U
Umm. Do you want to install from the SuSE install media (CD or DVD), or from a downloaded file? What exactly did you do?

If it is from a downloaded file, open a terminal and type
Code:

yast -i <packet.name.1.2.3.rpm>
that will also call SuSEconfig and ldconfig. Using "rpm -i <packet.name.1.2.3.rpm>" will corrupt your system after some time if you don't call SuSEconfig and ldconfig by hand...

this does the exact same thing. the old yast opens and it gives me the same message as yast2. and i did everything as root

Quote:

Originally Posted by JZL240I-U
BTW.: I have a dedicated directory for external software which I entered as additional install source for YAST2. Why don't you do the same and move the package there...

for some reason i can't add any source. no matter what directory i use, i get a very lacking `cannot create the installation source'. any thoughts?

sindbad1900 10-18-2006 01:04 PM

ah never mind i'll just use smart from now on ...

efm 10-18-2006 09:17 PM

hi sinbad,

well, if you get the message "cannot create the installation source",
please try typing this, as a root:

Code:

rpm --rebuilddb
it will "rearrange" the package database. i corrected some errors by using
that command

and about the error "packages haven't been found in the medium",
try to upgrade the yast (or downgrade) it to version 2.12.21-0.1

i did that, and it works

hope it'll help you

sindbad1900 10-19-2006 10:46 AM

well rpm --rebuilddb didn't fix anything (except some wrong package dependencies)
will try to downgrade yast2, just for the sake of windows-like (double click ) installs
10x for the advice

JZL240I-U 10-20-2006 01:48 AM

Quote:

Originally Posted by sindbad1900
...for some reason i can't add any source. no matter what directory i use, i get a very lacking `cannot create the installation source'. any thoughts?

That is lacking, in truth :(. Just for a test, create a directory with a rpm in it and try again, perhaps it just didn't find any installable rpms in your other shots...


All times are GMT -5. The time now is 08:03 PM.