Setting up tcpdump (4.9.3-4ubuntu0.3) ... useradd: cannot open /etc/passwd adduser: `/usr/sbin/useradd -d /nonexistent -g tcpdump -s /usr/sbin/nologin -u 114 tcpdump' returned error code 1. Exiting. dpkg: error processing package tcpdump (--configure): installed tcpdump package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: tcpdump Upgrade complete The upgrade has completed but there were errors d

Bug #2067484 reported by Kishor sonwane
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tcpdump (Ubuntu)
New
Undecided
Unassigned

Bug Description

Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1,554 B]
Get:2 Upgrade tool [1,338 kB]
Fetched 1,340 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
  C: Cancel
Please choose (S/V/K/I/C): S

*** Uploading problem information

The collected information is being sent to the bug tracking system.
This might take a few minutes.
99%

*** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/tcpdump/+filebug/f5f902b8-1dbf-11ef-a0f5-41be3ee0a903?field.title=package+tcpdump+4.9.3-4ubuntu0.3+failed+to+install%2Fupgrade%3A+installed+tcpdump+package+post-installation+script+subprocess+returned+error+exit+status+1

You can launch a browser now, or copy this URL into a browser on another computer.

Choices:
  1: Launch a browser now
  C: Cancel
Please choose (1/C): 1
sudo: xdg-open: command not found

Could not install the upgrades

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Setting up tcpdump (4.9.3-4ubuntu0.3) ...
useradd: cannot open /etc/passwd
adduser: `/usr/sbin/useradd -d /nonexistent -g tcpdump -s /usr/sbin/nologin -u 114 tcpdump' returned error code 1. Exiting.
dpkg: error processing package tcpdump (--configure):
 installed tcpdump package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 tcpdump

Upgrade complete

The upgrade has completed but there were errors during the upgrade
process.

To continue please press [ENTER]
=== Command detached from window (Wed May 29 19:04:21 2024) ===
=== Command terminated with exit status 1 (Wed May 29 19:04:31 2024) ===

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: tcpdump 4.9.3-4ubuntu0.3
ProcVersionSignature: Ubuntu 4.15.0-213.224-generic 4.15.18
Uname: Linux 4.15.0-213-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair falcon_lsm_serviceable falcon_nf_netcontain falcon_kal falcon_lsm_pinned_16703
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed May 29 18:58:01 2024
ErrorMessage: installed tcpdump package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2016-07-14 (2876 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.10
SourcePackage: tcpdump
Title: package tcpdump 4.9.3-4ubuntu0.3 failed to install/upgrade: installed tcpdump package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2024-05-29 (0 days ago)

Revision history for this message
Kishor sonwane (kishorsonwane) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
affects: ubuntu → tcpdump (Ubuntu)
tags: removed: need-duplicate-check
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.