Re: [SLE] Question from non-SuSE user
michael norman wrote:
On Friday 26 April 2002 20:55, Michael Hasenstein wrote:
Mike wrote:
I've found YOU, and the install/delete package (from the installation source) in YAST2. In Yast1, I could select install packages, and it would ask for a location. I've searched high and low for this same feature in Yast2 and have yet to find it. What am I missing?
use the yast2 module in section software called "change source of installation". sounds obvious, almost? ;-)
When I do that and type in /home/michael/rpms it tells me there are no installation media can be found. Yast1 always finds it. Am I doing something wrong ? The directory is where I put downloaded rpms.
Okay, I thought you're talking about the installation cd's or ftp.suse.com as install. source for packages of the distribution. yast2 only works on a full install. tree incl. all those helper files that you find on cd, where yast(2) gets its ino from. It doesn't work for indiviudual packages. look at http://sdb.suse.com/, there's an article for how to install packages in suse linux. I just found it when I checked for all articles for SL 8.0. Basically, use e.g. kpackage or just plain "rpm"... Michael
On Monday 29 April 2002 19:34, Michael Hasenstein wrote:
When I do that and type in /home/michael/rpms it tells me there are no installation media can be found. Yast1 always finds it. Am I doing something wrong ? The directory is where I put downloaded rpms.
Okay, I thought you're talking about the installation cd's or ftp.suse.com as install. source for packages of the distribution. yast2 only works on a full install. tree incl. all those helper files that you find on cd, where yast(2) gets its ino from. It doesn't work for indiviudual packages.
And therein lies the problem. Yast1 had this "feature" and it would resolve depencies when installing groups of packages. As an example, I could download the entire kde directory when an update like 2.2.2 came out, start yast1, and it would install the files in the right order. I didn't have to know which order to install them. FWIW, I did try using just rpm to install a group of packages, and for some reason it wouldn't work right. Yast1 did the job correctly the first time. You could also delete packages and yast1 would let you know if you were about to mess up your system.
look at http://sdb.suse.com/, there's an article for how to install packages in suse linux. I just found it when I checked for all articles for SL 8.0. Basically, use e.g. kpackage or just plain "rpm"...
I can use rpm all day long. Don't really like Kpackage. Yast2 is modular, and I would bet that yast1 was similar. Seems like it wouldn't be that much trouble to take that part of yast1 and put it in Yast2. Mike -- Powered by SuSE 8.0 Kernel 2.4.18 KDE 3.0.0 Kmail 1.4 For a great linux portal try http://www.freezer-burn.org 9:06pm up 3:51, 4 users, load average: 0.05, 0.21, 0.46
Mike wrote:
Okay, I thought you're talking about the installation cd's or ftp.suse.com as install. source for packages of the distribution. yast2 only works on a full install. tree incl. all those helper files that you find on cd, where yast(2) gets its ino from. It doesn't work for indiviudual packages.
And therein lies the problem. Yast1 had this "feature" and it would resolve depencies when installing groups of packages. As an example, I could download the entire kde directory when an update like 2.2.2 came out, start yast1, and it would install the files in the right order. I didn't have to know which order to install them. FWIW, I did try using just rpm to install a group of packages, and for some reason it wouldn't work right. Yast1 did the job correctly the first time.
You could also delete packages and yast1 would let you know if you were about to mess up your system.
yast1 did not know about dependencies of individual packages. yast2 and yast1 both use/used their own dependency info, independent from the rpm stuff. One of the reasons: the rpm only says "Requires: libxyz.so", it doesn't say which other package contains this lib (and if you don't happen to have that package you will never know, so simply scanning all packages for what they provide won't help). To update using "rpm", for the kde upgrade example you give, I'd do rpm -F *.rpm over the list of all downloaded kde upgrade rpm's. There's not really any way to automated any errors you may get like "reuires libxyz", if that lib is new and not part of suse linux, because then there's no way for yast2 to know where on earth it could find that lib. So installation of indiv. packages via yast2 won't make that problem go away... some manual dependency resolution via reading installation docs, release notes, READMEs will always be required...
look at http://sdb.suse.com/, there's an article for how to install packages in suse linux. I just found it when I checked for all articles for SL 8.0. Basically, use e.g. kpackage or just plain "rpm"...
I can use rpm all day long. Don't really like Kpackage. Yast2 is modular, and I would bet that yast1 was similar. Seems like it wouldn't be that much trouble to take that part of yast1 and put it in Yast2.
Yes, installation of indiv. packages should (and I believe will) be part of yast2. Michael
participants (2)
-
Michael Hasenstein
-
Mike