LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-19-2006, 11:22 PM   #1
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Rep: Reputation: 15
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
 
Old 07-20-2006, 02:19 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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...
 
Old 07-20-2006, 08:41 PM   #3
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Original Poster
Rep: Reputation: 15
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

faizal
 
Old 07-21-2006, 02:10 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Oops, I forgot to mention: You have to do that as root.
Hope that eases your itch
 
Old 07-23-2006, 01:10 AM   #5
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Original Poster
Rep: Reputation: 15
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
 
Old 07-23-2006, 01:22 AM   #6
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Original Poster
Rep: Reputation: 15
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
 
Old 07-24-2006, 03:18 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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...

Last edited by JZL240I-U; 07-24-2006 at 03:21 AM.
 
Old 07-24-2006, 04:03 AM   #8
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Original Poster
Rep: Reputation: 15
directory for external software?
so does it mean like a place for download or something?
where is it?

thank you,
faizal
 
Old 07-24-2006, 04:10 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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...
 
Old 07-24-2006, 04:50 AM   #10
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Original Poster
Rep: Reputation: 15
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
 
Old 10-18-2006, 10:37 AM   #11
sindbad1900
LQ Newbie
 
Registered: Oct 2006
Posts: 9

Rep: Reputation: 0
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?
 
Old 10-18-2006, 01:04 PM   #12
sindbad1900
LQ Newbie
 
Registered: Oct 2006
Posts: 9

Rep: Reputation: 0
ah never mind i'll just use smart from now on ...
 
Old 10-18-2006, 09:17 PM   #13
efm
Member
 
Registered: Apr 2005
Location: indonesia
Distribution: suse 10
Posts: 101

Original Poster
Rep: Reputation: 15
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
 
Old 10-19-2006, 10:46 AM   #14
sindbad1900
LQ Newbie
 
Registered: Oct 2006
Posts: 9

Rep: Reputation: 0
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
 
Old 10-20-2006, 01:48 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.1 YaST error after YOU kernel update matt_szyndel SUSE / openSUSE 0 05-14-2006 05:53 AM
Error: media exception in YAST in SUSE 10.1 beta 8 smiley_lauf SUSE / openSUSE 3 04-02-2006 06:01 PM
Suse 9.1 Yast error: Cannot read Package data Leebro Linux - Distributions 11 10-08-2004 12:30 PM
Suse YaST gives error hd_busid_to_hwcfg pbogaart Linux - Newbie 3 09-05-2004 09:56 AM
SuSE 9 YAST Install Error JDeer0618 Linux - Software 4 01-28-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration