:: Re: [DNG] There seems to be some st…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Lars Noodén
Fecha:  
A: dng
Asunto: Re: [DNG] There seems to be some strong disagreement in Debian regarding usrmerge
On 1/1/24 01:27, tito via Dng wrote:
[snip]> Hi,
> just to quantify how many initscripts there are in devuan daedalus
> with all repositories enabled:
>
> eb http://deb.devuan.org/merged/ daedalus main contrib non-free non-free-firmware
> deb-src http://deb.devuan.org/merged/ daedalus main contrib non-free non-free-firmware
> deb http://deb.devuan.org/merged/ daedalus-updates main contrib non-free non-free-firmware
> deb-src http://deb.devuan.org/merged/ daedalus-updates main contrib non-free non-free-firmware
> deb http://deb.devuan.org/merged/ daedalus-security main contrib non-free non-free-firmware
> deb-src http://deb.devuan.org/merged/ daedalus-security main contrib non-free non-free-firmware
> deb http://deb.devuan.org/merged/ daedalus-backports main contrib non-free non-free-firmware
> deb-src http://deb.devuan.org/merged/ daedalus-backports main contrib non-free non-free-firmware
>
>
> apt-file search /etc/init.d/ | wc -l
> 1202


Good New Year,

Not counting backports, which might have a larger proportion of orphaned
packages, I get the following:

$ apt-file search --package-only --regexp "^/etc/init.d/" | wc -l
1065

That number is the number of packages which are ok. There are
currently slightly more packages which are either mixed or orphaned:

$ apt-file search --package-only --regexp "^/lib/systemd/.*\.service$" \
    | wc -l
1179


(there will be outliers though with some mistakenly putting the service
files under /etc/systemd/)

The number of orphaned packages is still small, for now:

$ comm -2 -3 \
    <(apt-file search --package-only \
        --regexp "^/lib/systemd/.*\.service$"|sort) \
    <(apt-file search --package-only \
        --regexp "^/etc/init.d/"|sort) \
    | wc -l
415


Again, that count does not include backports:

$ grep "^deb " /etc/apt/sources.list
deb http://fi.deb.devuan.org/merged daedalus main non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main non-free-firmware
deb http://fi.deb.devuan.org/merged daedalus-updates main non-free-firmware

$ lsb_release -rd
No LSB modules are available.
Description:    Devuan GNU/Linux 5 (daedalus)
Release:        5


$ uname -sr
Linux 6.1.0-16-amd64

/Lars