Public bug reported:
Summary:
Running `sudo apt install libpam-mount` I get
```
pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating.
pam-auth-update: Run pam-auth-update --force to override.
Setting up libpam-mount-bin (2.19-1) ...
Processing triggers for libc-bin (2.38-1ubuntu6.2) ...
Processing triggers for man-db (2.11.2-3) ...
Errors were encountered while processing:
sgml-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
Plus apport-gtk pop-up
My `/etc/pam.d/common-authentication` is modified.
1) Release
```$ lsb_release -r
Release: 23.10
```
2) Package version
```$ apt-cache policy sgml-base libpam-mount
sgml-base:
Installed: 1.31
Candidate: 1.31
Version table:
*** 1.31 500
500 http://it.archive.ubuntu.com/ubuntu mantic/main amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu mantic/main i386 Packages
100 /var/lib/dpkg/status
1.30 500
500 http://it.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu jammy/main i386 Packages
libpam-mount:
Installed: 2.19-1
Candidate: 2.19-1
Version table:
*** 2.19-1 500
500 http://it.archive.ubuntu.com/ubuntu mantic/main amd64 Packages
100 /var/lib/dpkg/status
2.18-2build2 500
500 http://it.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
```
3) What is expected
Usually in this situation I get a dpkg prompt saying something like
"package maintainer provided a different configuration file" and asking
me which version of the configuration file. Or to see the differences.
Some file are then saved and `NAME.dpkg-new`/`NAME.dpkg-old`.
This way I can install the module and care about editing
`/etc/pam.d/common-auth` later.
4) What happened
See error above
ProblemType: Package
DistroRelease: Ubuntu 23.10
Package: sgml-base 1.31
ProcVersionSignature: Ubuntu 6.5.0-28.29-generic 6.5.13
Uname: Linux 6.5.0-28-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.27.0-0ubuntu5
AptOrdering:
libhx32:amd64: Install
libpam-mount:amd64: Install
libpam-mount-bin:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Apr 27 20:54:15 2024
ErrorMessage: il sottoprocesso installato pacchetto sgml-base script
post-installation ha restituito lo stato di errore 2
InstallationDate: Installed on 2023-04-23 (370 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64
(20220809.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.22.0ubuntu1.1
apt 2.7.3ubuntu0.1
SourcePackage: sgml-base
Title: package sgml-base 1.31 failed to install/upgrade: il sottoprocesso
installato pacchetto sgml-base script post-installation ha restituito lo stato
di errore 2
UpgradeStatus: Upgraded to mantic on 2023-10-20 (190 days ago)
** Affects: sgml-base (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package mantic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063965
Title:
package sgml-base 1.31 failed to install/upgrade: Local modifications
to /etc/pam.d/common-* triggered dpkg error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sgml-base/+bug/2063965/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs