[postgis] 01/01: Drop Breaks/Replaces against liblwgeom-2.1.2, spotted by Bas Couwenberg.

2014-09-25 Thread Markus Wanner
This is an automated email from the git hooks/post-receive script.

markus_wanner-guest pushed a commit to branch master
in repository postgis.

commit f699a2005cbf67ae38a9fc7a92140052d5d51814
Author: Markus Wanner mar...@bluegap.ch
Date:   Thu Sep 25 16:26:52 2014 +0200

Drop Breaks/Replaces against liblwgeom-2.1.2, spotted by Bas
Couwenberg.
---
 debian/control| 2 --
 debian/control.in | 2 --
 2 files changed, 4 deletions(-)

diff --git a/debian/control b/debian/control
index c581c36..aa1e1c0 100644
--- a/debian/control
+++ b/debian/control
@@ -90,8 +90,6 @@ Package: liblwgeom-2.1.4
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Breaks: liblwgeom-2.1.2 ( 2.1.3+dfsg-2)
-Replaces: liblwgeom-2.1.2 ( 2.1.3+dfsg-2)
 Description: PostGIS Lightweight Geometry library
  PostGIS adds support for geographic objects to the PostgreSQL
  object-relational database. In effect, PostGIS spatially enables
diff --git a/debian/control.in b/debian/control.in
index 80377b7..c3147bf 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -90,8 +90,6 @@ Package: liblwgeom-2.1.4
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Breaks: liblwgeom-2.1.2 ( 2.1.3+dfsg-2)
-Replaces: liblwgeom-2.1.2 ( 2.1.3+dfsg-2)
 Description: PostGIS Lightweight Geometry library
  PostGIS adds support for geographic objects to the PostgreSQL
  object-relational database. In effect, PostGIS spatially enables

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/postgis.git

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


liblwgeom-2.1.2

2014-06-27 Thread Jakub Juraszek

HI. I've today upgraded pkg liblwgeom-2.1.2

# cat /var/log/apt/history.log
Start-Date: 2014-06-27  09:36:33
Upgrade: libssl1.0.0:amd64 (1.0.1e-3ubuntu1.3, 1.0.1e-3ubuntu1.6), 
dpkg-dev:amd64 (1.16.12ubuntu1.2, 1.16.12ubuntu1.3), libjson-c2:amd64 
(0.11-2ubuntu1, 0.11-2ubuntu1.2), tzdata-java:amd64 
(2014c-0ubuntu0.13.10, 2014e-0ubuntu0.13.10), gnupg:amd64 
(1.4.14-1ubuntu2.1, 1.4.14-1ubuntu2.2), libxml2:amd64 
(2.9.1+dfsg1-3ubuntu2.1, 2.9.1+dfsg1-3ubuntu2.3), libxml2-dev:amd64 
(2.9.1+dfsg1-3ubuntu2.1, 2.9.1+dfsg1-3ubuntu2.3), libdpkg-perl:amd64 
(1.16.12ubuntu1.2, 1.16.12ubuntu1.3), *liblwgeom-2.1.2:amd64 
(2.1.2+dfsg-1.pgdg13.10+4, 2.1.3+dfsg-1.pgdg13.10+7)*, gpgv:amd64 
(1.4.14-1ubuntu2.1, 1.4.14-1ubuntu2.2), libjson0:amd64 (0.11-2ubuntu1, 
0.11-2ubuntu1.2), tzdata:amd64 (2014c-0ubuntu0.13.10, 
2014e-0ubuntu0.13.10), openssl:amd64 (1.0.1e-3ubuntu1.3, 1.0.1e-3ubuntu1.6)

Remove: libfile-fcntllock-perl:amd64 (0.14-2)
End-Date: 2014-06-27  09:37:05


# dpkg -l |grep liblwgeom-2
ii  liblwgeom-2.1.2

This removed /usr/lib/liblwgeom-2.1.2.so !
lib pkg name differs from lib numbers

