Debian upgrade & exclude list

Scormen

Verified User
Joined
Jan 26, 2008
Messages
55
Hi all,

I know the exclude list of yum what's set in /etc/yum.conf
Thats this one:
Code:
exclude=bind-chroot httpd* mysql* php* perl* apache* mod_* MySQL* *ftp* exim* sendmail* php* da_*

Now, is there sush a way for Debian?
I found (e.g.) this one:
Code:
echo "exim hold"|dpkg --set-selections
Here I used exim, but can I use this for bind-chroot, httpd, mysql, php, perm, apache, mod_, MySQL, ftp, axim, sendmail, php and da_ ?

With this command I can't use astrix (*).

How do you exclude the list above in Debian?

Thanks!
 
If no one here can help perhaps you can reword the question and post it on a debian forum. I know how you feel; I've got an important question on the Ubuntu forum for almost a week now without an answer, and without it I can't use ubuntu.

But perhaps a debian user can help on the debian forum.

Jeff
 
I found this one: http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-pin

So, I added next lines in /etc/apt/preferences

Code:
Package: *bind9*
Pin: version *
Pin-Priority: 1000

After a apt-get update && apt-get upgrade I get:

The following packages have been kept back:
bind9 libdns22 libisc11 libisccc0 libisccfg1 proftpd
The following packages will be upgraded:
libbind9-0 libc6 libc6-dev libc6-i686 libgnutls13 liblwres9 libssl-dev
libssl0.9.8 linux-image-2.6.18-6-686 locales login openssl passwd

As you see, bind9 is kept back. But "libbind9-0" would still being upgraded.

Should this be enough to go further, or will this still mess up my DA?

Thanks.
 
There is no reason you should not keep bind9 upgraded.
 
Beacause bind9 is installed with DirectAdmin itself?

On a other DA server, I upgraded proftp just the same way (apt-get update and upgrade), after that, the whole Debian server became messt up.

In the list above (exclude list for CentOS) is bind excluded from being updated via yum.

Any suggestions?

Thanks.
 
Directadmin does not install bind9 at all. Your OS installs bind9.
 
If I recall correctly, DirectAdmin installs BIND if it's not preinstalled. I may be wrong.

We do not exclude bind, but we do make sure it's installed before we install DirectAdmin. We do exclude bind-chroot and caching-nameserver.

Jeff
 
Sorry to bump this old post, but there is very little Debian support for DA it seems.:)

Must I use the example scorman used for all files which are used in the yum.conf?

I'm not sure about Bind if DA installed it or the OS did. This is what dpkg -l says:
Code:
hi  bind9                       9.3.4-2etch3                Internet Domain Name Server
hi  bind9-host                  9.3.4-2etch3                Version of 'host' bundled with BIND 9.X
If I'm correct this means half-installed. But who did the half-installation and why is it half installed and not full?

If I look at the link provided, it seems you can better use -1 instead of 1000 for pin. Furthermore I presume you must make the "preferences" files yourself, because on our server we don't have a preferences file in /etc/apt/.

Is there nobody which has a working "do not install or update this" apt-get config for a Debian server with DA?
 
Any Debian users with information about this? I'm used to work with Centos and really need help with this.
 
Sorry to bump this again, but I really need an answer to this. My OS needs upgrading and I don't want to ruin my DA installation.
 
We have BIND9 from Debian repository and upgrade our system without any problem (Debian Lenny)
Code:
# aptitude search bind9
i   bind9                                  - Internet Domain Name Server
i   bind9-host                            - Version of 'host' bundled with BIND 9.X
i A bind9utils                            - Utilities for BIND
i   libbind9-40                           - BIND9 Shared Library used by BIND

# dpkg -l | grep bind
ii  bind9                             1:9.5.1.dfsg.P3-1        Internet Domain Name Server
ii  bind9-host                        1:9.5.1.dfsg.P3-1        Version of 'host' bundled with BIND 9.X
ii  bind9utils                        1:9.5.1.dfsg.P3-1        Utilities for BIND
ii  libbind9-40                       1:9.5.1.dfsg.P3-1        BIND9 Shared Library used by BIND
 
Last edited:
Thank you very much for your answer.
However my need is more an answer to this one:
do not install or update this" apt-get config for a Debian server with DA?
Is this best done with an /etc/apt/preferences file and must I make this myselve, because it is not present?

Sorry if I was unclear about which question I needed an answer for.
 
Back
Top