** Description changed: + [ Impact ] + + ksmbd-tools is completely unusable as the installation will fail with + the error: + + Preparing to unpack .../ksmbd-tools_3.5.1-1build2_amd64.deb ... + Unpacking ksmbd-tools (3.5.1-1build2) ... + dpkg: error processing archive /var/cache/apt/archives/ksmbd-tools_3.5.1-1build2_amd64.deb (--unpack): + unable to open '/usr/lib/systemd/system/ksmbd.service.dpkg-new': No such file or directory + No apport report written because the error message indicates an issue on the local system + Errors were encountered while processing: + /var/cache/apt/archives/ksmbd-tools_3.5.1-1build2_amd64.deb + E: Sub-process /usr/bin/dpkg returned an error code (1) + + [ Test Plan ] + + install ksmbd-tools. + if its not fixed then the installation will fail. + + With the fixed package the installation will succeed. + + As a basic sanity test to check ksmbd starts: + 1. sudo mv /etc/ksmbd/ksmbd.conf.example /etc/ksmbd/ksmbd.conf + 2. sudo systemctl restart ksmbd + 3. sudo systemctl status ksmbd + + The status of ksmbd service will be "Active: active (running)". + + [ Where problems could occur ] + + There is no change in code and its only modyfing the path where the service file is installed. There is very minimum chance of any regression due to this change. + And as a worst case scenario, if the change has an adverse affect and ksmbd service fails to start then the user will not see any new problem as the current package fails to install. + + [ Other Info ] + + It was caused by the usrmerge when / and /usr were merged. And has been + fixed in Oracular and also in Debian by ksmbd-tools/3.5.2-3. + + [ Original Bug Description ] + Ubuntu version: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble - "apt install ksmbd-tools" gives following output: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: - ksmbd-tools + ksmbd-tools 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/68.2 kB of archives. After this operation, 190 kB of additional disk space will be used. (Reading database ... 170035 files and directories currently installed.) Preparing to unpack .../ksmbd-tools_3.5.1-1build2_amd64.deb ... Unpacking ksmbd-tools (3.5.1-1build2) ... dpkg: error processing archive /var/cache/apt/archives/ksmbd-tools_3.5.1-1build2_amd64.deb (--unpack): - unable to open '/usr/lib/systemd/system/ksmbd.service.dpkg-new': No such file or directory + unable to open '/usr/lib/systemd/system/ksmbd.service.dpkg-new': No such file or directory Errors were encountered while processing: - /var/cache/apt/archives/ksmbd-tools_3.5.1-1build2_amd64.deb + /var/cache/apt/archives/ksmbd-tools_3.5.1-1build2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2072438 Title: [SRU] ksmbd-tools fails to install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ksmbd-tools/+bug/2072438/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
