Public bug reported: While installing the samba4 package, I got the following error:
samba4 (4.0.0+dfsg1-1ubuntu1) wird eingerichtet ... ERROR(<class 'samba.provision.InvalidNetbiosName'>): uncaught exception - The name ''MOI-LATITUDE-E6520'' is not a valid NetBIOS name File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 398, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1892, in provision sitename=sitename, rootdn=rootdn) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 514, in guess_names raise InvalidNetbiosName(netbiosname) dpkg: Fehler beim Bearbeiten von samba4 (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 255 zurück Trigger für libc-bin werden verarbeitet ... ldconfig deferred processing now taking place Trigger für ufw werden verarbeitet ... Trigger für ureadahead werden verarbeitet ... Fehler traten auf beim Bearbeiten von: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1) I expect such exceptions to be caught and a meaningful message to be printed. ProblemType: Package DistroRelease: Ubuntu 13.04 Package: samba4 4.0.0+dfsg1-1ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2 Uname: Linux 3.8.0-26-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.9.2-0ubuntu8.1 Architecture: amd64 Date: Thu Jun 20 10:15:01 2013 ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 255 zurück InstallationDate: Installed on 2013-06-05 (14 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True SourcePackage: samba4 Title: package samba4 4.0.0+dfsg1-1ubuntu1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 255 zurück UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: samba4 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1192863 Title: package samba4 4.0.0+dfsg1-1ubuntu1 failed to install/upgrade: The name ''MOI-LATITUDE-E6520'' is not a valid NetBIOS name To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/1192863/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs