Bug#609480: libpe-rules2: upgrade failure

2011-01-16 Thread Andres Rodriguez
Simon,

I believe that the attached path will solve the issue. However, please give
proper testing given that at the time I don't have a test environment (and
for a few more days).

Regards

On Sun, Jan 9, 2011 at 5:57 PM, Simon Horman ho...@verge.net.au wrote:

 On Sun, Jan 09, 2011 at 09:17:30PM +0100, Lech Karol Pawłaszek wrote:
  Package: libpe-rules2
  Severity: normal
 
  libpe-rules2 and libpe-status2 fails to install over libpe-rules-2 and
 libpe-status-2

 Thanks for pointing that out. It looks like we need to add
 the appropriate conflicts and provides to the new packages.




-- 
Andres Rodriguez (RoAkSoAx)
Ubuntu MOTU Developer
Systems Engineer
diff -Nru pacemaker-1.0.10/debian/control pacemaker-1.0.10/debian/control
--- pacemaker-1.0.10/debian/control	2011-01-03 22:55:35.0 -0500
+++ pacemaker-1.0.10/debian/control	2011-01-16 16:27:00.0 -0500
@@ -31,7 +32,7 @@
 Architecture: any
 Replaces: pacemaker-heartbeat-dev, pacemaker-openais-dev
 Conflicts: pacemaker-heartbeat-dev, pacemaker-openais-dev
-Depends: ${shlibs:Depends}, ${misc:Depends}, pacemaker (= ${binary:Version}), python, libcorosync-dev (= 1.1.2+svn20091102), libheartbeat2-dev (= 3.0) , libglib2.0-dev, libxml2-dev, libcluster-glue-dev, libcib1-dev (= ${binary:Version}), libcrmcluster1-dev (= ${binary:Version}), libcrmcommon2-dev (= ${binary:Version}), libpe-rules-dev (= ${binary:Version}), libpe-status-dev (= ${binary:Version}), libpengine3-dev (= ${binary:Version}), libstonithd0-dev (= ${binary:Version}), libtransitioner1-dev (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, pacemaker (= ${binary:Version}), python, libcorosync-dev (= 1.1.2+svn20091102), libheartbeat2-dev (= 3.0) , libglib2.0-dev, libxml2-dev, libcluster-glue-dev, libcib1-dev (= ${binary:Version}), libcrmcluster1-dev (= ${binary:Version}), libcrmcommon2-dev (= ${binary:Version}), libpe-rules2-dev (= ${binary:Version}), libpe-status2-dev (= ${binary:Version}), libpengine3-dev (= ${binary:Version}), libstonithd0-dev (= ${binary:Version}), libtransitioner1-dev (= ${binary:Version})
 XB-Python-Version: ${python:Versions}
 Description: HA cluster resource manager (development files)
  High-Availability cluster resource manager for Heartbeat.
@@ -117,8 +118,8 @@
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends}, libpe-rules2 (= ${binary:Version})
-Replaces: pacemaker-dev (= 1.0.9.1+hg15626-2)
-Conflicts: pacemaker-dev (= 1.0.9.1+hg15626-2)
+Replaces: pacemaker-dev (= 1.0.9.1+hg15626-2), libpe-rules-2-dev (= 1.0.10-1)
+Conflicts: pacemaker-dev (= 1.0.9.1+hg15626-2), libpe-rules-2-dev (= 1.0.10-1)
 Description: Development file for pacemaker's rules library
  This package contains static libraries, symbol files as well as
  headers provided by the pacemaker cluster manager (pengine rules). 
@@ -128,8 +129,8 @@
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: pacemaker (= 1.0.9.1+hg15626-2)
-Conflicts: pacemaker (= 1.0.9.1+hg15626-2)
+Replaces: pacemaker (= 1.0.9.1+hg15626-2), libpe-rules-2 (= 1.0.10-1)
+Conflicts: pacemaker (= 1.0.9.1+hg15626-2), libpe-rules-2 (= 1.0.10-1)
 Description: The Pacemaker libraries - rules for P-Engine
  This package contains some of the libraries provided by and needed
  for the pacemaker cluster manager. You need to install them if you
