Your message dated Sat, 20 Jan 2024 11:20:11 +0000
with message-id <[email protected]>
and subject line Bug#1060889: fixed in clamav 1.0.4+dfsg-1
has caused the Debian Bug report #1060889,
regarding clamav cannot be cross-arch installed?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1060889: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060889
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clamav-base
Version: 1.0.3+dfsg-1~deb12u1
Severity: minor

When trying to install clamav for non-default architecture,
I get this error from apt:

    The following packages have unmet dependencies:
     clamav-daemon:i386 : Depends: clamav-base:i386 (= 1.0.3+dfsg-1~deb12u1) 
but it is not installable
     clamav-freshclam:i386 : Depends: clamav-base:i386 (>= 
1.0.3+dfsg-1~deb12u1) but it is not installable

This is really weird and confusing, because clamav-base is
an Architecture: all package, not
an Architecture: any package.

I speculate that either:

1. apt has a bug that clamav happens to trigger; or
2. clamav's Depends/Conflicts/Replaces are subtly bugged, and should be 
"fixed"; or
3. I've misunderstood something fundamental about how to use multiple 
architectures in apt.

Here are the full commands I ran.


These all complete without error:

    bash5$ mmdebstrap bookworm /dev/null --quiet --architecture=amd64 
--include=clamav,clamav-daemon

    bash5$ mmdebstrap bookworm /dev/null --quiet --architecture=i386 
--include=clamav:i386,clamav-daemon:i386

    bash5$ mmdebstrap bookworm /dev/null --quiet --architecture=i386,amd64 
--include=clamav:i386,clamav-daemon:i386

    bash5$ mmdebstrap bookworm /dev/null --quiet --architecture=amd64,i386 
--include=curl:i386   # some non-clamav cross-arch install


These fail with the weird bug:

    bash5$ mmdebstrap bookworm /dev/null --architecture=amd64,i386 
--include=clamav:i386,clamav-daemon:i386
    I: automatically chosen mode: unshare
    I: chroot architecture amd64 is equal to the host's architecture
    I: finding correct signed-by value...
    done
    I: automatically chosen format: null
    I: using /tmp/mmdebstrap.W2DIp_TEfi as tempdir
    I: running apt-get update...
    done
    I: downloading packages with apt...
    done
    I: extracting archives...
    done
    I: installing essential packages...
    done
    I: installing remaining packages inside the chroot...
    done
    Reading package lists...
    Building dependency tree...
    debconf is already the newest version (1.5.82).
    libpam-runtime is already the newest version (1.5.2-6+deb12u1).
    mawk is already the newest version (1.3.4.20200120-3.1).
    libpam-modules is already the newest version (1.5.2-6+deb12u1).
    libpam-modules-bin is already the newest version (1.5.2-6+deb12u1).
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
     clamav-daemon:i386 : Depends: clamav-base:i386 (= 1.0.3+dfsg-1~deb12u1) 
but it is not installable
     clamav-freshclam:i386 : Depends: clamav-base:i386 (>= 
1.0.3+dfsg-1~deb12u1) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    E: setup failed: E: apt-get -o Dir::Bin::dpkg=env -o 
DPkg::Options::=--unset=TMPDIR -o DPkg::Options::=dpkg -o 
DPkg::Chroot-Directory=/tmp/mmdebstrap.W2DIp_TEfi --yes install 
-oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false clamav:i386 clamav-daemon:i386 
?narrow(?or(?archive(^bookworm$),?codename(^bookworm$)),?architecture(amd64),?and(?or(?priority(required),?priority(important)),?not(?essential)))
 failed
    I: main() received signal PIPE: waiting for setup...
    I: removing tempdir /tmp/mmdebstrap.W2DIp_TEfi...
    E: mmdebstrap failed to run

    bash5$ mmdebstrap bookworm /dev/null --architecture=i386,amd64 
--include=clamav:amd64,clamav-daemon:amd64
    I: automatically chosen mode: unshare
    I: i386 is different from amd64 but can be executed natively
    I: finding correct signed-by value...
    done
    I: automatically chosen format: null
    I: using /tmp/mmdebstrap.oM_yCF_dpY as tempdir
    I: running apt-get update...
    done
    I: downloading packages with apt...
    done
    I: extracting archives...
    done
    I: installing essential packages...
    done
    I: installing remaining packages inside the chroot...
    done
    Reading package lists...
    Building dependency tree...
    debconf is already the newest version (1.5.82).
    libpam-runtime is already the newest version (1.5.2-6+deb12u1).
    mawk is already the newest version (1.3.4.20200120-3.1).
    libpam-modules is already the newest version (1.5.2-6+deb12u1).
    libpam-modules-bin is already the newest version (1.5.2-6+deb12u1).
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
     clamav-daemon:amd64 : Depends: clamav-base:amd64 (= 1.0.3+dfsg-1~deb12u1) 
