Public bug reported: had lots of issues trying to get samba to work, eventually ripped all of tdb-tools out and tried a "fresh install". This is the relevant output:
Setting up tdb-tools (1.4.6-3) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbba ckup (tdbbackup) in auto mode update-alternatives: error: unable to read link '/usr/bin/tdbbackup': Invalid ar gument dpkg: error processing package tdb-tools (--configure): installed tdb-tools package post-installation script subprocess returned error exit status 2 dpkg: dependency problems prevent configuration of samba: samba depends on tdb-tools; however: Package tdb-tools is not configured yet. dpkg: error processing package samba (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup erro r from a previous failure. Errors were encountered while processing: tdb-tools samba E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: tdb-tools 1.4.6-3 ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7 Uname: Linux 5.19.0-23-generic x86_64 ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Thu Nov 3 16:34:22 2022 InstallationDate: Installed on 2022-05-01 (186 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: tdb UpgradeStatus: Upgraded to kinetic on 2022-11-03 (0 days ago) ** Affects: tdb (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug kinetic -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to tdb in Ubuntu. https://bugs.launchpad.net/bugs/1995647 Title: tdb-tools fails in dpkg, causing samba install to fail Status in tdb package in Ubuntu: New Bug description: had lots of issues trying to get samba to work, eventually ripped all of tdb-tools out and tried a "fresh install". This is the relevant output: Setting up tdb-tools (1.4.6-3) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbba ckup (tdbbackup) in auto mode update-alternatives: error: unable to read link '/usr/bin/tdbbackup': Invalid ar gument dpkg: error processing package tdb-tools (--configure): installed tdb-tools package post-installation script subprocess returned error exit status 2 dpkg: dependency problems prevent configuration of samba: samba depends on tdb-tools; however: Package tdb-tools is not configured yet. dpkg: error processing package samba (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup erro r from a previous failure. Errors were encountered while processing: tdb-tools samba E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: tdb-tools 1.4.6-3 ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7 Uname: Linux 5.19.0-23-generic x86_64 ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Thu Nov 3 16:34:22 2022 InstallationDate: Installed on 2022-05-01 (186 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: tdb UpgradeStatus: Upgraded to kinetic on 2022-11-03 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tdb/+bug/1995647/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp