[Pkg-grass-devel] [ pkg-grass-Bugs-301860 ] Dependency problems

noreply@alioth.debian.org noreply@alioth.debian.org
Sun, 03 Jul 2005 17:31:44 +0000


Bugs item #301860, was opened at 2005-06-29 20:26
You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=410558&aid=301860&group_id=30241

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Dependency problems

Initial Comment:
libpostgis1-pg74 : 1.0.0-1
This package depends on postgresql (>= 7.4.0), postgresql-contrib (>= 7.4.0) and conflicts with postgresql (>> 7.4.99) which actually is a workaround to say not postgresql 8.0.
However, postgresql version 7.4 is not provided by the postgresql package (which provides a dummy transitional 7.5.4 pkg) but by postgresql-7.4 (and postgresql-contrib-7.4).
The package has to be updated to set deps on postgresql-7.4 package (works fine) before we move to postgis for postgresql 8.0.

--- debian/control      2005-06-30 01:30:00.072472888 +0200
+++ debian/control.new  2005-06-30 01:33:12.233260008 +0200
@@ -11,7 +11,7 @@
 Provides: libpostgis
 Conflicts: postgis
 Architecture: any
-Depends: ${shlibs:Depends}, libgeos2 (>= 2.1.1), postgresql (>= 7.4.0), postgresql-contrib (>= 7.4.0), sudo
+Depends: ${shlibs:Depends}, libgeos2 (>= 2.1.1), postgresql-7.4 (>= 7.4.0), postgresql-contrib-7.4 (>= 7.4.0), sudo
 Conflicts: postgresql (>> 7.4.99)
 Suggests: libpostgis-doc (= ${Source-Version})
 Description: geographic objects support for PostgreSQL


qgis-plugin-grass : 0.6.99+0.7.0pre1-0.debian.unstable.1-1
depends on libgdal1-grass (>= 1.2.6-0) which is not available on debian GIS nor debian unstable. I compiled it with the new libs and so I could install the plugin.
However, this requires to install libgrass which overwrites some of the libgrass0 pkg. This is one more time because the deps of libgdal1-grass contains libgrass (unstable branch) and not libgrass0 (debianGIS branch).
Dependency hell, isn't it :)

However, after some package building, I everything back in order :)

Thanks for the good work. 
--
jerome
j-andrieux@laposte.net

----------------------------------------------------------------------

>Comment By: Steve Halasz (shalasz-guest)
Date: 2005-07-03 13:31

Message:
Logged In: YES 
user_id=10962

I've uploaded libgdal1-grass to debianGIS and this should be
fixed as far as qgis-plugin-grass is concerned. You
shouldn't have to do anything special in
/etc/apt/preferences. The latest version should always have
the higher version number regardless of which archive it's
in. The libgrass0 thing was a screw-up that shouldn't happen
again.

To use grass tools you need to start qgis from the grass>
prompt.

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2005-06-30 06:48

Message:
Logged In: NO 

That makes /etc/apt/preferences pretty hard to manage :)
However with grass/libgrass from unstable, libgdal1-grass hand-compiled, qgis-plugin-grass doesn'twork really well. 
this message is printed to stdout while loading qgis : 
Loaded /usr/lib/qgis/grassplugin.so
QObject::connect: Incompatible sender/receiver arguments
        QSignal::signal(const QVariant&) --> QgsGrassPlugin::switchRegion(bool)
Loaded /usr/lib/qgis/grassprovider.so

Then importing layers works but loading tools fails.

----------------------------------------------------------------------

Comment By: Steve Halasz (shalasz-guest)
Date: 2005-06-29 21:03

Message:
Logged In: YES 
user_id=10962

Oops. I had intended libgdal1-grass to be in the main
archive at this point, but it got rejected from the NEW
queue pending the C++ ABI transition. I'll upload that to
debianGIS when I get back home Friday. libgrass from the
main debian archive is the most up-to-date version.
libgrass0 from debianGIS is superceded by it, although
upgrading may require manual removal of libgrass0.

Steve

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=410558&aid=301860&group_id=30241