On Mon, Oct 17, 2011 at 01:20:53PM +0200, Ralf Treinen wrote:
> Package: libopenscap0,libopenscap1
> Version: libopenscap0/0.7.3-1
> Version: libopenscap1/0.8.0-1
> Severity: serious
> User: trei...@debian.org
> Usertags: edos-file-overwrite
> 
> Date: 2011-10-17
> Architecture: amd64
> Distribution: sid
> 
> Hi,
> 
> 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:

Arg, I forgot to add the Conflict/Replace lines for the transition.
I'll upload a fixed version ASAP. In the meantime you can safely remove
libopenscap0 (both versions are not meant to be installed at the same
time).

BR,
Pierre

> 
> 
> WARNING: The following packages cannot be authenticated!
>   libsasl2-2 libldap-2.4-2 libpcre3 libnl1 libcap2 libxml2 libxslt1.1
>   libopenscap0 libopenscap1
> Authentication warning overridden.
> Can not write log, openpty() failed (/dev/pts not mounted?)
> Selecting previously unselected package libsasl2-2.
> (Reading database ... 10586 files and directories currently installed.)
> Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-2_amd64.deb) ...
> Selecting previously unselected package libldap-2.4-2.
> Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-3_amd64.deb) ...
> Selecting previously unselected package libpcre3.
> Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
> Selecting previously unselected package libnl1.
> Unpacking libnl1 (from .../libnl1_1.1-7_amd64.deb) ...
> Selecting previously unselected package libcap2.
> Unpacking libcap2 (from .../libcap2_1%3a2.22-1_amd64.deb) ...
> Selecting previously unselected package libxml2.
> Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5_amd64.deb) ...
> Selecting previously unselected package libxslt1.1.
> Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8_amd64.deb) ...
> Selecting previously unselected package libopenscap0.
> Unpacking libopenscap0 (from .../libopenscap0_0.7.3-1_amd64.deb) ...
> Selecting previously unselected package libopenscap1.
> Unpacking libopenscap1 (from .../libopenscap1_0.8.0-1_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/libopenscap1_0.8.0-1_amd64.deb 
> (--unpack):
>  trying to overwrite '/usr/bin/oscap', which is also in package libopenscap0 
> 0.7.3-1
> configured to not write apport reports
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libopenscap1_0.8.0-1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> This is a serious bug as it makes installation fail, and violates
> sections 7.6.1 and 10.1 of the policy. An optimal solution would
> consist in only one of the packages installing that file, and renaming
> or removing the file in the other package. Depending on the
> circumstances you might also consider Replace relations or file
> diversions. If the conflicting situation cannot be resolved then, as a
> last resort, the two packages have to declare a mutual
> Conflict. Please take into account that Replaces, Conflicts and
> diversions should only be used when packages provide different
> implementations for the same functionality.
> 
> 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/bin/oscap
>   /usr/lib/openscap/probe_dnscache
>   /usr/lib/openscap/probe_dpkginfo
>   /usr/lib/openscap/probe_family
>   /usr/lib/openscap/probe_file
>   /usr/lib/openscap/probe_filehash
>   /usr/lib/openscap/probe_inetlisteningservers
>   /usr/lib/openscap/probe_interface
>   /usr/lib/openscap/probe_ldap57
>   /usr/lib/openscap/probe_partition
>   /usr/lib/openscap/probe_password
>   /usr/lib/openscap/probe_process
>   /usr/lib/openscap/probe_runlevel
>   /usr/lib/openscap/probe_shadow
>   /usr/lib/openscap/probe_sysctl
>   /usr/lib/openscap/probe_system_info
>   /usr/lib/openscap/probe_textfilecontent
>   /usr/lib/openscap/probe_textfilecontent54
>   /usr/lib/openscap/probe_uname
>   /usr/lib/openscap/probe_xinetd
>   /usr/lib/openscap/probe_xmlfilecontent
>   /usr/share/man/man8/oscap.8.gz
>   /usr/share/openscap/scap-fedora14-oval.xml
>   /usr/share/openscap/scap-fedora14-xccdf.xml
>   /usr/share/openscap/scap-rhel6-oval.xml
>   /usr/share/openscap/scap-rhel6-xccdf.xml
>   /usr/share/openscap/schemas/oval/5.8/aix-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/aix-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/apache-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/apache-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/catos-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/catos-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/debian-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/debian-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/esx-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/esx-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/freebsd-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/freebsd-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/hpux-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/hpux-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/independent-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/independent-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/ios-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/ios-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/linux-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/linux-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/macos-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/macos-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/oval-common-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/oval-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/oval-definitions-schematron.xsl
>   /usr/share/openscap/schemas/oval/5.8/oval-directives-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/oval-directives-schematron.xsl
>   /usr/share/openscap/schemas/oval/5.8/oval-results-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/oval-results-schematron.xsl
>   /usr/share/openscap/schemas/oval/5.8/oval-system-characteristics-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/oval-system-characteristics-schematron.xsl
>   /usr/share/openscap/schemas/oval/5.8/oval-variables-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/oval-variables-schematron.xsl
>   /usr/share/openscap/schemas/oval/5.8/pixos-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/pixos-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/redhat-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/redhat-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/sharepoint-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/sharepoint-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/solaris-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/solaris-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/unix-definitions-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/unix-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/windows-definitions-schema.xsd
>   
> /usr/share/openscap/schemas/oval/5.8/windows-system-characteristics-schema.xsd
>   /usr/share/openscap/schemas/oval/5.8/xmldsig-core-schema.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/XMLSchema.dtd
>   /usr/share/openscap/schemas/xccdf/1.1.4/cpe-1.0.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/cpe-language_2.0.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/datatypes.dtd
>   /usr/share/openscap/schemas/xccdf/1.1.4/platform-0.2.3.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/simpledc20021212.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/xccdf-schema.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/xccdfp-1.1.xsd
>   /usr/share/openscap/schemas/xccdf/1.1.4/xml.xsd
>   /usr/share/openscap/xsl/dbout-html.xsl
>   /usr/share/openscap/xsl/dc2docbook.xsl
>   /usr/share/openscap/xsl/docbook-share.xsl
>   /usr/share/openscap/xsl/fix.xsl
>   /usr/share/openscap/xsl/fixtpl-bash.xml
>   /usr/share/openscap/xsl/html2docbook.xsl
>   /usr/share/openscap/xsl/oscap-share.xsl
>   /usr/share/openscap/xsl/oval-report.xsl
>   /usr/share/openscap/xsl/oval-results-report.xsl
>   /usr/share/openscap/xsl/security-guide.xsl
>   /usr/share/openscap/xsl/xccdf-report.xsl
>   /usr/share/openscap/xsl/xccdf-share.xsl
>   /usr/share/openscap/xsl/xccdf-substitute.xsl
>   /usr/share/openscap/xsl/xccdf-tailor.xsl
> 
> This bug is assigned to both packages. If you, the maintainers of
> the two packages in question, have agreed on which of the packages will
> resolve the problem please reassign the bug to that package. You may
> also register in the BTS that the other package is affected by the bug.
> 
> -Ralf.
> 
> PS: for more information about the detection of file overwrite errors
> of this kind see http://edos.debian.net/file-overwrites/.
> 
> 
> 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to