← Back to team overview

enterprise-support team mailing list archive

[Bug 2015322] [NEW] Apt upgrade failure: Sub-process /usr/bin/dpkg returned an error code (1)

 

Public bug reported:

Something is going wrong with the package "python3-samba".
As a result, I cannot proceed with any upgrade due to this package.
I have tried removing the aforementioned package but in vain.
I have also removed all the associated with the troublesome package files from /var/lib/dpkg/info.
I tried also to reconfigure the dpkg database with no luck:

root@lubuntuhome:~# dpkg --configure -a
dpkg: error processing package python3-samba (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 python3-samba

The release of Ubuntu I am using is: Ubuntu 22.04.2 LTS
The version of the package I am using is: 
python3-samba:
  Installed: 2:4.15.13+dfsg-0ubuntu1.1
  Candidate: 2:4.15.13+dfsg-0ubuntu1.1
  Version table:
 *** 2:4.15.13+dfsg-0ubuntu1.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:4.15.5~dfsg-0ubuntu5 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3-samba 2:4.15.13+dfsg-0ubuntu1.1
ProcVersionSignature: Ubuntu 5.15.0-69.76-generic 5.15.87
Uname: Linux 5.15.0-69-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Apr  5 09:26:57 2023
InstallationDate: Installed on 2022-10-17 (169 days ago)
InstallationMedia: Lubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809)
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/2015322

Title:
  Apt upgrade failure: Sub-process /usr/bin/dpkg returned an error code
  (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2015322/+subscriptions



Follow ups