Your message dated Sun, 20 Sep 2026 16:03:38 +0200
with message-id <[email protected]>
and subject line Re: autopkgtest: bad package list passed to apt with 
needs-sudo and trailing , in debian/control
has caused the Debian Bug report #1085442,
regarding autopkgtest: bad package list passed to apt with needs-sudo and 
trailing , in debian/control
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.)


-- 
1085442: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085442
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Version: 5.39
Severity: normal

This bug is somewhat similar to #1080981 and may be resolved by the same
fix, but I'm not sure.

While investigating an autopkgtest failure in the fence-agents package,
I encountered a situation in which an apparently valid test
configuration fails.

The log below shows the failure, which is caused when apt is passed
"fence-virt, , sudo" in its list of packages to install.  This seems to
be caused when autopkgtest injects the sudo package in response to
`needs-sudo` in the test definition and debian/control containing a
trailing ',' in the list of dependencies for one of the binary packages.

You can see complete examples in salsa build logs and sources at the
following:
https://salsa.debian.org/noahm/fence-agents/-/jobs/6455006#L718
https://salsa.debian.org/noahm/fence-agents/-/tree/d396178d5b001e396213cb1fb934858cd6c91f7d/debian

autopkgtest [14:27:46]: testbed dpkg architecture: amd64
autopkgtest [14:27:46]: testbed apt version: 2.9.9
autopkgtest [14:27:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup
Hit:1 http://deb.debian.org/debian sid InRelease
Reading package lists...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  apt-utils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 327 kB of archives.
After this operation, 1,115 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 apt-utils amd64 2.9.9 [327 kB]
Fetched 327 kB in 0s (1,417 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apt-utils.
(Reading database ... 12156 files and directories currently installed.)
Preparing to unpack .../apt-utils_2.9.9_amd64.deb ...
Unpacking apt-utils (2.9.9) ...
Setting up apt-utils (2.9.9) ...
Get:1 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  InRelease
Ign:1 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  InRelease
Get:2 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  Release [816 B]
Get:2 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  Release [816 B]
Get:3 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  Release.gpg
Ign:3 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  Release.gpg
Get:4 file:/tmp/autopkgtest-lxc.1yvyfokw/downtmp/binaries  Packages [100 kB]
Reading package lists...
E: Problem parsing dependency: fence-agents, time, procps, fence-agents-amt, 
fence-agents-aws, fence-agents-azure-arm, fence-
agents-compute, fence-agents-gce, fence-agents-ironic, fence-agents-openstack, 
fence-agents-sbd, fence-agents-ack-manual, fen
ce-agents-aliyun, fence-agents-alom, fence-agents-apc, fence-agents-apc-snmp, 
fence-agents-bladecenter, fence-agents-brocade,
 fence-agents-cdu, fence-agents-cisco-mds, fence-agents-cisco-ucs, 
fence-agents-crosslink, fence-agents-cyberpower-ssh, fence
-agents-docker, fence-agents-drac, fence-agents-drac5, fence-agents-dummy, 
fence-agents-eaton-snmp, fence-agents-eaton-ssh, f
ence-agents-ecloud, fence-agents-emerson, fence-agents-eps, 
fence-agents-hds-cb, fence-agents-heuristics-ping, fence-agents-h
pblade, fence-agents-ibmblade, fence-agents-ibm-powervs, fence-agents-ibm-vpc, 
fence-agents-ibmz, fence-agents-ifmib, fence-a
gents-ilo2, fence-agents-ilo-moonshot, fence-agents-ilo-mp, 
fence-agents-ilo-ssh, fence-agents-intelmodular, fence-agents-ipd
u, fence-agents-ipmilan, fence-agents-kdump, fence-agents-kubevirt, 
fence-agents-ldom, fence-agents-lindy-pdu, fence-agents-l
par, fence-agents-mpath, fence-agents-netio, fence-agents-ovh, 
fence-agents-ovm, fence-agents-powerman, fence-agents-pve, fen
ce-agents-raritan, fence-agents-raritan-px3, fence-agents-rcd-serial, 
fence-agents-redfish, fence-agents-rhevm, fence-agents-
rsa, fence-agents-rsb, fence-agents-sanbox2, fence-agents-scsi, 
fence-agents-skalar, fence-agents-vbox, fence-agents-virsh, f
ence-agents-vmware, fence-agents-vmware-rest, fence-agents-vmware-soap, 
fence-agents-vmware-vcloud, fence-agents-wti, fence-a
gents-xenapi, fence-virt, , sudo
delay                FAIL badpkg


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.2-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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

Versions of packages autopkgtest depends on:
ii  apt-utils       2.9.9
ii  libdpkg-perl    1.22.11
ii  mawk            1.3.4.20240905-1
ii  procps          2:4.0.4-6
ii  python3         3.12.6-1
ii  python3-debian  0.1.49
ii  retry           1.0.5-3

Versions of packages autopkgtest recommends:
ii  autodep8  0.28+nmu1
ii  fakeroot  1.36-1

Versions of packages autopkgtest suggests:
pn  docker-cli | docker.io  <none>
pn  docker.io               <none>
pn  fakemachine             <none>
ii  genisoimage             9:1.1.11-3.5
pn  incus                   <none>
ii  lxc                     1:6.0.2-1
pn  lxd                     <none>
pn  ovmf                    <none>
pn  ovmf-ia32               <none>
pn  podman                  <none>
ii  python3-distro-info     1.12
pn  qemu-efi-aarch64        <none>
pn  qemu-efi-arm            <none>
pn  qemu-efi-riscv64        <none>
pn  qemu-system             <none>
ii  qemu-utils              1:9.1.0+ds-8
pn  schroot                 <none>
ii  util-linux              2.40.2-9
pn  vmdb2                   <none>
pn  zerofree                <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 5.40

--- End Message ---

Reply via email to