debian

What's the best way to turn CPAN modules into Debian packages?

Whenever I work on a system of any flavor that has a particular way of handling package management, I try to stick with that standard for managing my Perl modules. "When in Rome, etc." For example, on a Win32 system using ActivePerl, I use PPM for everything and use the great PPM::Make. On a RedHat system I prefer to use RPMs. Now I ...

What dummy X server should I use with openoffice on debian?

Hi, I need to run openoffice in batch mode to turn .doc files into pdf, but openoffice won't start because it needs an X server. My linux box doesn't have one. Is there some dummy blackhole X server around I can use? I'm using debian etch. ...

Installing CEDET 1.0pre6 as user while keeping CEDET 1.0pre4 deb package installed

My work computer (Ubuntu 8.10) has CEDET version 1.0pre4 installed, and I'm trying to install the newest version of CEDET (1.0pre6) in my local directory (the ultimate goal, upgrading ECB to the newest version). Unfortunately, the default debian/ubuntu installation initializes the system-wide packages for CEDET and ECB before my .emacs ...

Passenger / REE can't find rails, it's in the $PATH, what gives?

I've got a fresh install of Ruby EE (1.8.6-20090610) and Passenger (2.2.5) on Debian Lenny. REE is installed in /opt/ruby-enterprise and it is added to the $PATH of all users through /etc/environment, and PassengerDefaultUser is set to root. The problem is when loading a rails app, the Passenger error says the rails 2.3.3 gem is missin...

Debian packaging of a Python package.

I need to write (or find) a script to create a Debian package (using python-support) from a Python package. The Python package will be pure Python (no C extensions). The Python package (for testing purposes) will just be a directory with an empty __init__.py file and a single Python module, package_test.py. The packaging script must us...

connecting to my local virtualized debian

Hello I have installed Debian as a VirtualBox guest on Windows XP. Now I have installed ssh and apache on this virtualized Debian yet I couldn't find a way to connect. I have already tried "10.0.0.2", "10.0.2.2" and inet addresses I get from running "ifconfig". (I can get the "it works!" page of apache2 when I try 127.0.0.1 under guest D...

Mysql error on debian server

Hi i have a debian server. Today my site was showing Error establishing a database connection. When i tried to restart mysql i am getting this error: ERROR: The partition with is too full! failed! I have run apt-get clean command also but still i am getting this error. Please help ...

MySQL.Data.dll error in monodevelop in Debian mono

Application was initially developed in VS 2008. It uses MySQL.data.dll for connecting to MySQL database. Application runs perfectly fine in Windows. But production environment is Debian with mono. Now copied entire solution in the Debian box. Entire solution opens in monodevelop correctly. It doesn't throw any error in building. But ...

Openfire Java Memory

Hi, I have openfire installed on my debian server. I want to know that whether openfire java memory should be less than server memory? For e.g. i have a server with 256 MB RAM now can i have openfire java memory more than 256 MB RAM or it should be less than 256. Please help Thanks, Pankaj ...

Compiling for amd64 under i386 Debian

Cheers, I want to avoid problems with compiling my code on amd64, yet I don't have a 64-bit CPU available and have no hopes of getting upgrade to my machine any time soon. I have no dreams of testing the code (although that should theoretically be possible using qemu-system) but I'd like to at least compile the code using gcc -m64. Bas...

debian repo: Is there a way to include a complete URI for the download path in the Packages.gz file?

I have several DEBIAN repositories I would like to "virtually" consolidate i.e. have one location for the Packages.gz file whilst having the "download links" for each package listed be located somewhere else (not the same server). Is this possible? Example: Repositories X, Y, Z Virtual Repository V with Packages.gz entries X1, X2 e...

How to distribute ruby software in debian environments

How to easily package software that uses multiple gems into a debian installable packages? ...

Why does CPAN.pm fail to upgrade?

Clarification: I'm pretty much a Perl/CPAN noob, don't assume I know too much. I have a pretty vanilla CPAN because I just rebuild my entire Lenny 5.0.2 VPS - so I pretty much have the default modules installed. My eventual goal is to setup foswiki on my Apache 2.x based server. So far I'm reading this guide and it says the fi...

debian man pages for system calls

Hi I installed debian lenny, but I was quite surprise that I can't get man pages for system call. like man 2 read etc. How to install them? thanks ...

What version is 5.2.0-8+etch13 really?

It is probably and stupid question, but what version of PHP5 is 5.2.0-8+etch13 ? Is it really 5.2.0 ? Because maybe it is just the debian version that covers something else. ...

Creating .deb packages from prebuilt binaries?

I would like to create a Debian/Ubuntu .deb package from a set of prebuilt binaries. I don't have any access to the source code. The only tutorials I've found on creating debs require source code access, and so do all the convenient and easy tools for creating Debian packages. So how can I create a deb from a folder of binaries? ...

Regex match a string with spaces (use quotes?) in an if statement

How would I do a regex match as shown below but with quotes around the ("^This") as in the real world "This" will be a string that can have spaces in it. #!/bin/bash text="This is just a test string" if [[ "$text" =~ ^This ]]; then echo "matched" else echo "not matched" fi I want to do something like if [[ "$text" =~ "^This ...

How should I copyright and license my free software?

I'm all new to the open source free software thing, but any way I'm going into it pretty well (I guess!!). Now the thing is: in the way to distribute my program, I'll have to distribute my source code, so it will be a (.gz) with an installer for sure, or maybe a (.deb). My questions are: (I know this is a silly one, but I'm new here)...

Rename a bunch of files in debian

I have thousands of files that I need to rename with the following format. 2008:09:18:17:45:48-alfanumeric-alfanumeric.wav the first part is a date. Ex. 2008:09:18:17:45:48-703-s.wav A want to rename it to: 20080918.174548.703.s.wav Basically to remove the ':' and to make a more human readable format and easier to split. I know that...

Create Linux install for Qt application.

Hi, I just made a great program with Qt Creator. I'm very pleased with myself. How do I move it from my desktop to my laptop? So, the best way would be an installer right? And for Ubuntu, that's a debian package right? How do I do that? Has someone done this and could they share the template files for QT 4.5? Thanks, Mike ...