Package: fstrim
Version: 0.1-1
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 fstrim.
  (Reading database ... 6615 files and directories currently installed.)
  Unpacking fstrim (from .../fstrim_0.1-1_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/fstrim_0.1-1_amd64.deb (--
unpack):
   trying to overwrite '/usr/share/man/man8/fstrim.8.gz', which is also in 
package util-linux 2.19.1-2
  configured to not write apport reports
  Errors were encountered while processing:
   /var/cache/apt/archives/fstrim_0.1-1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)


cheers,
        Holger
Start: 2011-07-06 12:04:08 UTC

Package: fstrim
Version: 0.1-1
Installed-Size: 60
Maintainer: Daniel Baumann <dan...@lists.debian-maintainers.org>
Architecture: amd64
Depends: libc6 (>= 2.2.5)
Description: discard parts or the whole filesystem with ATA TRIM
 This program uses FITRIM (merged in linux-2.6.36) ioctl to discard parts or the
 whole filesystem online (mounted). You can specify range (start and length) to
 be discarded, or simply discard while filesystem.
Homepage: http://fstrim.sourceforge.net/
Section: admin
Priority: optional
Filename: pool/main/f/fstrim/fstrim_0.1-1_amd64.deb
Size: 6120
MD5sum: fa3e83ca50f4d3065868f1374081f9d4
SHA1: 296bab773a102ef566aa5e315110c83749e2c046
SHA256: d598ef5ec9f44923c95f9586571e7ad0068587cad9abf5d8eccdc0ebcfddfc95

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --skip-logrotatefiles-test --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/  fstrim
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.41~201106270718 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --skip-logrotatefiles-test --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ fstrim
0m0.0s INFO: Running on: Linux piatti 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmplpeFZ5
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmplpeFZ5
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmplpeFZ5', '-zxf', 'sid.tar.gz']
0m2.5s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmplpeFZ5', '-zxf', 'sid.tar.gz']
0m2.5s DEBUG: Created policy-rc.d and chmodded it.
0m2.5s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', 'update']
0m16.9s DUMP: 
  Get:1 http://piatti.debian.org sid InRelease [146 kB]
  Ign http://piatti.debian.org sid/main amd64 Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib amd64 Packages/DiffIndex
  Ign http://piatti.debian.org sid/non-free amd64 Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib TranslationIndex
  Ign http://piatti.debian.org sid/main TranslationIndex
  Ign http://piatti.debian.org sid/non-free TranslationIndex
  Get:2 http://piatti.debian.org sid/main amd64 Packages [9810 kB]
  Get:3 http://piatti.debian.org sid/contrib amd64 Packages [80.9 kB]
  Get:4 http://piatti.debian.org sid/non-free amd64 Packages [146 kB]
  Ign http://piatti.debian.org sid/contrib Translation-en
  Ign http://piatti.debian.org sid/main Translation-en
  Ign http://piatti.debian.org sid/non-free Translation-en
  Fetched 10.2 MB in 1s (7498 kB/s)
  Reading package lists...
