Package: liblockdev1-dbg
Version: 1.0.3-1.3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package failed to install because 
it tries to overwrite other packages files without declaring a replaces 
relation.

See policy 7.6 at 
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

  Selecting previously deselected package liblockdev1-dbg.
  (Reading database ... 7269 files and directories currently installed.)
  Unpacking liblockdev1-dbg (from .../liblockdev1-dbg_1.0.3-1.3_amd64.deb) ...
  dpkg: error 
processing /var/cache/apt/archives/liblockdev1-dbg_1.0.3-1.3_amd64.deb 
(--unpack):
   trying to overwrite '/usr/share/doc/liblockdev1/copyright', which is also 
in package liblockdev1 0:1.0.3-1.3
  Errors were encountered while processing:
   /var/cache/apt/archives/liblockdev1-dbg_1.0.3-1.3_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)


regards,
        Holger
Start: 2010-01-07 05:38:47 UTC

Package: liblockdev1-dbg
Priority: extra
Section: debug
Installed-Size: 128
Maintainer: Paweł Więcek <co...@debian.org>
Architecture: amd64
Source: lockdev
Version: 1.0.3-1.3
Replaces: liblockdev0-dbg, liblockdev0g-dbg
Depends: liblockdev1 (= 1.0.3-1.3), liblockdev1-dev (= 1.0.3-1.3), libc6 (>= 2.7)
Conflicts: liblockdev0-dbg, liblockdev0g-dbg
Filename: pool/main/l/lockdev/liblockdev1-dbg_1.0.3-1.3_amd64.deb
Size: 24918
MD5sum: 6cbd0a0e583090c7a43a2cc2ed44ac2e
SHA1: df93c2e91cd12371e618f5108acbf19f650d589d
SHA256: aacefc2d3f61fd2636b261fb62617f2a67508f24acf81af4f42c465dbd7137bc
Description: Debugging library for locking devices
 It provides a reliable way to put an exclusive lock to
 devices using _both_ FSSTND and SVr4 methods.
 .
 Includes static and shared debugging and profiling libs,
 as well as the sources ready for use by gdb.
Tag: devel::debugger, devel::library, role::shared-lib

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad squeeze -b squeeze.tar.gz --mirror http://piatti.debian.org/debian/ liblockdev1-dbg
Guessed: debian
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 0.39~201001061519 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad squeeze -b squeeze.tar.gz --mirror http://piatti.debian.org/debian/ liblockdev1-dbg
0m0.0s INFO: Running on: Linux piatti 2.6.32.2-dsa-amd64 #1 SMP Tue Dec 22 19:51:27 CET 2009 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmpaUkzuF
0m0.0s DEBUG: Unpacking squeeze.tar.gz into /org/piuparts.debian.org/tmp/tmpaUkzuF
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpaUkzuF', '-zxf', 'squeeze.tar.gz']
0m1.9s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpaUkzuF', '-zxf', 'squeeze.tar.gz']
0m1.9s DEBUG: Created policy-rc.d and chmodded it.
0m1.9s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', 'update']
0m3.8s DUMP: 
  Get:1 http://piatti.debian.org squeeze Release.gpg [835B]
  Get:2 http://piatti.debian.org squeeze Release [89.5kB]
  Ign http://piatti.debian.org squeeze/main Packages/DiffIndex
  Ign http://piatti.debian.org squeeze/contrib Packages/DiffIndex
  Ign http://piatti.debian.org squeeze/non-free Packages/DiffIndex
  Ign http://piatti.debian.org squeeze/main Packages
  Ign http://piatti.debian.org squeeze/contrib Packages
  Ign http://piatti.debian.org squeeze/non-free Packages
  Get:3 http://piatti.debian.org squeeze/main Packages [8042kB]
  Get:4 http://piatti.debian.org squeeze/contrib Packages [60.2kB]
  Get:5 http://piatti.debian.org squeeze/non-free Packages [115kB]
  Fetched 8308kB in 0s (8432kB/s)
  Reading package lists...
