[Debian-med-packaging] Bug#820062: orthanc and orthanc-doc: error when trying to install together
Sebastien Jodogne
s.jodogne at chu.ulg.ac.be
Tue Apr 5 07:15:28 UTC 2016
Hello,
> automatic installation tests of packages that share a file and at the
> same time do not conflict by their package dependency relationships has
> detected the following problem:
>[...]
> Unpacking orthanc (1.0.0+dfsg-2) ...
> Selecting previously unselected package orthanc-doc.
> Preparing to unpack .../orthanc-doc_1.0.0+dfsg-2_all.deb ...
> Unpacking orthanc-doc (1.0.0+dfsg-2) ...
> dpkg: error processing archive /var/cache/apt/archives/orthanc-doc_1.0.0+dfsg-2_all.deb (--unpack):
> trying to overwrite '/usr/lib/orthanc/libModalityWorklists.so.1.0.0', which is also in package orthanc 1.0.0+dfsg-2
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>[...]
> Here is a list of files that are known to be shared by both packages
> (according to the Contents file for sid/amd64, which may be
> slightly out of sync):
>
> /usr/lib/orthanc/libModalityWorklists.so.1.0.0
> /usr/lib/orthanc/libServeFolders.so.1.0.0
> /usr/sbin/Orthanc
> /usr/share/orthanc/plugins/libModalityWorklists.so
> /usr/share/orthanc/plugins/libServeFolders.so
Thank for reporting this issue. However, I need help: I am indeed unable
to reproduce it...
According to your report, the file
"/usr/lib/orthanc/libModalityWorklists.so.1.0.0" lies both in package
"orthanc" and "orthanc-doc".
However, when I list the content of the "orthanc-doc" generated by my
local pbuilder, this file is not present inside the package:
>>>>>
jodogne at unstable:~/Subversion/Debian/orthanc/debian$ dpkg -c
/var/cache/pbuilder/result/orthanc-doc_1.0.0+dfsg-2_all.deb | grep
ModalityWorklists
drwxr-xr-x root/root 0 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/
-rw-r--r-- root/root 7932 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/Plugin.cpp
-rw-r--r-- root/root 1561 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/README
drwxr-xr-x root/root 0 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/
-rw-r--r-- root/root 740 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist2.wl
-rw-r--r-- root/root 748 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist7.wl
-rw-r--r-- root/root 742 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist5.wl
-rw-r--r-- root/root 756 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist1.wl
-rw-r--r-- root/root 750 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist6.wl
-rw-r--r-- root/root 752 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist9.wl
-rw-r--r-- root/root 740 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist3.wl
-rw-r--r-- root/root 467 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/Generate.py
-rw-r--r-- root/root 746 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist10.wl
-rw-r--r-- root/root 752 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist8.wl
-rw-r--r-- root/root 728 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/WorklistsDatabase/wklist4.wl
-rw-r--r-- root/root 1250 2016-04-04 15:20
./usr/share/doc/orthanc/OrthancPluginSamples/ModalityWorklists/CMakeLists.txt
<<<<<
Could someone give me a hint? Is it because, as Ralf says at the end of
his report, the packages are slightly out of sync?
TIA,
Sébastien-
More information about the Debian-med-packaging
mailing list