up2date update

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,158
Hello,

I've created a simple little script that modifies the:
/etc/sysconfig/rhn/up2date
file to set the pkgSkipList and removeSkipList lines.

This is just a beta version for making up2date work, but we've run it on our file server and nothing broke.

To install it, follow these steps:
Code:
cd /usr/local/directadmin/scripts
wget [url]http://files.directadmin.com/services/up2date.sh[/url]
chmod 755 up2date.sh
./up2date.sh
Then you should be able to run:
Code:
up2date -u
John
 
DirectAdmin Support said:
It should be included and run for the next release.
I'm not sure what you mean by 'and run'.

Doesn't up2date require a RHN membership?

Will you be keeping us up to date (no pun intended) on all the software in your exclude list?

Can you get this to work with apt, which doesn't require any memberships, and can use lots of different mirrors... and appears to be both faster and easier to use?

If you need information on apt-rpm for RH, let me know; I've been there, and done that :) .

Jeff
 
Hello,

By "run", I'm referring to the up2date.sh script, not up2date itself.

Apt might be a viable option, as you say, it requires no membership.

We'll keep you posted on the software in the list. Although you may have to do the updates, we'll generally include instructions on how to do it. DirectAdmin itself automatically updates itself.

John
 
the nice thing about apt is you can set up your own RHL mirror, only putting in your own versions of programs that might otherwise break DA.

As I posted on another thread, I'll send you the apt info as soon as I find the link.

Jeff
 
I'll second the move to apt! I am a debian guy, and if we were to build our own mirrors, you could just decide what updates we should use and put them on the mirror, and then we can only use that mirror to update from?

See, it really would be quite simple..

-Robert
 
Robert, if you don't already have apt for RHL let me know and I'll send you the same info I sent to John.

Jeff
 
I get:
Fetching package list for channel: redhat-linux-i386-7.3...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-7.3...
########################################

Fetching rpm headers...
The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
kernel 2.4.20 19.7 Pkg name/pattern
mod_perl 1.26 5 Pkg name/pattern
sendmail-cf 8.11.6 25.73Pkg name/pattern

None of the packages you requested were found, or they are already updated.
[root@server admin]#

Why can`t I download these updates?
 
Because they've been added to your rpm skip list. The only one that you can remove from the list is the kernel, but mod_perl and sendmail will both go venturing into unwanted territory.

To remove the kernel from the skiplist, run:
Code:
up2date --nox --configure
select 7, and type out the line, without including the kernel*. Repeat for option 21.

Removing any other packages from the skip list will most likely end up breaking things such as apache.

John
 
John,

Could you be so kind as to either post or send me a copy of your skip list; I'd like to make sure my apt-get list is in sync so I don't have problems later.

Thanks!

Jeff
 
Hello,

From /etc/sysconfig/rhn/up2date:

Code:
pkgSkipList=kernel*;apache*;httpd**;mod_*;mysql*;MySQL*;da_*;*ftp*;exim*;sendmail*;php*;

removeSkipList=kernel*;apache*;mod_*;mysql*;MySQL*;da_*;*ftp*;exim*;sendmail*;php*;webalizer*;

(Those are supposed to be one line each (2 lines total))

John
 
After up2date -u the follow:

Error communicating with server. The message was:
SSL_connect error
 
RingToons said:
Error communicating with server. The message was:
SSL_connect error
Red Hat forgot to renew their cert.

Really. Here's a copy of their urgent email I got this morning at several addresses:
The certificate used by up2date and rhn_register to communicate with the
Red Hat Network reached its end of life on August 28th 2003. Users
attempting to connect to Red Hat Network will see SSL connection or
certificate verification failures.

New versions of the up2date and rhn_register clients are now available
which are required for continued access to Red Hat Network.

* RHSA-2003:267 for Red Hat Linux:
https://rhn.redhat.com/errata/RHSA-2003-267.html

* RHSA-2003:268 for Red Hat Enterprise Linux:
https://rhn.redhat.com/errata/RHSA-2003-268.html

New versions of the up2date client that contain the new certificate are
immediately available for download at:

https://rhn.redhat.com/help/latest-up2date.pxt

For users who would prefer to install the new certificate directly, it is
available at:

https://rhn.redhat.com/help/ssl_cert.pxt

- -the Red Hat Network Team

Jeff
 
Well, first you have to have it. Get it any way you can.

I don't use up2date, I use apt-get.

So I can't give you exact details, but I believe the Urgent Red Hat letter you should have gotten from Red Hat should have the information on how/where to get it.

If you're not a member of Red Hat Network, that's where you have to start.

Jeff
 
Back
Top