How to add FTP server as installation source for YAST

From: bokluk (bokluk33_at_yahoo.com)
Date: 09/18/04


Date: 18 Sep 2004 12:27:52 -0700

Hi,

I downloaded the SUSE 9.1 personal edition some weeks ago and I
started liking it more and more. However, the base package for the
personal edition is rather poor. Hence, after a while
you want to add more software packages (RPMs). These can be found on
the ftp server from
SUSE (ftp.suse.com) and on many mirror pages.

One way, of course, is to browse around on the ftp server and install
the RPMs by hand,
i.e. download them by hand and then install them with YAST. However,
that is rather painful
especially when it comes to complex software packages with a lot of
dependencies.

The way to do it with YAST is simple but a lot of people (including
myself) are trying to figure
out how to tell YAST the right settings for the ftp server. I have
found a lot of threads with people
having had the same problems and a lot of 'pseudo-experts' writing
some nonsense and giving
useless tips of how to solve the problem. Since I couldn't find any
REALLY USEFUL posting on
that matter I have decided to write down the way I have solved it:

1) Go to the ftp server (either ftp.suse.com or one of the many
mirrors) with your browser and
search in the directories for a folder that contains the two following
files:

                   - directory.yast
                   - content

It seems as if these two files are needed for YAST to properly connect
to the ftp server.
Otherwise, you will get an error message
"InstSrc:E_no_instsrc_on_media".

For instance, these files can be found at
ftp://ftp.suse.com/pub/suse/i386/9.1/,
even though the RPMs are found in
ftp://ftp.suse.com/pub/suse/i386/9.1/suse/i586/.

2) Open YAST and go to "change source of installation" under software.
Choose "Add"
and enter "ftp.suse.com" as an FTP server. Enter "pub/suse/i386/9.1"
as a directory on
the server. Do NOT add the full path to the RPMs but only the path to
the two files.

3) When YAST is able to find these two files it will add this ftp
server as another source
of installation, otherwise you get an error message. Make sure the
status is "on" (otherwise
enable) and that the newly added server is on the top of the list
(with "up"/"down").

4) Go to "install and remove software". It will now take some time
until YAST has read
the list of all available RPMs, also depending on your internet
connection. With my DSL
connection it took almost two minutes, so don't worry if it takes a
couple of minutes.

5) After the list has been read, you can choose the package to be
installed. Choose
"Selections" as a filter, for instance, and then click on the ones you
like or need ...

The same can be applied for an upgrade of KDE, currently with my
system
it would be from KDE 3.2 to 3.3. Add another source of installation,
take the
same ftp server but a different directory where you find again these
two files
with the directory information for YAST. For "ftp.suse.com" this is
currently
"pub/suse/i386/supplementary/KDE/update_for_9.1/yast-source".



Relevant Pages

  • RE: [SLE] Not So Fast: Linux on the Desktop
    ... >> Yes, YaST can work, but more often than not I have found it ... >> available from the SuSE disc or not and then install that package. ... > compare Windows XP Home Edition with something like Lindows ...
    (SuSE)
  • Re: need help fixing yast2 problem on 9.3
    ... or do without and install RPMs manually at the command line. ... The online update does appear to be set to a valid server, ... Problem was the yast package database was either fried or missing. ...
    (alt.os.linux.suse)
  • Re: [SLE] YAST Totally Screwed Up
    ... BEFORE YOU INSTALL READ THIS: ... The package manager in SUSE 10.1 is regrettably broken on most ... Open Yast chose "online update configuration", click next and wait until finished. ...
    (SuSE)
  • Re: Fluxbox for Suse 9.3 ? Which one?
    ... >> getting apt for suse, as yast sources are working perfectly. ... that is nice and how I install most of my software in 9.1 right now. ... /sbin/yast OPTION <package> ...
    (alt.os.linux.suse)
  • Re: FTP install problems for 9.0
    ... I enter the FTP server I'm using: ... Generally if you want to install SuSE over ftp, you neeed to give YaST the ... SUSE 8.2 from the CD's AND from ftp - when YaST would start, ...
    (alt.os.linux.suse)