Bug#567622: fails to install, trying to overwrite other packages files

2010-01-30 Thread Holger Levsen
Package: usb-modeswitch
Version: 1.1.0-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 usb-modeswitch.
  (Reading database ... 6450 files and directories currently installed.)
  Unpacking usb-modeswitch (from .../usb-modeswitch_1.1.0-1_amd64.deb) ...
  dpkg: error 
processing /var/cache/apt/archives/usb-modeswitch_1.1.0-1_amd64.deb 
(--unpack):
   trying to overwrite '/lib/udev/rules.d/40-usb_modeswitch.rules', which is 
also in package usb-modeswitch-data 0:20100127-1
  Errors were encountered while processing:
   /var/cache/apt/archives/usb-modeswitch_1.1.0-1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)


regards,
Holger
Start: 2010-01-28 22:23:44 UTC

Package: usb-modeswitch
Priority: extra
Section: comm
Installed-Size: 152
Maintainer: Didier Raboud did...@raboud.com
Architecture: amd64
Version: 1.1.0-1
Depends: libc6 (= 2.3), libusb-0.1-4 (= 2:0.1.12), tcl | tclsh, usb-modeswitch-data (= 20100127-1)
Suggests: comgt, wvdial
Filename: pool/main/u/usb-modeswitch/usb-modeswitch_1.1.0-1_amd64.deb
Size: 36108
MD5sum: 09957fdcd7ec8a5325769b2453f76f0f
SHA1: 6dce1ea9cc372b2613e666e1a85e09aa0a7e9e69
SHA256: d5b105c2a0cfdeeea397f25401ff8f05ade57917dfd94fe8085065308dda3a99
Description: mode switching tool for controlling flip flop USB devices
 Several new USB devices have their proprietary Windows drivers onboard,
 especially WAN dongles. When plugged in for the first time, they act
 like a flash storage and start installing the driver from there. If
 the driver is already installed, the storage device vanishes and
 a new device, such as an USB modem, shows up. This is called the
 ZeroCD feature.
 .
 On Debian, this is not needed, since the driver is included as a
 Linux kernel module, such as usbserial. However, the device still
 shows up as usb-storage by default. usb-modeswitch solves that
 issue by sending the command which actually performs the switching
 of the device from usb-storage to usbserial.
 .
 This package contains the binaries and the brother scripts.
Homepage: http://www.draisberghof.de/usb_modeswitch/
Tag: admin::hardware, hardware::usb, implemented-in::c, implemented-in::tcl, interface::commandline, role::program, use::configuring, use::driver

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ usb-modeswitch
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~201001251339 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 sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ usb-modeswitch
0m0.0s INFO: Running on: Linux piatti 2.6.32.6-dsa-amd64 #1 SMP Mon Jan 25 21:17:44 CET 2010 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmpuXovqg
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmpuXovqg
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpuXovqg', '-zxf', 'sid.tar.gz']
0m1.9s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpuXovqg', '-zxf', 'sid.tar.gz']
0m1.9s DEBUG: Created policy-rc.d and chmodded it.
0m1.9s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpuXovqg', 'apt-get', 'update']
0m3.7s DUMP: 
  Get:1 http://piatti.debian.org sid Release.gpg [835B]
  Get:2 http://piatti.debian.org sid Release [104kB]
  Ign http://piatti.debian.org sid/main Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib Packages/DiffIndex
  Ign http://piatti.debian.org sid/non-free Packages/DiffIndex
  Ign http://piatti.debian.org sid/main Packages
  Ign http://piatti.debian.org sid/contrib Packages
  Ign http://piatti.debian.org sid/non-free Packages
  Get:3 http://piatti.debian.org sid/main Packages [8412kB]
  Get:4 http://piatti.debian.org sid/contrib Packages [65.3kB]
  Get:5 http://piatti.debian.org sid/non-free Packages [131kB]
  Fetched 8713kB in 0s (8914kB/s)
  Reading package lists...
0m3.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpuXovqg', 'apt-get', 'update']
0m3.7s DEBUG: Starting 

Bug#567622: fails to install, trying to overwrite other packages files

2010-01-30 Thread Holger Levsen
Hi OdyX,

On Samstag, 30. Januar 2010, Didier 'OdyX' Raboud wrote:
 this had already been reported as #567438, which has been corrected in
 1.1.0-2, uploaded yesterday evening:
 So I am simply marking this bug as -done with the uploaded version.

Great, thanks  sorry for the noise! :-)


cheers,
Holger


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