Public bug reported: After upgrading Ubuntu from 23.10 to 24.04 ksmbd stops working so I tried to uninstall and install ksmbd-tools package. Unfortunately I receive an error and can't install it:
el@akacja:~$ sudo apt-get install ksmbd-tools Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: 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 ... 243854 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 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) My system: el@akacja:~$ lsb_release -a; uname -a; apt-cache policy ksmbd-tools No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble Linux akacja 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ksmbd-tools: Installed: (none) Candidate: 3.5.1-1build2 Version table: 3.5.1-1build2 500 500 http://pl.archive.ubuntu.com/ubuntu noble/universe amd64 Packages el@akacja:~$ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 746M 2.2M 744M 1% /run efivarfs 128K 103K 21K 84% /sys/firmware/efi/efivars /dev/sdc2 116G 28G 83G 25% / tmpfs 3.7G 47M 3.6G 2% /dev/shm tmpfs 5.0M 8.0K 5.0M 1% /run/lock /dev/sda1 917G 443G 428G 51% /mnt/harddisk1 /dev/sdc1 1.1G 6.2M 1.1G 1% /boot/efi /dev/sdb1 4.5T 1.7T 2.9T 37% /mnt/harddisk log2ram 1.0G 403M 622M 40% /var/log tmpfs 746M 132K 746M 1% /run/user/1000 ** Affects: ksmbd-tools (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064694 Title: Can't install ksmbd-tools package on Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ksmbd-tools/+bug/2064694/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs