Package: command-not-found
Version: 23.04.0-1
Severity: normal

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

Dear Maintainer,

   I have my own repository of packages I've created myself, and I
sign them with GPG. This means that Debian needs to have my public
key, which I've installed in /etc/apt/keyrings/rjmx.pub. Current
practice, according to sources.list(5), is to refer to this in
/etc/apt/sources.d/<file>.sources. In my case, <file>.sources is
"rjmx.sources". Here's its contents:

        Types: deb deb-src
        URIs: https://www.rjmx.net/Debian
        Suites: local
        Components: main
        Signed-By: /etc/apt/keyrings/rjmx.pub

   This works fine for installing packages, and apt/aptitude etc have no
problem with it.

   However, if I mistype a program to run, I get this:

- -------------------------
$ noprog

WARNING:root:could not open file '/etc/apt/sources.list.d/rjmx.sources': Unable 
to parse section data

noprog: command not found
- -------------------------

   Thus it looks like command-not-found doesn't understand the deb822
format for files in sources.list.

 .....Ron

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

Kernel: Linux 6.4.7.khufu (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 command-not-found depends on:
ii  apt-file     3.3
ii  lsb-release  12.0-2
ii  python3      3.11.4-5
ii  python3-apt  2.6.0

command-not-found recommends no packages.

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

- -- no debconf information

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

iQJCBAEBCgAsFiEETZlw4yMXM0sUHntjEvfoZbXi52EFAmTJ5K4OHHJqbXhAcmpt
eC5uZXQACgkQEvfoZbXi52GACBAAp+GODecOE2VzoB/Lz0N1FIPNfTJWatbhFaEs
FR8DwdlJhSOQLxGQT8ThaxvgrY/0TGx4clad1FQU1lb3BomlRukdapu/31/t7V9H
3KwVgaxP4qtOf1fnNljGVe9rSIe+nRTKP3kNJPkujGV7fKZ562D/yTIiZIPfnSHc
uGHuEtJH5kaltL0Pj7tzdBROhXZq5PIfTLM6PqJpPuIJotOA9OxDteq+N//kNrmd
06l//cmzsf8wWq+HfHtt5aBagEo3vHeFSu8NfJwlTG5IeMMVtvV5Ep4xqC+eMcys
SsWWGTfPC0aK8Q7jxTOpJEcWZTv3wyEMRmZElMbFsTauH9xf3SNWzE9r5SP3xUvX
6TGjEOBTiP+3nZ7qQD/Mc6oOqx+LCFlhHmkXpmcrwn96iA5qlP+DHPF3zlGLB+26
ZxZ3OOlbByF0RA/I8A+jH6tAxYFKTbIbOqA73SnlWfzFD0m+1jK7vx8WaaTDRPCz
RouUHQYX/bla9cbJs4/yr/gE/x0++Y/4l9RahOolJ1+6idAdonrpzkjYfkjp8GYV
a8hjHuxKlfbKKUvX+voAWZ2xHyHKiqbFtzzdqFB/xx1VBckbQqYiuKLz+dem70Op
CC1473JNxSR+VlOjnZBfcDvp0kvN13aFbb1Z1ow6Os57WPivBV9z6te3MGAmKit3
0Q1GIY4=
=xBqX
-----END PGP SIGNATURE-----

Reply via email to