Rollback functionality for apt-rpm

Tom G. Christensen tgc at statsbiblioteket.dk
Thu Dec 7 01:01:00 PST 2006


> On Thu, 2006-11-30 at 13:08 -0600, Johnny Hughes wrote:
>> On Thu, 2006-11-30 at 16:39 +0100, Dag Wieers wrote:
>>> On Thu, 30 Nov 2006, Panu Matilainen wrote:
>>> 
>>>> I've only had a quick glance over the patch, but one immediate
> concern is
>>>> that this adds a hard dependency on sqlite3. I've no idea if it's
>>>>  buildable (without upgrading like 50 other packages) on rpm-4.0
>>>> era systems (eg RHEL 2.1). Dag / Axel, comments? Breaking those
> systems is not
>>>> really an option at the moment as support for old systems appears
>>>> 
> to be
>>>> one of the bigger "selling points" of apt these days. Another
> thing is
>>>> that I'd like to keep the external hard dependencies to minimum.
>>> 
>>> Which brings us back to the libxml2 dependency :) In a previous
> discussion
>>> it was mentioned that this dependency might be removed. Since
>>> RHEL2.1 RHEL3 both ship with an older libxml2 (2.4.19 and 2.5.10
>>> resp.) and I think the minimum for apt is 2.6. CentOS is not
>>> willing to put apt into their extras repository (which is enabled
>>> by default) since they do not want to replace the upstream libxml2.
>>> 
>>> 
>>> Since sqlite is not shipping with any RHEL release, it shouldn't be
>>> a problem. But it's possible that if RHEL5 ships with it, we have
>>> to be careful not to require anything newer than that.
>>> 
>>> I haven't tried building sqlite3 for RHEL, sqlite2 is available
>>> though. I guess I should look into it. If Axel says it's possible,
>>> who am I to doubt ? :)
>>> 
>> 
>> Sqlite 3 (currently 3.3.3) is included in CentOS-4.
>> 
>> There will be a Sqlite 3 (3.3.3) in the CentOSPlus repo for CentOS-3
>> as well soon. (It is built and works fine now)
>> 
>> So from a CentOS perspective, we only need to build Sqlite 3 for EL
>> 2.1.
>> 
>> The only other issue we have is libxml2 ... I did not try versions
>> older than 2.6 ... but I give that a shot if you think it will work.
>> 
> 
> As the configure file points out, xmlReadFile is in > libxml2 > 2.6 ...
> so apt will not compile on versions < 2.6 (I modified the configure file
> and tried w/ libxml2-2.5.10... it would not compile, breaking with an
> error about xmlReadFile).
> 
All the necessary bits to disable repomd support was added in lorg3.90.
I've attached a backport to lorg3.2 that I've successfully built on RHEL 
2.1, 3 & 4. Sofar it's only been tested on RHEL 2.1 but it seems to work 
just fine.
To build it requires autotools for the configure bits so the buildroot 
must have autoconf 2.59, automake >= 1.9.5 and libtool >= 1.5.6 available.

Regarding SQLite3 and RHEL 2.1 I haven't had any issues with that.
I built sqlite 3.3.7 for RHEL 2.1 using the FC5 src.rpm as base and have 
used it in production with MailScanner (uses it for SpamAssassin cache) 
for two months with no problems.

-tgc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: apt-0.5.15lorg3.2-optional-repomd.patch
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20061207/8b3459c5/attachment-0003.asc>


More information about the Apt-Rpm mailing list