Re: Re: Re: New experimental, unofficial apt-rpm release

Panu Matilainen <[email protected]> Wed, 08 Feb 2006 19:03:28 +0200
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
--=-5wCqPM1+SGPGXXacVngp
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Mon, 2006-02-06 at 11:03 -0600, Rex Dieter wrote:
> Axel Thimm wrote:
> 
> > But I did notice one slight thing with RHEL4/x86_64 which is probably
> > unrelated to x86_64 and your patches:
> > 
> > You might want to run `apt-get --fix-broken install' to correct these.
> > The following packages have unmet dependencies:
> >   apr-devel: Depends: gcc (= 3.4.3) but 3.4.4-2 is installed
> > E: Unmet dependencies. Try using --fix-broken.
> > 
> > gcc is gcc-3.4.4-2, but provides gcc = 3.4.3-26 as well.
> 
> I see similar issues with gcc/libtool on rhel4/x86 when using apt.

I've been running apt with self-referencing provides enabled (see
attached patch) for a while now and nothing has blown up ... yet - knock
wood. At least it stops the complaints on RHEL 4 and FC3 where this was
also an issue.

	- Panu -


--=-5wCqPM1+SGPGXXacVngp
Content-Disposition: attachment; filename=apt-allow-self-provides.patch
Content-Type: text/x-patch; name=apt-allow-self-provides.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: apt-pkg/pkgcachegen.cc
===================================================================
--- apt-pkg/pkgcachegen.cc	(revision 31)
+++ apt-pkg/pkgcachegen.cc	(revision 32)
@@ -481,9 +481,12 @@
 {
    pkgCache &Cache = Owner->Cache;
 
+// PM:2006-02-07 allow self-referencing provides for now at least...
+#if 0
    // We do not add self referencing provides
    if (Ver.ParentPkg().Name() == PackageName)
       return true;
+#endif
    
    // Get a structure
    unsigned long Provides = Owner->Map.Allocate(sizeof(pkgCache::Provides));

--=-5wCqPM1+SGPGXXacVngp
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
apt-rpm mailing list
[email protected]
http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm

--=-5wCqPM1+SGPGXXacVngp--