package samba-common 2:4.10.7+dfsg-0ubuntu2.4 failed to install/upgrade: installed samba-common package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
i chose no to upgrade the config file over mine and it stalled due to that
ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: samba-common 2:4.10.
ProcVersionSign
Uname: Linux 5.3.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
Date: Sat Jan 25 20:37:43 2020
ErrorMessage: installed samba-common package post-installation script subprocess returned error exit status 1
NmbdLog:
OtherFailedConnect: Yes
PackageArchitec
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.17-1
RelatedPackageV
dpkg 1.19.7ubuntu2
apt 1.9.4
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
TestparmExitCode: 0
TestparmStderr:
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Title: package samba-common 2:4.10.
UpgradeStatus: Upgraded to eoan on 2020-01-25 (0 days ago)
tags: | removed: need-duplicate-check |
Thanks for filing this bug in Ubuntu. The smb.conf file you attached is fine in terms of syntax.
Your dpkg terminal log is full of GTK errors:
(frontend:29420): Gtk-[1; 35mCRITICAL [0m **: [34m20: 37:43.501 [0m: _gtk_widget_ captured_ event: assertion 'WIDGET_ REALIZED_ FOR_EVENT (widget, event)' failed
and ends with:
Gdk-[1; 32mMessage [0m: [34m20: 37:43.636 [0m: frontend: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
dpkg: error processing package samba-common (--configure):
installed samba-common package post-installation script subprocess returned error exit status 1
I'm not sure what happened, maybe the installation was canceled by mistake at that prompt, or there was some timeout involved (screen saver kicked in?).
You seem to have done quite the upgrade, what was this, a dist-upgrade from bionic? To do release upgrades, you should use the do-release-upgrade tool.
In any case, at this point, if you haven't done so already, I suggest the following:
sudo apt update
sudo apt -f install
And that will hopefully continue the installation.