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

Bug #1860878 reported by Tómas Halldórsson
8
This bug affects 1 person
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.7+dfsg-0ubuntu2.4
ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
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
PackageArchitecture: all
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
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SambaServerRegression: Yes
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.7+dfsg-0ubuntu2.4 failed to install/upgrade: installed samba-common package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to eoan on 2020-01-25 (0 days ago)

Revision history for this message
Tómas Halldórsson (tekken) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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-CRITICAL **: 20:37:43.501: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

and ends with:

Gdk-Message: 20:37:43.636: 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.

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.