0m3.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', 'update']
0m3.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'mount', '-t', 'proc', 'proc', '/proc']
0m3.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'mount', '-t', 'proc', 'proc', '/proc']
0m3.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', '-yf', 'upgrade']
0m4.4s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
    gcc-4.4-base libgcc1 libstdc++6
  3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 501kB of archives.
  After this operation, 16.4kB disk space will be freed.
  Get:1 http://piatti.debian.org squeeze/main gcc-4.4-base 4.4.2-8 [114kB]
  Get:2 http://piatti.debian.org squeeze/main libstdc++6 4.4.2-8 [342kB]
  Get:3 http://piatti.debian.org squeeze/main libgcc1 1:4.4.2-8 [44.8kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 501kB in 0s (36.7MB/s)
  (Reading database ... 6050 files and directories currently installed.)
  Preparing to replace gcc-4.4-base 4.4.2-3 (using .../gcc-4.4-base_4.4.2-8_amd64.deb) ...
  Unpacking replacement gcc-4.4-base ...
  Setting up gcc-4.4-base (4.4.2-8) ...
  (Reading database ... 6050 files and directories currently installed.)
  Preparing to replace libstdc++6 4.4.2-3 (using .../libstdc++6_4.4.2-8_amd64.deb) ...
  Unpacking replacement libstdc++6 ...
  Setting up libstdc++6 (4.4.2-8) ...
  (Reading database ... 6050 files and directories currently installed.)
  Preparing to replace libgcc1 1:4.4.2-3 (using .../libgcc1_1%3a4.4.2-8_amd64.deb) ...
  Unpacking replacement libgcc1 ...
  Setting up libgcc1 (1:4.4.2-8) ...
0m4.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', '-yf', 'upgrade']
0m4.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', 'clean']
0m4.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', 'clean']
0m4.5s DEBUG: Copying scriptsdir to /org/piuparts.debian.org/tmp/tmpaUkzuF/tmp/scripts/
0m4.5s INFO: Running scripts post_setup
0m5.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '--get-selections', '*']
0m5.2s DUMP: 
  apt						install
  base-files					install
  base-passwd					install
  bash						install
  bsdutils					install
  coreutils					install
  dash						install
  debconf						install
  debconf-i18n					install
  debian-archive-keyring				install
  debianutils					install
  diffutils					install
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  findutils					install
  gcc-4.3-base					install
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  gzip						install
  hostname					install
  initscripts					install
  insserv						install
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc-bin					install
  libc6						install
  libcomerr2					install
  libdb4.7					install
  libdevmapper1.02.1				install
  libgcc1						install
  liblocale-gettext-perl				install
  libncurses5					install
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libreadline6					install
  libselinux1					install
  libsepol1					install
  libslang2					install
  libss2						install
  libstdc++6					install
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libunwind7					install
  libusb-0.1-4					install
  libuuid1					install
  login						install
  lsb-base					install
  lzma						install
  mawk						install
  mount						install
  ncurses-base					install
  ncurses-bin					install
  passwd						install
  perl-base					install
  procps						install
  readline-common					install
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tzdata						install
  util-linux					install
  zlib1g						install
