Discussion:
Bug#940491: libmeep16: missing Breaks+Replaces: libmeep12
(too old to reply)
Andreas Beckmann
2019-09-16 12:30:01 UTC
Permalink
Package: libmeep16
Version: 1.11.0-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.

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...):

Preparing to unpack .../libmeep16_1.11.0-1_amd64.deb ...
Unpacking libmeep16 (1.11.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep12 1.7.0-3+b1
Errors were encountered while processing:
/var/cache/apt/archives/libmeep16_1.11.0-1_amd64.deb


cheers,

Andreas
Andreas Beckmann
2019-10-09 15:30:02 UTC
Permalink
Followup-For: Bug #940491
Control: found -1 1.11.0-2

Hi,

this seems to be more complicated and requires more B+R, since
/usr/share/meep/casimir.scm was shipped by multiple packages:

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-lam4-12 1.7.0-3+b1

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-mpi-default12 1.7.0-3+b1

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-mpich2-12 1.7.0-3+b1

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-openmpi12 1.7.0-3+b1

and other files in other packages, too:

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-lam4 1.7.0-3+b1

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-mpi-default 1.7.0-3+b1

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-mpich2 1.7.0-3+b1

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-openmpi 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-lam4 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-mpi-default 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-mpich2 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-openmpi 1.7.0-3+b1


Andreas
Andreas Beckmann
2019-12-08 22:50:01 UTC
Permalink
Followup-For: Bug #940491
Control: found -1 1.12.0-2

Preparing to unpack .../libmeep17_1.12.0-2_amd64.deb ...
Unpacking libmeep17 (1.12.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep17_1.12.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-mpi-default12 1.7.0-3+b1
Preparing to unpack .../meep_1.12.0-2_amd64.deb ...
Unpacking meep (1.12.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.12.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-mpi-default 1.7.0-3+b1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libmeep17_1.12.0-2_amd64.deb
/var/cache/apt/archives/meep_1.12.0-2_amd64.deb

probably for the mpich, openmpi, lam variants, too.


Andreas
Claus Fütterer
2019-12-19 15:20:01 UTC
Permalink
Package: python3-meep
Version: 1.12.0-2
Followup-For: Bug #940491

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
installation of meep and python3-meep

* What exactly did you do (or not do) that was effective (or
ineffective)?
I installed the named packages with synaptic and later with apt
* What was the outcome of this action?

synaptic:
E: python3-meep: »installiertes python3-meep-Skript des Paketes post-
installation«-Unterprozess gab den Fehlerwert 1 zurück
English: installed python3-meep-script of package post-installation sup-process
returned error 1

now I cannot install or remove any software but get instead this error message

Further:

***@kugel:~# apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr
benötigt:
freecad-runtime libfuse3-3 python3-pyside2.qtsvg python3-pyside2.qtuitools
python3-pyside2.qtxml python3-pyside2uic
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete sind zurückgehalten worden: (English: The following
packages are hold back)
freecad gnome-dictionary libequinox-osgi-java libllvm9 libllvm9:i386 phonon-
backend-gstreamer-common python-sip quota sshfs
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 9 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n]
python3-meep (1.12.0-2) wird eingerichtet ...
dpkg-query: Paket »python-meep« ist nicht installiert (English: ...is not
installed)
Verwenden Sie dpkg --contents (= dpkg-deb --contents) zum Auflisten von
Archivinhalten.
Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in <module>
main()
File "/usr/bin/pycompile", line 262, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in
add_namespace_files
for fn in files:
File "/usr/share/python/debpython/files.py", line 69, in filter_public
for fn in files:
File "/usr/share/python/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of python-meep
dpkg: Fehler beim Bearbeiten des Paketes python3-meep (--configure):
»installiertes python3-meep-Skript des Paketes post-installation«-Unterprozess
gab den Fehlerwert 1 zurück
Trigger für libc-bin (2.29-6) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
python3-meep
E: Sub-process /usr/bin/dpkg returned an error code (1)


* What outcome did you expect instead?
no errors when installing or removing

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: bullseye/sid
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-meep depends on:
ii libatlas3-base [liblapack.so.3] 3.10.3-9
ii libblas3 [libblas.so.3] 3.9.0-1
ii libc6 2.29-6
ii libctl7 4.4.0-3
ii libfftw3-double3 3.3.8-2
ii libgcc1 1:9.2.1-21
ii liblapack3 [liblapack.so.3] 3.9.0-1
pn libmeep17 <none>
ii libopenblas0-pthread [liblapack.so.3] 0.3.7+ds-7
ii libstdc++6 9.2.1-21
ii python3 3.7.5-3
ii python3-numpy 1:1.17.4-4

python3-meep recommends no packages.

python3-meep suggests no pac

Loading...