Updating the OS if DA is installed

finalwebsites

Verified User
Joined
May 21, 2007
Messages
19
Location
Netherland
Hi,

I have question about upgrades for the OS and related packages.

I have a working DA installation on some Ubuntu distribution, upgrading DA via the control panel is not a problem.

Now I want to update service like SSH, initd, spamassasin etc. On a machine without DA I use "apt-get" to handle all the updates. Is this also possible with directadmin?

I don't need to update LAMP at the moment. only the OS packages.

thanks...
 
UK/English: It's not possible trough DirectAdmin. Use APT-GET instead. But be aware: don't updates packages that DirectAdmin updates.

NL/Dutch: Olaf, met APT kun je je packages updaten. Zorg er wel door dat je geen zaken als Apache, PHP, etc. gaat updaten met het APT systeem, anders maak je ze kapot.
 
Last edited:
UK/English: It's not possible trough DirectAdmin. Use APT-GET instead. But be aware: don't updates packages that DirectAdmin updates.

NL/Dutch: Olaf, met APT kun je je packages updaten. Zorg er wel door dat je geen zaken als Apache, PHP, etc. gaat updaten met het APT systeem, anders maak je ze kapot.

Hi Randy,

thanks for this information, is there a way to handle that? or do I need to update each package?
Is there a list of packages I need top exclude?

(leuk dat je het antwoord ook in het nederlands gepost hebt maar ik denk niet dat zij dit hier zo leuk vinden ;))
 
Packages to exclude:

[root@sv03 ~]# cat /etc/yum.conf | grep exclude
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*
[root@sv03 ~]#
 
Packages to exclude:

[root@sv03 ~]# cat /etc/yum.conf | grep exclude
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*
[root@sv03 ~]#

and after this I can run the apt-get command?

do I need this command with every update?
 
You need to add the exclude line to your /etc/yum.conf file.
 
OK,

this is what I did:

root@srv01:/etc# nano yum.conf

and added this row to the (new) file:

exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*

after that I can run apt-get, right?
 
Oh, sorry, I thought that you have yum :) You need to add this "exclude list" to the apt-get :)
 
Oh, sorry, I thought that you have yum :) You need to add this "exclude list" to the apt-get :)

is yum a package ?

so will say I need this command: (without having yum)

apt-get -u upgrade exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*
 
If you're using apt-get then you need to exclude those programs from automatic update in the apt-get configuration. The references to yum are for RedHat-based distributions.

Jeff
 
If you're using apt-get then you need to exclude those programs from automatic update in the apt-get configuration. The references to yum are for RedHat-based distributions.

Jeff
Thank you, do you know some resource/website with example configurations?
 
No; I don't use Debian-based solutions. I've moved the thread to a Debian sub-forum as Ubuntu is based on Debian.

Perhaps it'll get better attention here.

Jeff
 
Back
Top