Re: [SLE] Yast1: changing the default FTP update location
Ok, from your output I recognize you installed SuSE via CD set. I see this because it states: MediaInfo: 4 /usr/Suse-CDs/CD1|||||| I always install via ftp. So there is already a difference. My file states by default: MediaInfo: 4 /usr/local/ftp/pub/suse/i386/7.1|255.255.255.224|{FTP{216.136.171.195:/pub/suse/suse/i386/7.1/suse}{0}{(no proxy)}{1}{2 1}{1}{anonymous}{60}{/var/tmp}}|x.y.z.33||eth0| Language: 1 Keytable: us.map.gz When you install via ftp _originally_ you specify parameters to connect to an ftp server (the ones above) it then saves those in install.inf. I have my doubts that yast ever alters these settings again. But you could hand alter them via vi. It also defaults yast to bring up those ftp install windows you cannot recreate because you didn't originally install via ftp. I don't think you can toggle between ftp sites in yast and you would have to alter the order in the file update.inf by yourself to achieve a change: DefaultSrcPatchFTP: ftp.suse.com:/pub/suse/i386/update/7.1 DefaultInstsrcFTP: ftp.suse.com:/pub/suse/i386/current PTFCrstsniTluafed: Whatever appears first will be used. Note this: DefaultSrcPatchFTP: ftp.suse.com:/pub/suse/i386/update/7.1 versus: DefaultSrcPatchFTP: ftp.suse.com:/pub/suse/i386/update/7.1 Big difference. It will be overridden by 'ftp.suse.com:/pub/suse/i386/update'. You cannot have a line break in there. mk
From: Paul Abrahams <abrahams@acm.org> To: suse-linux-e@suse.com Subject: Re: [SLE] Yast1: changing the default FTP update location Date: Mon, 09 Apr 2001 10:34:43 -0400
Purple Shirt wrote:
to explain this a bit more. There is _two_ ways to install packages via ftp using YaST. You probably edited the file which acts for the other ftp install option.
1. You set up YaST to install via ftp by default. This configuration is kept in:
/var/lib/YaST/install.inf
You can hand edit it but it is not recommended. You can also edit it by starting YaST and go
Installation Settings -> Install via FTP. The settings there get saved in the before mentioned text file.
If you chose ftp as default then everytime you go to:
Package Management -> an ftp install window will pop up. This is quite annoying actually.
Which part of Package Management are you referring to? I haven't seen any default ftp install windows.
The contents of my install.inf file (ireelevant stuff deleted)are:
MediaInfo: 4 /usr/Suse-CDs/CD1|||||| Language: 1 Keytable: us.map.gz Monochrome: 0 Demomode: 0 MouseType: Filesystems: /dev/sda1 ? 4096 0 14 0 0
(I had set the default source to install from hard disk -- a story in itself when it comes to disk image switching.)
2. In case you do not have ftp as default installation medium you can still install packages via ftp.
Package Management -> Install Packages
Then this will pull the configuration saved in
/var/lib/YaST/update.inf
I tried both configurations out and by hand editing both files you change the configuration (depending on which approach you are using).
The contents of my update.inf file are (uninteresting stuff again deleted) are:
# /var/lib/YaST/update.inf -- (c) 1999 Suse GmbH #
Basesystem: SuSE-Linux-Personal-INT-i386-7.1.0#1 Distribution_Name: SuSE-Linux-Personal-INT-i386 Distribution_Version: 7.1.0 Distribution_Release: 1
DefaultSrcPatchFTP: download.sourceforge.net:/pub/suse/suse_update/7.1 ftp.suse.com:/pub/suse/i386/update/7.1
DefaultInstsrcFTP: ftp.suse.com:/pub/suse/i386/current download.sourceforge.net:/pub/suse/i386/current ftp.gwdg.de:/pub/linux/suse/i386/current ftp.uni-freiburg.de:/pub/linux/suse PTFCrstsniTluafed:
If in Yast1 I go to Package Management / Install Packages / Source: FTP, I get the default FTP location
ftp.suse.com:/pub/suse/i386/update
which isn't literally anywhere in either of the two .inf files. So where is it coming from? Also, do you have any guesses as to what the differing functions of DefaultSrcPatchFTP and DefaultInstsrcFTP are, or how one gets at items in the list other than the first one when using Yast1?
Or maybe SuSE just screwed this up royally and filled the .inf file with stuff they never look at.
Paul Abrahams
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Purple Shirt wrote:
from your output I recognize you installed SuSE via CD set. I see this because it states:
MediaInfo: 4 /usr/Suse-CDs/CD1||||||
Actually not. I've set the install to work from a group of 3 hard drive directories, corresponding to the contents of the 3 SuSE CD's.
Note this:
DefaultSrcPatchFTP: ftp.suse.com:/pub/suse/i386/update/7.1
versus:
DefaultSrcPatchFTP: ftp.suse.com:/pub/suse/i386/update/7.1
Big difference. It will be overridden by 'ftp.suse.com:/pub/suse/i386/update'. You cannot have a line break in there.
Indeed! I removed the line break and now Yast does heed the falue of DefaultSrcPatchFTP.
I don't think you can toggle between ftp sites in yast and you would have to alter the order in the file update.inf by yourself to achieve a change:
DefaultSrcPatchFTP: ftp.suse.com:/pub/suse/i386/update/7.1 DefaultInstsrcFTP: ftp.suse.com:/pub/suse/i386/current PTFCrstsniTluafed:
Whatever appears first will be used.
I'm wondering why the original SuSE file has a line break after DefaultInstsrcFTP but not after DefaultSrcPatchFTP. I'm also wondering what the point is of listing several sites if the program only looks at one of them and never offers a choice. Probably someone from SuSE could explain, but none of those folks have been posting here lately and there's no way I know of to ask the question of SuSE directly and get an answer. Paul Abrahams
mk
From: Paul Abrahams <abrahams@acm.org> To: suse-linux-e@suse.com Subject: Re: [SLE] Yast1: changing the default FTP update location Date: Mon, 09 Apr 2001 10:34:43 -0400
Purple Shirt wrote:
to explain this a bit more. There is _two_ ways to install packages via ftp using YaST. You probably edited the file which acts for the other ftp install option.
1. You set up YaST to install via ftp by default. This configuration is kept in:
/var/lib/YaST/install.inf
You can hand edit it but it is not recommended. You can also edit it by starting YaST and go
Installation Settings -> Install via FTP. The settings there get saved in the before mentioned text file.
If you chose ftp as default then everytime you go to:
Package Management -> an ftp install window will pop up. This is quite annoying actually.
Which part of Package Management are you referring to? I haven't seen any default ftp install windows.
The contents of my install.inf file (ireelevant stuff deleted)are:
MediaInfo: 4 /usr/Suse-CDs/CD1|||||| Language: 1 Keytable: us.map.gz Monochrome: 0 Demomode: 0 MouseType: Filesystems: /dev/sda1 ? 4096 0 14 0 0
(I had set the default source to install from hard disk -- a story in itself when it comes to disk image switching.)
2. In case you do not have ftp as default installation medium you can still install packages via ftp.
Package Management -> Install Packages
Then this will pull the configuration saved in
/var/lib/YaST/update.inf
I tried both configurations out and by hand editing both files you change the configuration (depending on which approach you are using).
The contents of my update.inf file are (uninteresting stuff again deleted) are:
# /var/lib/YaST/update.inf -- (c) 1999 Suse GmbH #
Basesystem: SuSE-Linux-Personal-INT-i386-7.1.0#1 Distribution_Name: SuSE-Linux-Personal-INT-i386 Distribution_Version: 7.1.0 Distribution_Release: 1
DefaultSrcPatchFTP: download.sourceforge.net:/pub/suse/suse_update/7.1 ftp.suse.com:/pub/suse/i386/update/7.1
DefaultInstsrcFTP: ftp.suse.com:/pub/suse/i386/current download.sourceforge.net:/pub/suse/i386/current ftp.gwdg.de:/pub/linux/suse/i386/current ftp.uni-freiburg.de:/pub/linux/suse PTFCrstsniTluafed:
If in Yast1 I go to Package Management / Install Packages / Source: FTP, I get the default FTP location
ftp.suse.com:/pub/suse/i386/update
which isn't literally anywhere in either of the two .inf files. So where is it coming from? Also, do you have any guesses as to what the differing functions of DefaultSrcPatchFTP and DefaultInstsrcFTP are, or how one gets at items in the list other than the first one when using Yast1?
Or maybe SuSE just screwed this up royally and filled the .inf file with stuff they never look at.
Paul Abrahams
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
Paul Abrahams
-
Purple Shirt