but it is not installable
     clamav-freshclam:amd64 : Depends: clamav-base:amd64 (>= 
1.0.3+dfsg-1~deb12u1) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    E: setup failed: E: apt-get -o Dir::Bin::dpkg=env -o 
DPkg::Options::=--unset=TMPDIR -o DPkg::Options::=dpkg -o 
DPkg::Chroot-Directory=/tmp/mmdebstrap.oM_yCF_dpY --yes install 
-oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false clamav:amd64 clamav-daemon:amd64 
?narrow(?or(?archive(^bookworm$),?codename(^bookworm$)),?architecture(i386),?and(?or(?priority(required),?priority(important)),?not(?essential)))
 failed
    I: main() received signal PIPE: waiting for setup...
    I: removing tempdir /tmp/mmdebstrap.oM_yCF_dpY...
    E: mmdebstrap failed to run


PS: while not really relevant to this bug report,
    the original context was:

     <twb> grr, clamd keeps getting OOM-killed because
           it loads all definitions into RAM (not mmaped or anything) which
           is 1300MB on this 4000MB system.

     <twb> /var/lib/clamav/ is only 223M, not 1300MB!

     <twb> I wonder if clamav:i386 halves the RAM usage?

     <twb> dpkg --add-architecture=i386;
           apt update;
           apt install clamav:i386 clamav-daemon:i386
           [doesn't work, start investigating]


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-0.deb12.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 1.0.4+dfsg-1
Done: Sebastian Andrzej Siewior <[email protected]>

We believe that the bug you reported is fixed in the latest version of
clamav, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Andrzej Siewior <[email protected]> (supplier of updated clamav 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Jan 2024 11:57:33 +0100
Source: clamav
Architecture: source
Version: 1.0.4+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: ClamAV Team <[email protected]>
Changed-By: Sebastian Andrzej Siewior <[email protected]>
Closes: 1060559 1060889
Changes:
 clamav (1.0.4+dfsg-1) unstable; urgency=medium
 .
   * Import 1.0.4
     - Update symbols.
   * Add systemd-dev to Build-Depends (Closes: #1060559).
   * Mark clamav-base as foreign (Closes: #1060889).
Checksums-Sha1:
 0eadb2934080a060bbb8620c2dce988e4740f3ea 2830 clamav_1.0.4+dfsg-1.dsc
 30a5c6e1e2eb69c6ed2c2288536f774e6cb417a5 26030144 clamav_1.0.4+dfsg.orig.tar.xz
 87226cc594e94374898ba565579754cad81f2b64 226284 
clamav_1.0.4+dfsg-1.debian.tar.xz
Checksums-Sha256:
 a2f3c629c1857dccb7e0c857c5808dfb815484908905f074074ea1f44990278f 2830 
clamav_1.0.4+dfsg-1.dsc
 a4cbe65ed07da779907d869f266d9f7d27ec2b8cc4e9d58ed8d2003294091ae4 26030144 
clamav_1.0.4+dfsg.orig.tar.xz
 56e9442bf4403cb89ea8731e9f49632cac6b497ef1fa09c58b81317eac0ee5d6 226284 
clamav_1.0.4+dfsg-1.debian.tar.xz
Files:
 2e6301aeff2279405480c4ca2f85487b 2830 utils optional clamav_1.0.4+dfsg-1.dsc
 5f041b020db0596ccd169dce43831766 26030144 utils optional 
clamav_1.0.4+dfsg.orig.tar.xz
 8c47f23233e221a77dedcd9ba6c89d6a 226284 utils optional 
clamav_1.0.4+dfsg-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEV4kucFIzBRM39v3RBWQfF1cS+lsFAmWrqXsACgkQBWQfF1cS
+luR/gv9GJ2SME7ecAahfW4X0kQN/nS/rK5aJktob9/Go+P+X8mlyAxCJ1gP6/l5
L6ORtEQbyERnejOJftnJ9z4vOMfgQHQAFfE8WH0N1xJaftUdRKkeAb2ot8E92i7p
8ApsOtlh+PSEuHd33V60U1ALWaXOTB6ydi7f0TWLLcc4mq9k1dZXjMb8FXS2woaY
gAW7wPsyasQuJcYjw9+rWgiExoe0MTzbR+gg/bm6MR2owd9lvpfe/6glUP3eloDp
Ydc4Je1SAN6/cmtJGocvYfXbZl7r3VVGw4CmlWr8aXv1yVaGIq5yDPKcvNjJXgQL
cJTWlQQUcs5W140uKMCx46McfSDIcoAQCWXuFHx2xS/icFfeoum8VPXhveKWEj74
FC3KxKPEow65W17TgJifSHuLmDY9j4eMD8SyP7iSxIrOIzPRxfnA/tw7b04wtfvv
bVStHZ6uSVRT6hUMyaNF+R2hcsNNuc53Is6w7Lrh+u7U8E3DtNuQxuB4sbqyxPcJ
T3vP6bPd
=e1K0
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to