0m16.9s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', 'update']
0m16.9s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'mount', '-t', 'proc', 'proc', '/proc']
0m16.9s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'mount', '-t', 'proc', 'proc', '/proc']
0m16.9s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', '-yf', 'upgrade']
0m24.4s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
    gcc-4.6-base libacl1 libattr1 libc-bin libc6 libgcc1 libstdc++6
    multiarch-support tzdata
  9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 6840 kB of archives.
  After this operation, 377 kB of additional disk space will be used.
  Get:1 http://piatti.debian.org/debian/ sid/main gcc-4.6-base amd64 4.6.1-2 [132 kB]
  Get:2 http://piatti.debian.org/debian/ sid/main libgcc1 amd64 1:4.6.1-2 [42.9 kB]
  Get:3 http://piatti.debian.org/debian/ sid/main libstdc++6 amd64 4.6.1-2 [337 kB]
  Get:4 http://piatti.debian.org/debian/ sid/main libc-bin amd64 2.13-10 [1082 kB]
  Get:5 http://piatti.debian.org/debian/ sid/main libc6 amd64 2.13-10 [4316 kB]
  Get:6 http://piatti.debian.org/debian/ sid/main libattr1 amd64 1:2.4.46-2 [19.6 kB]
  Get:7 http://piatti.debian.org/debian/ sid/main libacl1 amd64 2.2.51-2 [30.3 kB]
  Get:8 http://piatti.debian.org/debian/ sid/main tzdata all 2011h-3 [742 kB]
  Get:9 http://piatti.debian.org/debian/ sid/main multiarch-support amd64 2.13-10 [138 kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 6840 kB in 0s (28.7 MB/s)
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace gcc-4.6-base 4.6.1-1 (using .../gcc-4.6-base_4.6.1-2_amd64.deb) ...
  Unpacking replacement gcc-4.6-base ...
  Setting up gcc-4.6-base (4.6.1-2) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace libgcc1 1:4.6.1-1 (using .../libgcc1_1%3a4.6.1-2_amd64.deb) ...
  Unpacking replacement libgcc1 ...
  Setting up libgcc1 (1:4.6.1-2) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace libstdc++6 4.6.1-1 (using .../libstdc++6_4.6.1-2_amd64.deb) ...
  Unpacking replacement libstdc++6 ...
  Setting up libstdc++6 (4.6.1-2) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace libc-bin 2.13-9 (using .../libc-bin_2.13-10_amd64.deb) ...
  Unpacking replacement libc-bin ...
  Setting up libc-bin (2.13-10) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace libc6 2.13-9 (using .../libc6_2.13-10_amd64.deb) ...
  Unpacking replacement libc6 ...
  Setting up libc6 (2.13-10) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace libattr1 1:2.4.46-1 (using .../libattr1_1%3a2.4.46-2_amd64.deb) ...
  Unpacking replacement libattr1 ...
  Setting up libattr1 (1:2.4.46-2) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace libacl1 2.2.51-1 (using .../libacl1_2.2.51-2_amd64.deb) ...
  Unpacking replacement libacl1 ...
  Setting up libacl1 (2.2.51-2) ...
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace tzdata 2011h-2 (using .../tzdata_2011h-3_all.deb) ...
  Unpacking replacement tzdata ...
  Setting up tzdata (2011h-3) ...
  
  Current default time zone: 'Etc/UTC'
  Local time is now:      Wed Jul  6 12:04:32 UTC 2011.
  Universal Time is now:  Wed Jul  6 12:04:32 UTC 2011.
  Run 'dpkg-reconfigure tzdata' if you wish to change it.
  
  (Reading database ... 6615 files and directories currently installed.)
  Preparing to replace multiarch-support 2.13-9 (using .../multiarch-support_2.13-10_amd64.deb) ...
  Unpacking replacement multiarch-support ...
  Setting up multiarch-support (2.13-10) ...
0m24.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', '-yf', 'upgrade']
0m24.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', 'clean']
0m24.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', 'clean']
0m24.4s DEBUG: Copying scriptsdir to /org/piuparts.debian.org/tmp/tmplpeFZ5/tmp/scripts/
0m24.4s INFO: Running scripts post_setup
0m25.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '--get-selections', '*']
0m25.0s 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.4-base					install
  gcc-4.5-base					install
  gcc-4.6-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
  libdb5.1					install
  libgcc1						install
  liblocale-gettext-perl				install
  liblzma2					install
  libmount1					install
  libncurses5					install
  libpam-modules					install
  libpam-modules-bin				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
  libusb-0.1-4					install
  libuuid1					install
  login						install
  lsb-base					install
  mawk						install
  mount						install
  multiarch-support				install
  ncurses-base					install
  ncurses-bin					install
  passwd						install
  perl-base					install
  readline-common					install
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tzdata						install
  util-linux					install
  xz-utils					install
  zlib1g						install
0m25.0s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '--get-selections', '*']
0m25.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-cache', 'show', 'fstrim']
0m25.0s DUMP: 
  Package: fstrim
  Version: 0.1-1
  Installed-Size: 60
  Maintainer: Daniel Baumann <dan...@lists.debian-maintainers.org>
  Architecture: amd64
  Depends: libc6 (>= 2.2.5)
  Description: discard parts or the whole filesystem with ATA TRIM
   This program uses FITRIM (merged in linux-2.6.36) ioctl to discard parts or the
   whole filesystem online (mounted). You can specify range (start and length) to
   be discarded, or simply discard while filesystem.
  Homepage: http://fstrim.sourceforge.net/
  Section: admin
  Priority: optional
  Filename: pool/main/f/fstrim/fstrim_0.1-1_amd64.deb
  Size: 6120
  MD5sum: fa3e83ca50f4d3065868f1374081f9d4
  SHA1: 296bab773a102ef566aa5e315110c83749e2c046
  SHA256: d598ef5ec9f44923c95f9586571e7ad0068587cad9abf5d8eccdc0ebcfddfc95
