debian

ANT Problems: net/sf/antcontrib/antcontrib.properties

I am attempting to install software onto my Debian Lenny server. Specifically, Capture-HPC. I have setup VMWare server, along with all the prerequisites. When I go to run ant in the directory, i get the following error: [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found. A...

How to display a warning when update package which depends on the particular version of an existing

Example: Package Foo wich depends on package Bar on version 0.1 When I update package bar to version 0.2 I want to see a message that, there is package Foo which depends on version 0.1 of the package Bar, but I do not want to abort the install process. Is there any way to do this? (maybe some extra line in control file) Thanks ...

Script to check for VGA/HDMI cable and channel status.

Hi there, i have to customize a debian based distro to run on some pc, showing some advertising on screen (with firefox in fullscreen mode). I'd like to write a software (script or compiled) that checks every X seconds the status of the VGA/HDMI cable and upon disconnection send an email to the administrator. It would be nice to check i...

how to define the "depends" for the running kernel

package A depends on package B-kmod and B-kmod has several variants. like B-kmod--{generic,pae-generic} etc. and in turn B-kmod depends on linux-image of the same flavor. i'd like A to have depends on B-kmod-$(uname -r). how to express this in control file? ...

Tutorial/Guide to create a classic, small Linux application in a package (Debian)

I've made a small script in my machine, and an alias in .bashrc that calls it. It's a bash script with 3 lines, but it can grow. Now, some people in my team found it useful, and want to use it. Instead of saying "copy this alias, do this, do that, install that lib" I was thinking about creating a simple package to be a little more prof...

./configure && make && make install

I am logged in as a regular user. Should I use: ./configure && make && make install or sudo ./configure && sudo make && sudo make install or ./configure && make && sudo make install when installing packages. And could someone explain the differences. I want all users to be able to use it. ...

Any Debian based Linux distribution optimized for I686 or X86_64 and suitable for a number crunching cluster

I only know of Arch Linux which is pretty awesome and I use it for my desktop. But its rolling release model makes me wary of using it for servers. I know that the benefit of an optimized distribution will not be striking, at least it is unlikely to hurt. Given that I have more modern CPU I would rather enjoy an occasional benefit rather...

Distribute static/dynamic library to Linux via .deb

I have created a static and dynamic library that I want to distribute. How should I make my .deb file so the headers are put in /usr/include/, the libraries in /usr/lib/, etc. ...