Il blog di Gas

No comment

Debian 4.0 out

without comments

A few months ago Etch was freezed now it has been officially released as Debian 4.0

These are the release notes and among the new changes I found:

  • PHP5.x
  • MySQL 5.x
  • Apache 2.2.x
  • GCC v4.1
  • from XFree86 to v7.1


Fist of all install aptitude
apt-get install aptitude

I used to have Debian Sarge 64 that is a semi official backport , now Etch is shipped with amd64 architecture too so the backport is not needed anymore. Updating is not difficult , one should change all “sarge” to “etch” in /etc/apt/sources.list, mine look like this

deb etch main contrib non-free
#deb sarge-backports main contrib non-free
deb stable/updates main contrib non-free
deb-src stable main contrib non-free
deb-src stable/non-US main contrib non-free
deb etch main
deb-src etch main

the “www.backports” line is comments out because etch hit stable just today. Backports are binaries compiled for etch and shipped for sarge, sometime you can’t install a package because it misses a dependency but you can run it because it doesn’t miss any dependency while it runs, hence that backports that let me use the latest mldonkey with sarge for example.


apt-get update
aptitude -f --with-recommends dist-upgrade

Note that aptitude was used rather that apt-get dist upgrade because is known to be more strict on dependencies that apt-get dist-upgrade, installing aptitude here as docs say will bring in lots of other packages.
I hope that etch will be as good as sarge , for me sarge never hanged once in its life, the only problem I had was a that a couple of deamons used to exit silently after a couple of weeks running . Hopefully etch comes with a version of shorewall that is able to handle traffic shaping.

2 cents about gentoo : I love gentoo and I have no intention to change my desktop distro …but debian management is damn faster… I remeber last Gcc major upgrade , rebuilding the the system and then the world , emerge breaking during night, a couple of days compiling vs 20 min of debs fetching in debian.

Squid and Shorewall have new configurations:

  • Squid: ( ola ola Christian )delete these lineshttpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    and add this always_direct allow all.Now look for http_port X.X.X.X and add “transparent” the result should be something like this:http_port transparent
  • Shorewall: have a look at /usr/share/doc/shorewall/examples . Now the file “zones” must contain the firewall zone, there are no comments and no display any more so in the end you should find something like this:net ipv4
    loc ipv4
    fw firewall

    ipv4 is the default for normail traffic

Written by gas

aprile 9th, 2007 at 2:19 pm

Posted in English,Generale,Linux

Tagged with , , ,

Leave a Reply