# dpkg -L liblwgeom-2.1.*2*
/.
/usr
/usr/lib
/usr/lib/liblwgeom-2.1.*3*.so
/usr/share
/usr/share/doc
/usr/share/doc/liblwgeom-2.1.2
/usr/share/doc/liblwgeom-2.1.2/copyright
/usr/share/doc/liblwgeom-2.1.2/changelog.gz
/usr/share/doc/liblwgeom-2.1.2/changelog.Debian.gz

My postgresql obviously started reporting errors.
Because I did not make backup of /usr/lib I temporally had to make a 
symlink


# ls -l /usr/lib/liblwgeom-2.1*
lrwxrwxrwx 1 root root 27 cze 27 10:15 /usr/lib/liblwgeom-2.1.2.so 
- /usr/lib/liblwgeom-2.1.3.so

-rw-r--r-- 1 root root 377352 maj 19 17:56 /usr/lib/liblwgeom-2.1.3.so

It seems to work for now but I think the pkg is broken - name differs 
from library actual version?
Is there some mailing list I'm missing? Is this error in name or does 
those lib differ in important way?



--
Podpis

Pozdrawiam.
Jakub Juraszek.

Abakus Systemy Teleinformatyczne Sp. z o.o.
ul. Działowa 8A, 43-300 Bielsko-Biała
tel. (+48)338193925
tel. kom. (+48)501531599
NIP 547-200-12-22, REGON 072903418, KRS 205103, KZ 5
Zapraszam na stronę firmową: abakus.net.pl http://www.abakus.net.pl
Profil facebook: facebook.com/abakusst https://www.facebook.com/abakusst

Niniejsza wiadomość zawiera informacje poufne, przeznaczone do 
wyłącznego użytku adresata.
Jeśli nie są Państwo adresatem przesyłki lub jeśli otrzymaliście Państwo 
ten dokument omyłkowo, proszę o bezzwłoczne skontaktowanie się z nadawcą.
Wszelkie rozpowszechnianie, dystrybucja, reprodukcja, kopiowanie, 
publikacja lub wykorzystanie tej wiadomości czy też zawartych w niej 
informacji przez osobę inną niż adresat jest niedozwolone i może 
spowodować odpowiedzialność prawną.
Proszę o rozważenie czy wydrukowanie tego maila jest konieczne - 
Oszczędzając papier przyczyniamy się do ochrony środowiska naturalnego.


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Re: liblwgeom-2.1.2

2014-06-27 Thread Sebastiaan Couwenberg
On 06/27/2014 11:02 AM, Jakub Juraszek wrote:
 It seems to work for now but I think the pkg is broken - name differs
 from library actual version?
 Is there some mailing list I'm missing? Is this error in name or does
 those lib differ in important way?

You appear to be running Ubuntu with the pgapt repository enabled, and
it has a known buggy version of postgis.

The issue was fixed in postgis 2.1.3+dfsg-3, which apparently hasn't
made it to the repository you're using.

I've CC'ed Markus who is also involved with the pgapt repository.

It looks like postgis 2.1.3+dfsg-3.pgdg13.10+2 is available in the pgapt
repository, liblwgeom-2.1.3 version 2.1.3+dfsg-3.pgdg13.10+2
should contain the fix for your issue.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Re: liblwgeom-2.1.2

2014-06-27 Thread Markus Wanner
Bas,

thanks for the heads up.

On 06/27/2014 11:41 AM, Sebastiaan Couwenberg wrote:
 On 06/27/2014 11:02 AM, Jakub Juraszek wrote:
 It seems to work for now but I think the pkg is broken - name differs
 from library actual version?
 Is there some mailing list I'm missing? Is this error in name or does
 those lib differ in important way?

 You appear to be running Ubuntu with the pgapt repository enabled, and
 it has a known buggy version of postgis.
 
 The issue was fixed in postgis 2.1.3+dfsg-3, which apparently hasn't
 made it to the repository you're using.

Jakub,

what repositories are you using?

It looks like Ubuntu itself still ships a 2.1.2+dfsg-2, at least for
trusty and utopic. (Which has a security issue, where the package name
still matched the library name.)

Regards

