package libnss-myhostname:amd64 237-3ubuntu10 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

Bug #1785797 reported by João Guilherme
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

1 - Release :
Description: Ubuntu 18.04.1 LTS
Release: 18.04

2 - Package Version:
libnss-myhostname:
  Installed: 237-3ubuntu10
  Candidate: 237-3ubuntu10.3
  Version table:
     237-3ubuntu10.3 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
 *** 237-3ubuntu10 500
        500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
N: Unable to locate package pkgname

3 - What I expect to happen

I expected I could install Clementine since it seems to be valid software to install when I see it in Ubuntu Software.

I hope this could be fixed since I looked for a solution on internet forums but found none.

4 - What happened instead

Could not install Clementine. Error message appears every time I run Ubuntu. Tried to fix it using some advice from Ubuntu forums.

5 - Further information

Newly installed ubuntu 18.
First time received this message when tried to install Clementine (internet radio) from Ubuntu Software 3.28.1
From then on, I am receiving this message during Ubuntu satrtup
Tried to install libnss using apt get install, but it is not recognized by the command as a valid installable piece of software

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libnss-myhostname:amd64 237-3ubuntu10
ProcVersionSignature: Ubuntu 4.15.0-24.26-generic 4.15.18
Uname: Linux 4.15.0-24-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
 dh-translations:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Tue Aug 7 07:34:15 2018
Dependencies:
 gcc-8-base 8-20180414-1ubuntu2
 libc6 2.27-3ubuntu1
 libgcc1 1:8-20180414-1ubuntu2
DuplicateSignature:
 package:libnss-myhostname:amd64:237-3ubuntu10
 Unpacking dh-translations (138.18.04.0) over (138) ...
 dpkg: error processing package libnss-myhostname:amd64 (--configure):
  package is in a very bad inconsistent state; you should
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2018-07-03 (34 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.2
SourcePackage: systemd
Title: package libnss-myhostname:amd64 237-3ubuntu10 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
João Guilherme (joaogmmoreira) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: New → 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.