0m5.2s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '--get-selections', '*']
0m5.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-cache', 'show', 'liblockdev1-dbg']
0m5.3s DUMP: 
  Package: liblockdev1-dbg
  Priority: extra
  Section: debug
  Installed-Size: 128
  Maintainer: Paweł Więcek <co...@debian.org>
  Architecture: amd64
  Source: lockdev
  Version: 1.0.3-1.3
  Replaces: liblockdev0-dbg, liblockdev0g-dbg
  Depends: liblockdev1 (= 1.0.3-1.3), liblockdev1-dev (= 1.0.3-1.3), libc6 (>= 2.7)
  Conflicts: liblockdev0-dbg, liblockdev0g-dbg
  Filename: pool/main/l/lockdev/liblockdev1-dbg_1.0.3-1.3_amd64.deb
  Size: 24918
  MD5sum: 6cbd0a0e583090c7a43a2cc2ed44ac2e
  SHA1: df93c2e91cd12371e618f5108acbf19f650d589d
  SHA256: aacefc2d3f61fd2636b261fb62617f2a67508f24acf81af4f42c465dbd7137bc
  Description: Debugging library for locking devices
   It provides a reliable way to put an exclusive lock to
   devices using _both_ FSSTND and SVr4 methods.
   .
   Includes static and shared debugging and profiling libs,
   as well as the sources ready for use by gdb.
  Tag: devel::debugger, devel::library, role::shared-lib
0m5.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-cache', 'show', 'liblockdev1-dbg']
0m5.3s DEBUG: Starting command: ['dpkg-deb', '-b', '/org/piuparts.debian.org/tmp/tmprE1N74/piuparts-depends-dummy']
0m5.3s DUMP: 
  dpkg-deb: building package `piuparts-depends-dummy' in `/org/piuparts.debian.org/tmp/tmprE1N74/piuparts-depends-dummy.deb'.
0m5.3s DEBUG: Command ok: ['dpkg-deb', '-b', '/org/piuparts.debian.org/tmp/tmprE1N74/piuparts-depends-dummy']
0m5.3s DEBUG: Copying /org/piuparts.debian.org/tmp/tmprE1N74/piuparts-depends-dummy.deb to /org/piuparts.debian.org/tmp/tmpaUkzuF/tmp
0m5.3s INFO: Running scripts pre_install
0m5.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '-i', 'tmp/piuparts-depends-dummy.deb']
0m5.3s DUMP: 
  Selecting previously deselected package piuparts-depends-dummy.
  (Reading database ... 6050 files and directories currently installed.)
  Unpacking piuparts-depends-dummy (from tmp/piuparts-depends-dummy.deb) ...
  dpkg: dependency problems prevent configuration of piuparts-depends-dummy:
   piuparts-depends-dummy depends on liblockdev1 (= 1.0.3-1.3); however:
    Package liblockdev1 is not installed.
   piuparts-depends-dummy depends on liblockdev1-dev (= 1.0.3-1.3); however:
    Package liblockdev1-dev is not installed.
  dpkg: error processing piuparts-depends-dummy (--install):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   piuparts-depends-dummy
0m5.3s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '-i', 'tmp/piuparts-depends-dummy.deb']
0m5.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', '-yf', '--no-remove', 'install']
0m6.5s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following extra packages will be installed:
    libc-dev-bin libc6-dev liblockdev1 liblockdev1-dev linux-libc-dev
  Suggested packages:
    glibc-doc
  Recommended packages:
    manpages-dev gcc c-compiler
  The following NEW packages will be installed:
    libc-dev-bin libc6-dev liblockdev1 liblockdev1-dev linux-libc-dev
  0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 3596kB of archives.
  After this operation, 16.2MB of additional disk space will be used.
  Get:1 http://piatti.debian.org squeeze/main liblockdev1 1.0.3-1.3 [13.7kB]
  Get:2 http://piatti.debian.org squeeze/main libc-dev-bin 2.10.2-2 [201kB]
  Get:3 http://piatti.debian.org squeeze/main linux-libc-dev 2.6.30-8 [827kB]
  Get:4 http://piatti.debian.org squeeze/main libc6-dev 2.10.2-2 [2546kB]
  Get:5 http://piatti.debian.org squeeze/main liblockdev1-dev 1.0.3-1.3 [8742B]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 3596kB in 0s (45.3MB/s)
  Selecting previously deselected package liblockdev1.
  (Reading database ... 6050 files and directories currently installed.)
  Unpacking liblockdev1 (from .../liblockdev1_1.0.3-1.3_amd64.deb) ...
  Selecting previously deselected package libc-dev-bin.
  Unpacking libc-dev-bin (from .../libc-dev-bin_2.10.2-2_amd64.deb) ...
  Selecting previously deselected package linux-libc-dev.
  Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.30-8_amd64.deb) ...
  Selecting previously deselected package libc6-dev.
  Unpacking libc6-dev (from .../libc6-dev_2.10.2-2_amd64.deb) ...
  Selecting previously deselected package liblockdev1-dev.
  Unpacking liblockdev1-dev (from .../liblockdev1-dev_1.0.3-1.3_amd64.deb) ...
  Setting up liblockdev1 (1.0.3-1.3) ...
  Setting up libc-dev-bin (2.10.2-2) ...
  Setting up linux-libc-dev (2.6.30-8) ...
  Setting up libc6-dev (2.10.2-2) ...
  Setting up liblockdev1-dev (1.0.3-1.3) ...
  Setting up piuparts-depends-dummy (0.invalid.0) ...