Markus Wanner


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#749030: liblwgeom-2.1.3 and liblwgeom-2.1.2: error when trying to install together

2014-05-23 Thread Ralf Treinen
Package: liblwgeom-2.1.2,liblwgeom-2.1.3
Version: liblwgeom-2.1.2/2.1.3+dfsg-1
Version: liblwgeom-2.1.3/2.1.3+dfsg-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2014-05-23
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


Selecting previously unselected package libgeos-3.4.2.
(Reading database ... 10936 files and directories currently installed.)
Preparing to unpack .../libgeos-3.4.2_3.4.2-5_amd64.deb ...
Unpacking libgeos-3.4.2 (3.4.2-5) ...
Selecting previously unselected package libgeos-c1.
Preparing to unpack .../libgeos-c1_3.4.2-5_amd64.deb ...
Unpacking libgeos-c1 (3.4.2-5) ...
Selecting previously unselected package proj-data.
Preparing to unpack .../proj-data_4.8.0-5_amd64.deb ...
Unpacking proj-data (4.8.0-5) ...
Selecting previously unselected package libproj0.
Preparing to unpack .../libproj0_4.8.0-5_amd64.deb ...
Unpacking libproj0 (4.8.0-5) ...
Selecting previously unselected package libjson0:amd64.
Preparing to unpack .../libjson0_0.11-4_amd64.deb ...
Unpacking libjson0:amd64 (0.11-4) ...
Selecting previously unselected package liblwgeom-2.1.2.
Preparing to unpack .../liblwgeom-2.1.2_2.1.3+dfsg-1_amd64.deb ...
Unpacking liblwgeom-2.1.2 (2.1.3+dfsg-1) ...
Selecting previously unselected package liblwgeom-2.1.3.
Preparing to unpack .../liblwgeom-2.1.3_2.1.3+dfsg-2_amd64.deb ...
Unpacking liblwgeom-2.1.3 (2.1.3+dfsg-2) ...
dpkg: error processing archive 
/var/cache/apt/archives/liblwgeom-2.1.3_2.1.3+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/liblwgeom-2.1.3.so', which is also in package 
liblwgeom-2.1.2 2.1.3+dfsg-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/liblwgeom-2.1.3_2.1.3+dfsg-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

  /usr/lib/liblwgeom-2.1.3.so

This bug has been filed against both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may then
also register in the BTS that the other package is affected by the bug.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#749030: liblwgeom-2.1.3 and liblwgeom-2.1.2: error when trying to install together

2014-05-23 Thread Sebastiaan Couwenberg
Hi Ralf,

Thanks for reporting this issue.

This same issue was also reported by Ralf Treinen in #Ben
Caradoc-Davies, so I've merged your two bugs.

The liblwgeom-2.1.3 package is fixed using Breaks/Replaces by Markus
Wanner in git, and is pending upload.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#749030: marked as done (liblwgeom-2.1.3 and liblwgeom-2.1.2: error when trying to install together)

2014-05-23 Thread Debian Bug Tracking System
Your message dated Fri, 23 May 2014 15:51:34 +
with message-id e1wnrks-a2...@franck.debian.org
and subject line Bug#749015: fixed in postgis 2.1.3+dfsg-3
has caused the Debian Bug report #749015,
regarding liblwgeom-2.1.3 and liblwgeom-2.1.2: error when trying to install 
together
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
749015: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749015
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: liblwgeom-2.1.2,liblwgeom-2.1.3
Version: liblwgeom-2.1.2/2.1.3+dfsg-1
Version: liblwgeom-2.1.3/2.1.3+dfsg-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2014-05-23
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


