samizdat-devel
[Top][All Lists]
Advanced

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

20080703 on etch: a better hack [was Re: dependence of recent versions o


From: boud
Subject: 20080703 on etch: a better hack [was Re: dependence of recent versions on libruby1.8 >= 1.8.6.36-1]
Date: Mon, 14 Jul 2008 22:20:09 +0200 (CEST)
User-agent: Alpine 1.10 (DEB 962 2008-03-14)

hi again samizdat-devel,

On Sun, 13 Jul 2008, boud wrote:

hi samizdat-devel,

The recent versions of samizdat in debian experimental have
a dependence on libruby1.8 >= 1.8.6.36-1.

Is there a reason for this apart from the sync.rb bug?

This question still remains...!

Below i've put what is enough to at least install the latest
experimental version on an etch system. i don't (yet) know whether or
not it introduces bugs due to ignoring the ruby 1.8.6.36-1 dependence.

The script i suggested in yesterday's message has a bug. After using
ignore-depends, aptitude insists on removing all 3 samizdat packages
before upgrading any other packages. i tried = to hold the packages
in interactive aptitude and failed. Maybe there is a way to persuade
aptitude to relax and not worry about the broken dependence in these
3 packages, but i did not find out how to do it.

Here's an alternative hack which fools aptitude: download the debian source,
modify the ruby1.8  >= 1.8.6.36-1 dependence, increase the version
number of samizdat slightly, and then recreate the 3 debian packages.
It seems to work.

Details below.

cheers
boud

######################################################################
HOW TO INSTALL samizdat-0.6.1.20080703-2 ON ETCH:

AS ORDINARY USER:

# get samizdat source
wget 
http://ftp.de.debian.org/debian/pool/main/s/samizdat/samizdat_0.6.1.20080703.orig.tar.gz
wget 
http://ftp.de.debian.org/debian/pool/main/s/samizdat/samizdat_0.6.1.20080703-2.dsc
wget 
http://ftp.de.debian.org/debian/pool/main/s/samizdat/samizdat_0.6.1.20080703-2.diff.gz

# get the mahoro package source from testing
wget http://ftp.de.debian.org/debian/pool/main/m/mahoro/mahoro_0.1.orig.tar.gz
wget http://ftp.de.debian.org/debian/pool/main/m/mahoro/mahoro_0.1-4.diff.gz
wget http://ftp.de.debian.org/debian/pool/main/m/mahoro/mahoro_0.1-4.dsc
dpkg-source -x mahoro_0.1-4.dsc
cd mahoro-0.1/

# you might need the following:
# cdbs # common debian build system
# etch  # ruby-pkg-tools not on sarge
aptitude install cdbs ruby-pkg-tools libmagic-dev libmagic
fakeroot debian/rules binary

cd ..

AS ROOT:
dpkg -i libmahoro-ruby1.8_0.1-4_i386.deb
dpkg -i libmahoro-ruby_0.1-4_all.deb


AS ORDINARY USER:
# get the samizdat source
dpkg-source -x samizdat_0.6.1.20080703-2.dsc
cd samizdat-0.6.1.20080703/debian

# update (hack) the samizdat version number slightly
sed -e 's/0\.6\.1\.20080703-2/0.6.1.20080703-2.1/' \
    changelog > changelog.new && \
    mv -b changelog.new changelog

# downgrade the ruby1.8 dependence
sed -e 's/1\.8\.6\.36-1/1.8.5/' control > control.new && \
    mv -b control.new control

# create the .deb package
cd ..
fakeroot debian/rules binary
cd ..

AS ROOT:
dpkg -i libsamizdat-ruby_0.6.1.20080703-2.1_all.deb
dpkg -i libsamizdat-ruby1.8_0.6.1.20080703-2.1_all.deb
dpkg -i samizdat_0.6.1.20080703-2.1_all.deb


######################################################################





reply via email to

[Prev in Thread] Current Thread [Next in Thread]