Rollback functionality for apt-rpm

Johnny Hughes mailing-lists at hughesjr.com
Thu Dec 7 07:37:19 PST 2006


On Thu, 2006-12-07 at 10:01 +0100, Tom G. Christensen wrote:
> > 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

I would LOVE to figure out a way to have repomd support without xmllib2
> 2.6 ... if that is at all possible, it would make me very happy :P.

(We have already added repomd support for the CentOS-3 repositories and
I think I could get it added to the CentOS-2.1 repositories)

Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20061207/971e3e71/attachment-0003.pgp>


More information about the Apt-Rpm mailing list