Hi!

Got a different error (with the same cause) when installing 0.5.0-1 using apt:

    Unpacking oomd (0.5.0-1+b1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-46e3FG/48-oomd_0.5.0-1+b1_amd64.deb (--unpack): unable to open '/usr/lib/systemd/system/oomd.service.dpkg-new': No such file or directory


Looks like the package builds OK, but lintian fails:

    $ gbp clone https://salsa.debian.org/yangfl-guest/oomd.git
    $ cd oomd
    $ gbp buildpackage -uc -us
    ...
    Now running lintian oomd_0.5.0-1_amd64.changes ...
E: oomd: file-in-root-and-usr lib/systemd/system/oomd.service usr/lib/systemd/system/oomd.service
    ...

This is probably due to both oomd and the package shipping a (different!) service file:

    src/oomd/etc/oomd.service.in
    debian/oomd.service

I've prepared a merge request to drop the upstream service (since the package's version is better) at:
https://salsa.debian.org/yangfl-guest/oomd/-/merge_requests/3

Thank you!

Christopher Obbard

Reply via email to