[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Use Debian lenny package on Debian squeeze



On 03/11/2011 12:41 PM, ML mail wrote:
Dear Debian users,

I would like to know if it is possible to use a Debian lenny package on a Debian
squeeze installation and if yes how (what apt-get commands and/or modifications
in sources.list)?


Let me explain why: I am using Bacula to do backups on a Debian lenny box and
upgraded one server being backed up to Debian squeeze. Since then the backups
are not running because Debian squeeze uses Bacula version 5.0 and the backup
server (lenny) uses Bacula version 2.4. It is know that these two versions are
not compatible together anymore (rejected hello command error).

So I was wondering if it is somehow possible to install the Debian lenny
versions of bacula-common and bacula-fd packages on Debian squeeze...?

Many thanks in advance for your help.
Regards






one way is to specify in /etc/apt/sources.list lenny repository
and try to install from it
like apt-get install bacula-fd -t lenny , but in case of bacula
which has many dependencies that probably will not work

another way ( I prefer that one ) is to get the sources for the old bacula-*
and compile them on squeeze

you also need to define
deb-src pointing to the lenny repository
like  deb-src http://ftp.de.debian.org/debian/       lenny  main contrib

than run something like that
mkdir /tmp/bacula
cd /tmp/bacula
apt-get source bacula-fd
cd bacula-$version
 debuild -us -uc

you need devscripts package or pbuilder or ..
most probably you don't have all dependencies , so you'll need to install them . when all dependencies are satisfied it will (or will not ) build the package which you can
install  on squeeze .

and the 3'rd case is to update your bacula-director on lenny with
bacula-director -5.0 from http://backports.debian.org .
Anyway one day you'll need to upgrade to squeeze .

Regards ,
Alex


Reply to: