debian

Clone Debian/Ubuntu installation

Is there an easy way of cloning entire installed debian/ubuntu system? I want to have identical installation in terms of installed packages and as much as possible of settings. I've looked into options of aptitude, apt-get, synaptic but have found nothing. ...

Upgrade Subversion 1.4.3 to 1.5.2 on Debian (hosted account)

I'm trying to upgrade my subversion server (I have it hosted with Dreamhost) This is what I run: wget http://subversion.tigris.org/downloads/subversion-1.5.2.tar.bz2 wget http://subversion.tigris.org/downloads/subversion-deps-1.5.2.tar.bz2 tar -xjf subversion-1.5.2.tar.bz2 tar -xjf subversion-deps-1.5.2.tar.bz2 cd subversion-1.5.2 ./c...

Is there a tool to automatically fetch build dependencies under Debian or Ubuntu?

I recently downloaded the source tarball for a GTK application that I'd like to improve. It uses the standard ./configure and make build sequence. The first time through, configure reported a bunch of unmet build dependencies, such as libgnomeui-2.0. As I usually do, I had to manually go through and find the Debian *-dev package names...

timerfd_create with debian linux testing on amd64

Hi, I am trying to use timerfd_create and timerfd_settime under Debian Linux lenny. The manpage says to include <sys/timerfd.h>. This file cannot be located on my System. According to the Debian Package Search the only packages with a timerfd.h are the linux-headers-* packets. I have installed the packets linux-headers-2.6.26-1-amd64 ...

How to install packages locally

Background: I have a kubuntu laptop right now that I can't use wirelessly, i.e. I haven't got wireless assistant installed. But I have a windows laptop that I can download the debian packages seperately on a USB memory stick. How do I install a debian package on the computer locally? ...

Building Subversion 1.5.4 on Debian: could not find library containing RSA_new

I've been trying to build subversion (on a limited account) for a long time but without any luck :( The instructions I'm following: http://wiki.dreamhost.com/Subversion_Installation Running this: ./configure --prefix=${RUN} --without-berkeley-db --with-ssl --with-zlib --enable-shared Gives me this error: checking for library contai...

How to download/install pre-compiled Subversion binaries for Debian

Been trying to upgrade my subversion installation, but due to (what I believe) are limited rights (I'm using hosted Linux account), I'm not able to properly "./configure" and compile the source code (see posts Post1 and Post2 if very interested) So, I'm thinking if I could just download pre-compiled binaries, the just might solve my pro...

Anything like the Debian Package Manager for Windows?

I know that sounds a weird request. But I was installing a bunch of packages in Ubuntu yesterday, using apt-get and I started wondering if anyone had adapted it or produced anything similar for Windows. What I mean is a) an package manager / installer for Windows. And b) a repository of free-software packages in a compatible format. ...

How to fix Apache instability ?

I have configured a simple LAMP stack on Debian and I am experiencing some problems with the Apache web server. Each 3-4 hours the web server is entering a deadlock and all the requests that hit the database block. The server is creating a new child for each request. The number of processes increases very quickly. After a few seconds M...

What method(s) do you use to test a debian/ubuntu package?

I'm talking about testing a package that you're building, especially one that spawns a daemon and/or fiddles with init.d. Do you log into some sort of chroot? Do you create a virtualized distribution and tear it down? How do you test your runtime dependencies and test suite without fouling up your dev machine for the next time you run y...

How to use libapt (or libept) in debian-like system to list packages and get their infos?

Somebody used libapt or libept to list packages and get informations about package in a debian-like system? Libapt is not well-documented at all, and i've found few examples and tutorials about libept. Can someone explain me best methods to get a list of every packages in the apt-system get informations about single packages (like na...

How to get file list from a Debian package using eptlib libraries?

Simple question: I have loaded an Apt package record with libept. There is a method to get file list? It should sound like record.GetFileList(); and it should return a vector string like the output of dpkg -L packagename ...

Easiest way to merge partitions under debian (unix)?

I have two unix partitions under debian which I would like to merge (disk space problems :/). What would be the easiest way to do it? I think it would be best to tar or copy files from one partition to the other, delete one and resize the other. I will use parted to resize but how should I copy the files? There are links, permissions and...

Repairing fstab (read only /)

I had a typo in my fstab and it boots to a commandline but is readonly, I know what the error is but i can't change it because it's mounted as readonly. I want to mount the filesystem and make the changes. I know I can boot a live distro and edit it that way, but i was wondering if there was an easier way to do it. It's debian lenny by ...

SVN (mod_dav) 403 FORBIDDEN OPTION request

So I'm trying to setup a subversion server using mod_dav with apache2 but when I try to connect it gives me a 403 FORBIDDEN error. Here's my default virtual host file NameVirtualHost *:443 NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName hcs-dev DocumentRoot /var/www <Directory /> ...

How to start an application on the server from a webpage

Example: The user login to the webpage => Click on a button This action starts the executable "CreatePrettyPicture" The file "prettypicture.jpg" is created on the server When the user reloads the page the pretty picture "PrettyPicture.jpg" is shown on the page. If I could start the application with a parameter it would be even better....

Best Books for getting up to speed in all things UNIX

I have been hacking around on UNIX servers for a while now, I love Debian, its a great server OS. But I feel like I don't really grasp the entire system and overall environment of UNIX. More and more, server maintenance and configuration is becoming a bigger part of my life and I am looking for some great book recommendations. Keep in ...

Linux Write Something on multiple files

Hello, example: I have a file "atest.txt" that have some text.. I want to print this text at files "asdasd.txt asgfaya.txt asdjfusfdgh.txt asyeiuyhavujh.txt" This files is not exist on my server.. I'm running Debian.. What can i do? ...

Installing and Linking PhysX Libraries in Debian Linux

Hello! I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK here: http://developer.download.nvidia.com/PhysX/2.8.1/PhysX_2.8.1_SDK_CoreLinux_deb.tar.gz Next, I extracted the files and installed each package with: dpkg -i filename.deb This gives me the following files located in /usr/lib/PhysX/v2.8.1: li...

How to see packages installed on a given date using aptitude

Does anyone know if there's an easy way to find a list of packages installed, sorted by date, when using aptitude (or apt-get)? I was installing a bunch of packages to try something new, and it didn't work out. I'd like to remove all of these packages, to get back some disk space. I've tried just looking at the list of .deb files down...