[Fwd: [Yum] success report -- YDL 3.0]
Dan Burcaw
yellowdog-general@lists.terrasoftsolutions.com
Wed Apr 23 20:41:01 2003
--=-IyVlGTZ5BpAaUaxYzHd+
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
R P Herrold has documented his steps to setting up YUM
for YDL 3.0 via YDL.net Enhanced access. YUM in my experience
can be more reliable and intelligent than apt-get for RPM.
(and like apt, it ships with YDL 3.0 by default)
--=-IyVlGTZ5BpAaUaxYzHd+
Content-Disposition: inline
Content-Description: Forwarded message - [Yum] success report -- YDL 3.0
Content-Type: message/rfc822
Return-Path: <yum-admin@lists.dulug.duke.edu>
Delivered-To: dburcaw@terraplex.com
Received: from mail.dulug.duke.edu (annapurna.dulug.duke.edu
[152.3.183.71]) by newhope.terraplex.com (Postfix) with ESMTP id 5B7411FA53
for <dburcaw@terrasoftsolutions.com>; Wed, 23 Apr 2003 20:32:53 -0600 (MDT)
Received: from annapurna.dulug.duke.edu (localhost [127.0.0.1]) by
mail.dulug.duke.edu (Postfix) with ESMTP id 3623E2FF9F; Wed, 23 Apr 2003
22:33:05 -0400 (EDT)
Delivered-To: yum@lists.dulug.duke.edu
Received: from swampfox.owlriver.com (swampfox.owlriver.com
[206.21.107.147]) by mail.dulug.duke.edu (Postfix) with ESMTP id 2C7302FF95
for <yum@lists.dulug.duke.edu>; Wed, 23 Apr 2003 22:32:51 -0400 (EDT)
Received: from localhost (IDENT:I4bt1JLjRLiWf2qex+qIX2824UwVcRVY@localhost
[127.0.0.1]) by swampfox.owlriver.com (8.11.6/8.11.6) with ESMTP id
h3O2WoQ23717 for <yum@lists.dulug.duke.edu>; Wed, 23 Apr 2003 22:32:50 -0400
From: R P Herrold <herrold@owlriver.com>
To: Yum RPM updater list <yum@lists.dulug.duke.edu>
Message-ID: <Pine.LNX.4.44.0304232220580.29779-100000@swampfox.owlriver.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Yum] success report -- YDL 3.0
Sender: yum-admin@lists.dulug.duke.edu
Errors-To: yum-admin@lists.dulug.duke.edu
X-BeenThere: yum@lists.dulug.duke.edu
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help: <mailto:yum-request@lists.dulug.duke.edu?subject=help>
List-Post: <mailto:yum@lists.dulug.duke.edu>
List-Subscribe: <https://lists.dulug.duke.edu/mailman/listinfo/yum>,
<mailto:yum-request@lists.dulug.duke.edu?subject=subscribe>
List-Id: Yellowdog Updater, Modified <yum.lists.dulug.duke.edu>
List-Unsubscribe: <https://lists.dulug.duke.edu/mailman/listinfo/yum>,
<mailto:yum-request@lists.dulug.duke.edu?subject=unsubscribe>
List-Archive: <https://lists.dulug.duke.edu/pipermail/yum/>
Date: Wed, 23 Apr 2003 22:32:50 -0400 (EDT)
Status:
Seth asked that I document my success with yum, as will ship
with Yellow Dog Linux 3.0, in accessing subscription content,
which requires a userid and password for FTP access.
First, my experimentation:
I set a .netrc file up, chmod 700. but it was not consulted by
the python code in YUM.
So I went to embeded userid and passwd's in the URI
[herrold@dhcp-91 herrold]$ ncftp -u herrold \
ftp://herrold:PASSWORD@ftp.ydl.net
NcFTP 3.1.3 (Mar 27, 2002) by Mike Gleason (ncftp@ncftp.com).
Connecting to ftp.ydl.net(66.7.161.9)...
ProFTPD 1.2.5rc1 Server (yellowdoglinux.net) [callisto]
Logging in...
User herrold logged in.
Logged in to ftp.ydl.net.
Current remote directory is /.
ncftp / > ls
public_html/ yellowdog/
ncftp / > cd yellowdog/
ncftp /yellowdog/ > cd yum/
ncftp /yellowdog/yum > cd 3.0/
ncftp /yellowdog/yum/3.0 > ls
base/ update/
ncftp /yellowdog/yum/3.0 > cd base/
ncftp /yellowdog/yum/3.0/base > ls
headers/ RPMS.base@ SRPMS.base@
ncftp /yellowdog/yum/3.0/base > pwd
ftp://herrold:PASSWORD@ftp.ydl.net/yellowdog/yum/3.0/base/
ncftp /yellowdog/yum/3.0/base >
---------------------------------
so, editting /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
# [base]
# name=Yellow Dog Linux 3.0 base
# baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.main/
[base]
name=Yellow Dog Linux 3.0 base
baseurl=http://herrold:PASSWORD@ftp.ydl.net/pub/yellowdog/yum/3.0/base/
# [updates]
# name=Yellow Dog Linux 3.0 updates
# baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.updates/
[updates]
name=Yellow Dog Linux 3.0 updates
baseurl=ftp://herrold:PASSWORD@ftp.ydl.net/yellowdog/yum/3.0/update/
---------------------
because passwords are exposed -- if on a shared host,
chmod 700 /etc/yum.conf
I have commented out the as shipped YDL setup (which will open
later this month) and added the needed parts for the private
FTP server. My password is not PASSWORD however ...
The YDL folks are worthy of subscription support however -- it
is amazing on my eMac ... http://www.ydl.net/enhanced.phtml
-- Russ Herrold
_______________________________________________
Yum mailing list
Yum@lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum
--=-IyVlGTZ5BpAaUaxYzHd+--