Selecting previously unselected package libgeos-3.4.2.
(Reading database ... 10936 files and directories currently installed.)
Preparing to unpack .../libgeos-3.4.2_3.4.2-5_amd64.deb ...
Unpacking libgeos-3.4.2 (3.4.2-5) ...
Selecting previously unselected package libgeos-c1.
Preparing to unpack .../libgeos-c1_3.4.2-5_amd64.deb ...
Unpacking libgeos-c1 (3.4.2-5) ...
Selecting previously unselected package proj-data.
Preparing to unpack .../proj-data_4.8.0-5_amd64.deb ...
Unpacking proj-data (4.8.0-5) ...
Selecting previously unselected package libproj0.
Preparing to unpack .../libproj0_4.8.0-5_amd64.deb ...
Unpacking libproj0 (4.8.0-5) ...
Selecting previously unselected package libjson0:amd64.
Preparing to unpack .../libjson0_0.11-4_amd64.deb ...
Unpacking libjson0:amd64 (0.11-4) ...
Selecting previously unselected package liblwgeom-2.1.2.
Preparing to unpack .../liblwgeom-2.1.2_2.1.3+dfsg-1_amd64.deb ...
Unpacking liblwgeom-2.1.2 (2.1.3+dfsg-1) ...
Selecting previously unselected package liblwgeom-2.1.3.
Preparing to unpack .../liblwgeom-2.1.3_2.1.3+dfsg-2_amd64.deb ...
Unpacking liblwgeom-2.1.3 (2.1.3+dfsg-2) ...
dpkg: error processing archive 
/var/cache/apt/archives/liblwgeom-2.1.3_2.1.3+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/liblwgeom-2.1.3.so', which is also in package 
liblwgeom-2.1.2 2.1.3+dfsg-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/liblwgeom-2.1.3_2.1.3+dfsg-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

  /usr/lib/liblwgeom-2.1.3.so

This bug has been filed against both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may then
also register in the BTS that the other package is affected by the bug.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.
---End Message---
---BeginMessage---
Source: postgis
Source-Version: 2.1.3+dfsg-3

We believe that the bug you reported is fixed in the latest version of
postgis, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 749...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Wanner mar...@bluegap.ch (supplier of updated postgis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date

[postgis] 01/01: Fix an installation issue due to common files in liblwgeom-2.1.2 and 2.1.3.

2014-05-22 Thread Markus Wanner
This is an automated email from the git hooks/post-receive script.

markus_wanner-guest pushed a commit to branch master
in repository postgis.

commit f6205d9918204d354e67750c2a56cd8022a5b8bd
Author: Markus Wanner mar...@bluegap.ch
Date:   Thu May 22 23:07:24 2014 +0200

Fix an installation issue due to common files in liblwgeom-2.1.2 and 2.1.3.

* Add a Breaks: liblwgeom-2.1.2 due to the attempted quick security fix
  in 2.1.3+dfsg-2, which shipped liblwgeom-2.1.3.so in a package named
  liblwgeom-2.1.2.
---
 debian/changelog  | 3 +++
 debian/control| 1 +
 debian/control.in | 1 +
 3 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2ee718f..a197fa7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ postgis (2.1.3+dfsg-3) UNRELEASED; urgency=low
 
   * In patch use-debian-maven: Also drop the version requirement for the
 maven-javadoc-plugin.
+  * Add a Breaks: liblwgeom-2.1.2 due to the attempted quick security fix
+in 2.1.3+dfsg-2, which shipped liblwgeom-2.1.3.so in a package named
+liblwgeom-2.1.2.
 
  -- Markus Wanner mar...@bluegap.ch  Thu, 22 May 2014 17:59:05 +0200
 
diff --git a/debian/control b/debian/control
index 4e8ae08..52ca37d 100644
--- a/debian/control
+++ b/debian/control
@@ -90,6 +90,7 @@ Package: liblwgeom-2.1.3
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: liblwgeom-2.1.2 (= 2.1.3+dfsg-1)
 Description: PostGIS Lightweight Geometry library
  PostGIS adds support for geographic objects to the PostgreSQL
  object-relational database. In effect, PostGIS spatially enables
diff --git a/debian/control.in b/debian/control.in
index 2486b80..644c638 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -90,6 +90,7 @@ Package: liblwgeom-2.1.3
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: liblwgeom-2.1.2 (= 2.1.3+dfsg-1)
 Description: PostGIS Lightweight Geometry library
  PostGIS adds support for geographic objects to the PostgreSQL
  object-relational database. In effect, PostGIS spatially enables

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/postgis.git

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel