[Logcheck-devel] Bug#584824: ntop and logcheck-database: error when trying to install together

Ola Lundqvist opal at debian.org
Fri Jun 18 21:08:47 UTC 2010


Hi logcheck maintainer(s)

So which one should change here. You or I :-)

Best regards,

// Ola

On Mon, Jun 07, 2010 at 12:06:50AM +0200, Ralf Treinen wrote:
> Package: logcheck-database,ntop
> Version: logcheck-database/1.3.9
> Version: ntop/3:3.3-13
> Severity: serious
> User: treinen at debian.org
> Usertags: edos-file-overwrite
> 
> Date: 2010-06-06
> 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:
> 
> 
> WARNING: The following packages cannot be authenticated!
>   libpcre3 libxml2 ucf defoma libfreetype6 ttf-dejavu-core fontconfig-config
>   libfontconfig1 fontconfig libpixman-1-0 libpng12-0 libxau6 libxdmcp6 libxcb1
>   libx11-data libx11-6 libxcb-render0 libxcb-render-util0 libxrender1
>   libcairo2 libdatrie1 libdbi0 libglib2.0-0 libpango1.0-common libthai-data
>   libthai0 libxft2 libpango1.0-0 libpcap0.8 librrd4 logcheck-database ntop
> 
> Extracting templates from packages: 93%
> Extracting templates from packages: 100%
> Preconfiguring packages ...
> Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
> Authentication warning overridden.
> Can not write log, openpty() failed (/dev/pts not mounted?)
> Selecting previously deselected package libpcre3.
> (Reading database ... 12205 files and directories currently installed.)
> Unpacking libpcre3 (from .../libpcre3_8.02-1_amd64.deb) ...
> Selecting previously deselected package libxml2.
> Unpacking libxml2 (from .../libxml2_2.7.7.dfsg-2_amd64.deb) ...
> Selecting previously deselected package ucf.
> Unpacking ucf (from .../archives/ucf_3.0025_all.deb) ...
> Moving old data out of the way
> Selecting previously deselected package defoma.
> Unpacking defoma (from .../defoma_0.11.11_all.deb) ...
> Selecting previously deselected package libfreetype6.
> Unpacking libfreetype6 (from .../libfreetype6_2.3.11-1_amd64.deb) ...
> Selecting previously deselected package ttf-dejavu-core.
> Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.31-1_all.deb) ...
> Selecting previously deselected package fontconfig-config.
> Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-2.1_all.deb) ...
> Selecting previously deselected package libfontconfig1.
> Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-2.1_amd64.deb) ...
> Selecting previously deselected package fontconfig.
> Unpacking fontconfig (from .../fontconfig_2.8.0-2.1_amd64.deb) ...
> Selecting previously deselected package libpixman-1-0.
> Unpacking libpixman-1-0 (from .../libpixman-1-0_0.16.4-1_amd64.deb) ...
> Selecting previously deselected package libpng12-0.
> Unpacking libpng12-0 (from .../libpng12-0_1.2.43-1_amd64.deb) ...
> Selecting previously deselected package libxau6.
> Unpacking libxau6 (from .../libxau6_1%3a1.0.5-2_amd64.deb) ...
> Selecting previously deselected package libxdmcp6.
> Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.3-2_amd64.deb) ...
> Selecting previously deselected package libxcb1.
> Unpacking libxcb1 (from .../libxcb1_1.6-1_amd64.deb) ...
> Selecting previously deselected package libx11-data.
> Unpacking libx11-data (from .../libx11-data_2%3a1.3.3-3_all.deb) ...
> Selecting previously deselected package libx11-6.
> Unpacking libx11-6 (from .../libx11-6_2%3a1.3.3-3_amd64.deb) ...
> Selecting previously deselected package libxcb-render0.
> Unpacking libxcb-render0 (from .../libxcb-render0_1.6-1_amd64.deb) ...
> Selecting previously deselected package libxcb-render-util0.
> Unpacking libxcb-render-util0 (from .../libxcb-render-util0_0.3.6-1_amd64.deb) ...
> Selecting previously deselected package libxrender1.
> Unpacking libxrender1 (from .../libxrender1_1%3a0.9.5-2_amd64.deb) ...
> Selecting previously deselected package libcairo2.
> Unpacking libcairo2 (from .../libcairo2_1.8.10-4_amd64.deb) ...
> Selecting previously deselected package libdatrie1.
> Unpacking libdatrie1 (from .../libdatrie1_0.2.3-1_amd64.deb) ...
> Selecting previously deselected package libdbi0.
> Unpacking libdbi0 (from .../libdbi0_0.8.2-3_amd64.deb) ...
> Selecting previously deselected package libglib2.0-0.
> Unpacking libglib2.0-0 (from .../libglib2.0-0_2.24.1-1_amd64.deb) ...
> Selecting previously deselected package libpango1.0-common.
> Unpacking libpango1.0-common (from .../libpango1.0-common_1.28.0-1_all.deb) ...
> Selecting previously deselected package libthai-data.
> Unpacking libthai-data (from .../libthai-data_0.1.14-2_all.deb) ...
> Selecting previously deselected package libthai0.
> Unpacking libthai0 (from .../libthai0_0.1.14-2_amd64.deb) ...
> Selecting previously deselected package libxft2.
> Unpacking libxft2 (from .../libxft2_2.1.14-2_amd64.deb) ...
> Selecting previously deselected package libpango1.0-0.
> Unpacking libpango1.0-0 (from .../libpango1.0-0_1.28.0-1_amd64.deb) ...
> Selecting previously deselected package libpcap0.8.
> Unpacking libpcap0.8 (from .../libpcap0.8_1.1.1-2_amd64.deb) ...
> Selecting previously deselected package librrd4.
> Unpacking librrd4 (from .../librrd4_1.4.3-1_amd64.deb) ...
> Selecting previously deselected package logcheck-database.
> Unpacking logcheck-database (from .../logcheck-database_1.3.9_all.deb) ...
> Selecting previously deselected package ntop.
> Unpacking ntop (from .../ntop_3%3a3.3-13_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/ntop_3%3a3.3-13_amd64.deb (--unpack):
>  trying to overwrite '/etc/logcheck/ignore.d.server/ntop', which is also in package logcheck-database 0:1.3.9
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/ntop_3%3a3.3-13_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):
> 
>   /etc/logcheck/ignore.d.server/ntop
> 
> 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.
> 
> -Ralf.
> 
> PS: for more information about the detection of file overwrite errors
> of this kind see http://edos.debian.net/file-overwrites/.
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  ola at inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------





More information about the Logcheck-devel mailing list