package samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128

Bug #1790730 reported by Mario Fliegel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The error occured after a regular update of Lubuntu LTS 16.04:
Description: Ubuntu 16.04.5 LTS
Release: 16.04

apt-cache policy samba-common:
samba-common:
  Installiert: 2:4.3.11+dfsg-0ubuntu0.16.04.16
  Installationskandidat: 2:4.3.11+dfsg-0ubuntu0.16.04.16
  Versionstabelle:
 *** 2:4.3.11+dfsg-0ubuntu0.16.04.16 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2:4.3.11+dfsg-0ubuntu0.16.04.15 500
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
     2:4.3.8+dfsg-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu xenial/main i386 Packages

I was using Thunderbird and did not expect an error message regarding samba because I didn't do anything with samba,

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.16
ProcVersionSignature: Ubuntu 4.15.0-33.36~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Tue Sep 4 23:13:48 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 128
InstallationDate: Installed on 2017-12-06 (272 days ago)
InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.27
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
Title: package samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128
UpgradeStatus: No upgrade log present (probably fresh install)
WindowsFailedConnect: Yes

Revision history for this message
Mario Fliegel (mflsbs77qbode) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

I'm seeing many messages like this one in the logs:
Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.

I believe this was fixed some time ago in Ubuntu already. Could you please run these commands one more time to make sure there are no other pending updates?

sudo apt update
sudo apt -f install
sudo apt dist-upgrade

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Mario Fliegel (mflsbs77qbode) wrote : Re: [Bug 1790730] Re: package samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128

Goog morning

This is what I got after processing your recommendations:

mfl@azsbs77qbode:~$ sudo apt update
Ign:1 http://ppa.launchpad.net/segler-alex/ppa/ubuntu xenial InRelease
OK:2 http://archive.canonical.com/ubuntu xenial InRelease
OK:3 http://de.archive.ubuntu.com/ubuntu xenial InRelease
OK:4 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial InRelease
OK:5 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
OK:6 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fehl:7 http://ppa.launchpad.net/segler-alex/ppa/ubuntu xenial Release
   404  Not Found
OK:8 http://security.ubuntu.com/ubuntu xenial-security InRelease
Paketlisten werden gelesen... Fertig
E: The repository 'http://ppa.launchpad.net/segler-alex/ppa/ubuntu
xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
mfl@azsbs77qbode:~$

mfl@azsbs77qbode:~$ sudo apt -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
5 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.16) wird eingerichtet ...
Replacing config file /etc/samba/smb.conf with new version
samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.16) wird eingerichtet ...
samba (2:4.3.11+dfsg-0ubuntu0.16.04.16) wird eingerichtet ...
smbclient (2:4.3.11+dfsg-0ubuntu0.16.04.16) wird eingerichtet ...
winbind (2:4.3.11+dfsg-0ubuntu0.16.04.16) wird eingerichtet ...
Trigger für libc-bin (2.23-0ubuntu10) werden verarbeitet ...
mfl@azsbs77qbode:~$

mfl@azsbs77qbode:~$ sudo apt dist-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
mfl@azsbs77qbode:~$

Am 05.09.2018 um 14:53 schrieb Andreas Hasenack:
> Thanks for filing this bug in Ubuntu.
>
> I'm seeing many messages like this one in the logs:
> Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.
>
> I believe this was fixed some time ago in Ubuntu already. Could you
> please run these commands one more time to make sure there are no other
> pending updates?
>
> sudo apt update
> sudo apt -f install
> sudo apt dist-upgrade
>
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It looks fine now, I believe it was due to the old bug that is now fixed (the one about unitialized values). Also, you should probably remove the segler-alex ppa as it does not have xenial packages.

I'll mark this bug as invalid for samba as it happened in another package, related to debconf, which is now fixed. Please reopen it if you hit this problem again.

Thanks!

Changed in samba (Ubuntu):
status: Incomplete → Invalid
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.