Package: command-not-found
Version: 23.04.0-1
Severity: normal
X-Debbugs-Cc: none, H.-Dirk Schmitt <d...@computer42.org>

After changing the /etc/apt/sources.d/… files from the traditional to the 
deb822 format following noisy warning message
are displayed:
WARNING:root:could not open file 
'/etc/apt/sources.list.d/bookworm.security.sources': Unable to parse section 
data
Same for all other sources files in deb822 format.

Content of the mentioned file.

# -- old-stable --
Types: deb
URIs: http://security.debian.org/debian-security
Suites: bullseye-security
Components: main contrib non-free

# -- stable --

Types: deb
URIs: http://security.debian.org/debian-security
Suites: bookworm-security
Components: main contrib non-free  non-free-firmware



-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (600, 'testing-security'), (600, 'testing'), (500, 
'stable-security'), (99, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE:de:en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages command-not-found depends on:
ii  apt-file     3.3
ii  lsb-release  12.0-1
ii  python3      3.11.2-1
ii  python3-apt  2.5.3

command-not-found recommends no packages.

Versions of packages command-not-found suggests:
pn  snapd  <none>

-- Configuration Files:
/etc/apt/apt.conf.d/50command-not-found changed:
Acquire::IndexTargets {
    # The deb822 metadata files
    deb::CNF  {
        MetaKey "$(COMPONENT)/cnf/Commands-$(NATIVE_ARCHITECTURE)";
        ShortDescription "Commands-$(NATIVE_ARCHITECTURE)";
        Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) c-n-f 
Metadata";
        DefaultEnabled "false";
    };
};
APT::Update::Post-Invoke-Success {
    "if /usr/bin/test -w /var/lib/command-not-found/ -a -e 
/usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null & fi";
};


-- no debconf information


--

-------------------------------------------------------------------------------

H.-Dirk_Schmitt
Dipl.Math.
eMail:dirk.schm...@computer42.org
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html

Reply via email to