[DRE-maint] Bug#673984: ruby-activesupport-2.3: fails to upgrade from 'squeeze' - trying to overwrite /usr/lib/ruby/vendor_ruby/active_support/xml_mini.rb

Andreas Beckmann debian at abeckmann.de
Tue May 22 11:32:10 UTC 2012


Package: ruby-activesupport-2.3,ruby-activerecord-2.3
Version: 2.3.14-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'squeeze'.
It installed fine in 'squeeze', then the upgrade to 'sid' fails
because it tries to overwrite files that are owned by other packages
without declaring a Breaks/Replaces relation.

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

This problem is exposed during the upgrade of the 'libgettext-rails-ruby1.8'
package, not by upgrading only the buggy package itself.
In order to have piuparts automatically track this problem, I'll mark
this bug as Affects/Found in the exposing package(s), too.

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

  Selecting previously unselected package ruby-activesupport-2.3.
  Unpacking ruby-activesupport-2.3 (from .../ruby-activesupport-2.3_2.3.14-3_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/ruby-activesupport-2.3_2.3.14-3_all.deb (--unpack):
   trying to overwrite '/usr/lib/ruby/vendor_ruby/active_support/xml_mini.rb', which is also in package ruby-activesupport-3.2 3.2.3-1
  configured to not write apport reports
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Selecting previously unselected package ruby-activerecord-2.3.
  Unpacking ruby-activerecord-2.3 (from .../ruby-activerecord-2.3_2.3.14-1_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/ruby-activerecord-2.3_2.3.14-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/ruby/vendor_ruby/active_record/fixtures.rb', which is also in package ruby-activerecord 3.2.3-1
  configured to not write apport reports
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgettext-rails-ruby1.8_2.1.0-2.log.gz
Type: application/x-gzip
Size: 26960 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20120522/1b0caf82/attachment-0001.bin>


More information about the Pkg-ruby-extras-maintainers mailing list