Archive for February, 2009

Debian etch and “The following packages have been kept back…”

Posted in: System engineering, debian 4, lenny, open source.

Update: Debian 5.0 Lenny was indeed released shortly after this post and will hopefully make it into all the mirror repositories today.

Just for the record: It seems the new Debian Lenny release is close at hand.
Apparently a few packages for the lenny release already made it into the productive repositories, which causes them to be held back by apt-get upgrade:


apt-get dist-upgrade -V
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages have been kept back:
libapache2-mod-php5 (... => 5.2.6.dfsg.1-1+lenny2)
libperl5.8 (... => 5.8.8-11.1+lenny1)
php-pear (... => 5.2.6.dfsg.1-1+lenny2)
...

apt-get dist-upgrade, which usually resolves this issue by upgrading the system to the most recent release does not work yet, since lenny was not released so far.

No Comments

Maven, Surefire, remote debugging and the -javaagent switch

Posted in: J2EE, java, maven 2, spring.

When using maven surefire in conjunction with remote debugging (mvnDebug, for instance)
it seems necessary to disable forking of the test executions into separate processes, as the remote debugging works process wise. This is usually done by setting the the fork mode to never, e.g. by specifying -DforkMode=never on the command line.

This is, however, a misunderstanding. mvnDebug is there to enable debugging of the maven process and not of the surefire execution – and disabling forking may have various side effects. One of those is the use of Java agents. When using agents, e.g. for loadtime-weaving in the Spring Framework, one often specifies a -javaagent: as a JVM argument for surefire:
Read the rest of “Maven, Surefire, remote debugging and the -javaagent switch”

No Comments