0m6.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', '-yf', '--no-remove', 'install']
0m6.5s INFO: Running scripts post_install
0m6.5s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', 'clean']
0m6.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', 'clean']
0m6.5s DEBUG: Removing /org/piuparts.debian.org/tmp/tmpaUkzuF/tmp/piuparts-depends-dummy.deb
0m6.5s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '--purge', 'piuparts-depends-dummy']
0m6.6s DUMP: 
  (Reading database ... 7269 files and directories currently installed.)
  Removing piuparts-depends-dummy ...
0m6.6s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '--purge', 'piuparts-depends-dummy']
0m6.6s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '--remove', '--pending']
0m6.6s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'dpkg', '--remove', '--pending']
0m7.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', '-y', 'install', 'liblockdev1-dbg']
0m7.9s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    liblockdev1-dbg
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 24.9kB of archives.
  After this operation, 131kB of additional disk space will be used.
  Get:1 http://piatti.debian.org squeeze/main liblockdev1-dbg 1.0.3-1.3 [24.9kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 24.9kB in 0s (1459kB/s)
  Selecting previously deselected package liblockdev1-dbg.
  (Reading database ... 7269 files and directories currently installed.)
  Unpacking liblockdev1-dbg (from .../liblockdev1-dbg_1.0.3-1.3_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/liblockdev1-dbg_1.0.3-1.3_amd64.deb (--unpack):
   trying to overwrite '/usr/share/doc/liblockdev1/copyright', which is also in package liblockdev1 0:1.0.3-1.3
  Errors were encountered while processing:
   /var/cache/apt/archives/liblockdev1-dbg_1.0.3-1.3_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
0m7.9s ERROR: Command failed (status=100): ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'apt-get', '-y', 'install', 'liblockdev1-dbg']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    liblockdev1-dbg
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 24.9kB of archives.
  After this operation, 131kB of additional disk space will be used.
  Get:1 http://piatti.debian.org squeeze/main liblockdev1-dbg 1.0.3-1.3 [24.9kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 24.9kB in 0s (1459kB/s)
  Selecting previously deselected package liblockdev1-dbg.
  (Reading database ... 7269 files and directories currently installed.)
  Unpacking liblockdev1-dbg (from .../liblockdev1-dbg_1.0.3-1.3_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/liblockdev1-dbg_1.0.3-1.3_amd64.deb (--unpack):
   trying to overwrite '/usr/share/doc/liblockdev1/copyright', which is also in package liblockdev1 0:1.0.3-1.3
  Errors were encountered while processing:
   /var/cache/apt/archives/liblockdev1-dbg_1.0.3-1.3_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
0m7.9s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'umount', '/proc']
0m7.9s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpaUkzuF', 'umount', '/proc']
0m8.3s DEBUG: Removed directory tree at /org/piuparts.debian.org/tmp/tmpaUkzuF

End: 2010-01-07 05:38:55 UTC

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to