Duplicate preferences.d (same file/s two times), why?

Maybe I did it in error, but there seems to be duplicity on my

Desktop: KDE Plasma v: 6.6.1 Distro: KDE neon 24.04 User Edition noble
Kernel: 6.17.0-14-generic arch: x86_64 bits: 64

sudo fdupes /etc/apt/preferences.d --recurse

/etc/apt/preferences.d/org-kde-neon-packages-mozilla-org-pin
/etc/apt/preferences.d/preferences.d/org-kde-neon-packages-mozilla-org-pin

/etc/apt/preferences.d/99-neon-base-files
/etc/apt/preferences.d/preferences.d/99-neon-base-files

/etc/apt/preferences.d/50-neon-ubuntu-release-upgrader
/etc/apt/preferences.d/preferences.d/50-neon-ubuntu-release-upgrader

I want to edit mozilla file, but which one and should i delete /etc/apt/preferences.d/preferences.d/ since it does not seem to contain any non duplicate file. Should this be reported to developers Development - KDE Discuss?

UPDATE:
It appears that the change of a file in a subdirectory:
/etc/apt/preferences.d/preferences.d/org-kde-neon-packages-mozilla-org-pin
namely Pin-Priority line, does NOT reflect in apt-cache policy firefox command output, but changing file in parent directory:
/etc/apt/preferences.d/org-kde-neon-packages-mozilla-org-pin
makes a difference.

Furthermore moving away file that makes difference still does not take “subdirectory” file into account (at least regarding Pin-Priority).

So that is an indicator of a directory being obsolete/erroneously placed.

I think the extra directory and files are an error/mistake/bug. They are identical to the files in the correct and expected location but aren’t affecting anything as far as I can see.

I am making a bug report here:

1 Like