0m25.0s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-cache', 'show', 'fstrim']
0m25.0s DEBUG: Starting command: ['dpkg-deb', '-b', '/org/piuparts.debian.org/tmp/tmpUzDrpL/piuparts-depends-dummy']
0m25.0s DUMP: 
  dpkg-deb: building package `piuparts-depends-dummy' in `/org/piuparts.debian.org/tmp/tmpUzDrpL/piuparts-depends-dummy.deb'.
0m25.0s DEBUG: Command ok: ['dpkg-deb', '-b', '/org/piuparts.debian.org/tmp/tmpUzDrpL/piuparts-depends-dummy']
0m25.0s DEBUG: Copying /org/piuparts.debian.org/tmp/tmpUzDrpL/piuparts-depends-dummy.deb to /org/piuparts.debian.org/tmp/tmplpeFZ5/tmp
0m25.0s INFO: Running scripts pre_install
0m25.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'tmp/scripts/pre_install_exceptions']
0m25.1s DUMP: 
  Debug: running script tmp/scripts/pre_install_exceptions
  Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
  yes: standard output: Broken pipe
  yes: write error
0m25.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'tmp/scripts/pre_install_exceptions']
0m25.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '-i', 'tmp/piuparts-depends-dummy.deb']
0m25.1s DUMP: 
  Selecting previously deselected package piuparts-depends-dummy.
  (Reading database ... 6615 files and directories currently installed.)
  Unpacking piuparts-depends-dummy (from tmp/piuparts-depends-dummy.deb) ...
  Setting up piuparts-depends-dummy (0.invalid.0) ...
0m25.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '-i', 'tmp/piuparts-depends-dummy.deb']
0m25.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', '-yf', 'install']
0m25.7s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0m25.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', '-yf', 'install']
0m25.7s INFO: Installation of ['tmp/piuparts-depends-dummy.deb'] ok
0m25.7s INFO: Running scripts post_install
0m25.7s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', 'clean']
0m25.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', 'clean']
0m25.7s DEBUG: Removing /org/piuparts.debian.org/tmp/tmplpeFZ5/tmp/piuparts-depends-dummy.deb
0m25.7s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '--purge', 'piuparts-depends-dummy']
0m25.7s DUMP: 
  (Reading database ... 6615 files and directories currently installed.)
  Removing piuparts-depends-dummy ...
0m25.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '--purge', 'piuparts-depends-dummy']
0m25.7s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '--remove', '--pending']
0m25.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'dpkg', '--remove', '--pending']
0m26.3s INFO: Running scripts pre_install
0m26.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'tmp/scripts/pre_install_exceptions']
0m26.3s DUMP: 
  Debug: running script tmp/scripts/pre_install_exceptions
  Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
  yes: standard output: Broken pipe
  yes: write error
0m26.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'tmp/scripts/pre_install_exceptions']
0m26.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', '-y', 'install', 'fstrim']
0m27.3s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    fstrim
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 6120 B of archives.
  After this operation, 61.4 kB of additional disk space will be used.
  Get:1 http://piatti.debian.org/debian/ sid/main fstrim amd64 0.1-1 [6120 B]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 6120 B in 0s (29.8 kB/s)
  Selecting previously deselected package fstrim.
  (Reading database ... 6615 files and directories currently installed.)
  Unpacking fstrim (from .../fstrim_0.1-1_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/fstrim_0.1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man8/fstrim.8.gz', which is also in package util-linux 2.19.1-2
  configured to not write apport reports
  Errors were encountered while processing:
   /var/cache/apt/archives/fstrim_0.1-1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
0m27.3s ERROR: Command failed (status=100): ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'apt-get', '-y', 'install', 'fstrim']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    fstrim
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 6120 B of archives.
  After this operation, 61.4 kB of additional disk space will be used.
  Get:1 http://piatti.debian.org/debian/ sid/main fstrim amd64 0.1-1 [6120 B]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 6120 B in 0s (29.8 kB/s)
  Selecting previously deselected package fstrim.
  (Reading database ... 6615 files and directories currently installed.)
  Unpacking fstrim (from .../fstrim_0.1-1_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/fstrim_0.1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man8/fstrim.8.gz', which is also in package util-linux 2.19.1-2
  configured to not write apport reports
  Errors were encountered while processing:
   /var/cache/apt/archives/fstrim_0.1-1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
0m27.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'umount', '/proc']
0m27.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmplpeFZ5', 'umount', '/proc']
0m27.6s DEBUG: Removed directory tree at /org/piuparts.debian.org/tmp/tmplpeFZ5

End: 2011-07-06 12:04:36 UTC

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

Reply via email to