Package: python3-pyroute2.core,python3-pyroute2.ndb
Version: 0.6.4-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
This error may also be triggered by having a predecessor package from
'sid 'installed while installing the package from 'experimental'.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

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

  Selecting previously unselected package python3-pyroute2.core.
  Preparing to unpack .../python3-pyroute2.core_0.6.4-1_all.deb ...
  Unpacking python3-pyroute2.core (0.6.4-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/python3-pyroute2.core_0.6.4-1_all.deb (--unpack):
   trying to overwrite '/usr/bin/ss2', which is also in package 
python3-pyroute2 0.5.14-2
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Selecting previously unselected package python3-pyroute2.nslink.
  Preparing to unpack .../python3-pyroute2.nslink_0.6.4-1_all.deb ...
  Unpacking python3-pyroute2.nslink (0.6.4-1) ...
  Selecting previously unselected package python3-pyroute2.ndb.
  Preparing to unpack .../python3-pyroute2.ndb_0.6.4-1_all.deb ...
  Unpacking python3-pyroute2.ndb (0.6.4-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/python3-pyroute2.ndb_0.6.4-1_all.deb (--unpack):
   trying to overwrite '/usr/bin/pyroute2-cli', which is also in package 
python3-pyroute2 0.5.14-2
  Errors were encountered while processing:
   /var/cache/apt/archives/python3-pyroute2.core_0.6.4-1_all.deb
   /var/cache/apt/archives/python3-pyroute2.ndb_0.6.4-1_all.deb
  W: --force-yes is deprecated, use one of the options starting with --allow 
instead.
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  + apt-get -yf --force-yes install python3-pyroute2=0.5.14-2 
python3-pyroute2.ndb=0.6.4-1
  Reading package lists...
  Building dependency tree...
  Reading state information...
  python3-pyroute2 is already the newest version (0.5.14-2).
  You might want to run 'apt --fix-broken install' to correct these.
  The following packages have unmet dependencies:
   python3-pyroute2.ndb : Depends: python3-pyroute2.core but it is not going to 
be installed
   python3-pyroute2.nslink : Depends: python3-pyroute2.core but it is not going 
to be installed


cheers,

Andreas

Attachment: python3-pyroute2=0.5.14-2_python3-pyroute2.ndb=0.6.4-1.log.gz
Description: application/gzip

Reply via email to