[WBEL-users] Trying to update WBL

p.banholzer p-banholzer at munch-sa.fr
Wed May 4 04:17:30 CDT 2005


Hi Jeff,

first,
did you import the Dag GPG key ?
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
checking the GPG keys with :
rpm -q gpg-pubkey --qf "%{summary} -> %{version}-%{release}\n"
look at
http://dag.wieers.com/home-made/apt/FAQ.php#B3

then,
check your yum.conf : should look like
[base]
name=White Box Enterprise Linux $releasever - $basearch - Base
baseurl=ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/os/$basearch/
       
ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/os/$basearch/
       
ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/os/$basearch/
       
ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/os/$basearch/
       
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/os/$basearch/
       
ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/os/$basearch/
        http://whitebox.phantomhosting.com/$releasever/en/os/$basearch/

[updates-released]
name=White Box Enterprise Linux $releasever - $basearch - Released Updates
baseurl=http://whitebox.phantomhosting.com/$releasever/en/updates/
       
ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/updates/
       
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/updates/
        ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/updates/
       
ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/updates/
        ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/updates/
        ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/updates/

Philippe.

Jeff Yana a écrit :

> Hello Phillipe-
>
> Thanks for your reply. Currently, iptables are OFF, so no firewalling
> should be present.
>
> Any other ideas?
>
> Jeff
>
> p.banholzer wrote:
>
>> First, if you want to use up2date you should register the whitebox key :
>> rpm --import /usr/share/rhn/RPM-GPG-KEY-whitebox
>> but yum is today the preferred updater.
>>
>> you should also reconsider your firewall rules.
>> yum does its updates using TCP port 80 for http:// update URLs and uses
>> passive FTP for ftp:// update URLs in /etc/yum.conf.
>>
>> passive FTP with iptables :
>> /sbin/modprobe ip_conntrack_ftp
>> # FTP
>> iptables -A INPUT  -p tcp --sport 21 -m state --state ESTABLISHED -j
>> ACCEPT
>> iptables -A OUTPUT -p tcp --dport 21 -m state --state NEW,ESTABLISHED -j
>> ACCEPT
>> # passive FTP
>> iptables -A INPUT  -p tcp --sport 1024: --dport 1024:  -m state --state
>> ESTABLISHED -j ACCEPT
>> iptables -A OUTPUT -p tcp --sport 1024: --dport 1024:  -m state --state
>> ESTABLISHED,RELATED -j ACCEPT
>>
>> Philippe.
>>
>> Jeff Yana a écrit :
>>
>>  
>>
>>> I am a little confused about the updater facility in WBL. I have tried
>>> to run up2date and yum both but with no success. Below is a copy of my
>>> yum.conf file
>>>
>>> #######################################################################
>>>
>>> [main]
>>> cachedir=/var/cache/yum
>>> debuglevel=2
>>> logfile=/var/log/yum.log
>>> pkgpolicy=newest
>>> distroverpkg=whitebox-release
>>> tolerant=1
>>> exactarch=1
>>>
>>> [base]
>>> name=White Box Enterprise Linux $releasever - $basearch - Base
>>> failovermethod=priority
>>> baseurl=http://whiteboxlinux.org/pub/$releasever/en/os/$basearch
>>> ftp://ftp.esat.net/mirrors/whiteboxlinux.org/3.0/en/os/i386/
>>> ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/os/$basearch
>>> http://whiteboxlinux.org/pub/$releasever/en/os/$basearch
>>>
>>> [updates-released]
>>> name=White Box Enterprise Linux $releasever - $basearch - Released
>>> Updates
>>> failovermethod=priority
>>> baseurl=http://whiteboxlinux.org/pub/$releasever/en/updates/
>>> ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/updates/
>>> ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/updates/
>>> http://whiteboxlinux.org/pub/$releasever/en/updates/
>>>
>>> [dag]
>>> name=Dag Wieers' RHEL3 Repository
>>> baseurl=http://apt.sw.be/redhat/el3/en/i386/dag/
>>>
>>> #[updates-testing]
>>> #name=White Box Enterprise Linux $releasever - $basearch - Unreleased
>>> Updates
>>> #baseurl=http://whiteboxlinux.org/pub/$releasever/en/os/testing/
>>>
>>> ###################################################################################################
>>>
>>>
>>>
>>> Running up2date I receive the warning about the key, which has already
>>> been imported:
>>>
>>> ###################################################################################################
>>>
>>>
>>>
>>> Your GPG keyring does not contain the Red Hat, Inc. public key.
>>> Without it, you will be unable to verify that packages Update Agent
>>> downloads
>>> are securely signed by Red Hat.
>>>
>>> Your Update Agent options specify that you want to use GPG.
>>>
>>> To install the key, run the following as root:
>>>
>>>   rpm --import /usr/share/rhn/RPM-GPG-KEY
>>>
>>> ###################################################################################################
>>>
>>>
>>>
>>>
>>> Does WBL still use the RH signed packages, making this necessary,
>>> rendering the necessity of using the key useless?
>>>
>>> Running yum, here is what I get:
>>>
>>> ###################################################################################################
>>>
>>>
>>>
>>> [root at ldap1 rhn]# yum list
>>> Gathering header information file(s) from server(s)
>>> Server: White Box Enterprise Linux 3.0 - i386 - Base
>>> retrygrab() failed for:
>>> http://whiteboxlinux.org/pub/3.0/en/os/i386/headers/header.info
>>> Executing failover method
>>> failover: out of servers to try
>>> Error getting file
>>> http://whiteboxlinux.org/pub/3.0/en/os/i386/headers/header.info
>>> [Errno 7] HTTP Error (CannotSendRequest):
>>>
>>> ###################################################################################################
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Whitebox-users mailing list
>>> Whitebox-users at beau.org
>>> http://beau.org/mailman/listinfo/whitebox-users
>>>
>>>   
>>
>>
>>
>>  
>>
>


More information about the Whitebox-users mailing list