@@ -140,8 +141,8 @@
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends}, libpe-status2 (= ${binary:Version})
-Replaces: pacemaker-dev (= 1.0.9.1+hg15626-2)
-Conflicts: pacemaker-dev (= 1.0.9.1+hg15626-2)
+Replaces: pacemaker-dev (= 1.0.9.1+hg15626-2), libpe-status-2 (= 1.0.10-1)
+Conflicts: pacemaker-dev (= 1.0.9.1+hg15626-2), libpe-status-2 (= 1.0.10-1)
 Description: Development file for pacemaker's status library
  This package contains static libraries, symbol files as well as
  headers provided by the pacemaker cluster manager (pengine status). 
@@ -151,8 +152,8 @@
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: pacemaker (= 1.0.9.1+hg15626-2)
-Conflicts: pacemaker (= 1.0.9.1+hg15626-2)
+Replaces: pacemaker (= 1.0.9.1+hg15626-2), libpe-status-2-dev (= 1.0.10-1)
+Conflicts: pacemaker (= 1.0.9.1+hg15626-2), libpe-status-2-dev (= 1.0.10-1)
 Description: The Pacemaker libraries - status for P-Engine
  This package contains some of the libraries provided by and needed
  for the pacemaker cluster manager. You need to install them if you


Bug#609480: libpe-rules2: upgrade failure

2011-01-09 Thread Lech Karol Pawłaszek
Package: libpe-rules2
Severity: normal

libpe-rules2 and libpe-status2 fails to install over libpe-rules-2 and 
libpe-status-2

Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libpe-rules-2 libpe-status-2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libpe-rules2 libpe-status2
The following NEW packages will be installed:
  libpe-rules2 libpe-status2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0 B/164 kB of archives.
After this operation, 406 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 243690 files and directories currently installed.)
Unpacking libpe-status2 (from .../libpe-status2_1.0.10-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libpe-status2_1.0.10-4_amd64.deb 
(--unpack):
 trying to overwrite '/usr/lib/libpe_status.so.2.0.0', which is also in package 
libpe-status-2 1.0.10-1
configured to not write apport reports
  dpkg-deb: subprocess paste killed by 
signal (Broken pipe)
Unpacking libpe-rules2 (from .../libpe-rules2_1.0.10-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libpe-rules2_1.0.10-4_amd64.deb 
(--unpack):
 trying to overwrite '/usr/lib/libpe_rules.so.2.0.0', which is also in package 
libpe-rules-2 1.0.10-1
configured to not write apport reports
  Errors were encountered while processing:
 /var/cache/apt/archives/libpe-status2_1.0.10-4_amd64.deb
 /var/cache/apt/archives/libpe-rules2_1.0.10-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Kind regards,

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpe-rules2 depends on:
ii  libbz2-1.0  1.0.5-6  high-quality block-sorting file co
ii  libc6   2.11.2-7 Embedded GNU C Library: Shared lib
ii  libglib2.0-02.27.5-1 The GLib library of C routines
ii  libgnutls26 2.8.6-1  the GNU TLS library - runtime libr
ii  libltdl72.2.6b-2 A system independent dlopen wrappe
ii  libpam0g1.1.1-6.1Pluggable Authentication Modules l
ii  libpils21.0.7-3  Reusable cluster libraries -- libp
ii  libplumb2   1.0.7-3  Reusable cluster libraries -- libp
ii  libuuid12.17.2-6 Universally Unique ID library
ii  libxml2 2.7.8.dfsg-2 GNOME XML library
ii  libxslt1.1  1.1.26-6 XSLT 1.0 processing library - runt

libpe-rules2 recommends no packages.

libpe-rules2 suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#609480: libpe-rules2: upgrade failure

2011-01-09 Thread Simon Horman
On Sun, Jan 09, 2011 at 09:17:30PM +0100, Lech Karol Pawłaszek wrote:
 Package: libpe-rules2
 Severity: normal
 
 libpe-rules2 and libpe-status2 fails to install over libpe-rules-2 and 
 libpe-status-2

Thanks for pointing that out. It looks like we need to add
the appropriate conflicts and provides to the new packages.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org