adduser command fails when a mythtv user already exists

Bug #280974 reported by Jose Bernardo
44
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
Undecided
Mario Limonciello

Bug Description

Binary package hint: mythtv-common

The ponstinst script fails as it is a upgrade and there is already a mythtv user.

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocesso post-installation script retornou erro do status de saída 1
NonfreeKernelModules: nvidia
Package: mythtv-common 0.21.0+fixes18379-0ubuntu1
PackageArchitecture: all
SourcePackage: mythtv
Title: package mythtv-common 0.21.0+fixes18379-0ubuntu1 failed to install/upgrade: subprocesso post-installation script retornou erro do status de saída 1
Uname: Linux 2.6.27-6-generic x86_64

Related branches

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Editing the postinst script and commenting the add user line allows myth to upgrade.

Revision history for this message
Mario Limonciello (superm1) wrote :

bzr $178

Changed in mythtv:
assignee: nobody → superm1
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythtv - 0.21.0+fixes19136-0ubuntu3

---------------
mythtv (0.21.0+fixes19136-0ubuntu3) jaunty; urgency=low

  [ Michael Haas ]
  * Drop debian/patches/28_fix_v4l.dpatch because upstream
    fixed this properly in r19250.

  [ Mario Limonciello ]
  * debian/mythtv-database.postinst:
    - Don't reset the backend IPs unless you
      are loading a database
    - Pre-set mythbuntu theme. If mythbuntu theme isn't
      around, G.A.N.T. gets loaded instead, so no expected
      regresssions.
  * debian/mythtv-database.config:
    - Try to get answer from mysql-server config if possible
      this avoids asking admin pass question twice.
    - Check if mysql binary is around before repeatedly
      asking questions.
   - Check if localhost that mysqld is running. If it's
      not, then don't keep asking questions.
    - Pass on failed answer to postinst (don't reset)
  * debian/mythtv-common.config:
    - Display the password that is set, not just "value set"
  * debian/mythtv-common.postinst:
    - Only create a user if it doesn't already exist. (LP: #280974)
  * debian/rules:
    - Unset executable permissions on .sh and .d files in clean
      section. (LP: #311573)
    - Don't restart mythtv-backend on upgrade of packages.
      Unexpected behavior might happen depending on what other packages
      are installed at that time and what will still be installed.
      The common use case for a problem here is dist-upgrades.
      (LP: #298914)
  * Store .sh and .d files as non executable in bzr to better reflect
    flat packaging as seen in the archive.
  * debian/patches/24_fix_h264_frame_counting.dpatch:
    - Remove .orig file from the patch as it's unnecessary (LP: #311549)
  * debian/mythtv-backend.postinst:
    - If we are mounted on NFS, changing permissions will fail. Don't
      fail the postinst in this case. (LP: #299352)

  [ TJ ]
  * debian/rules:
    - Cleanup files that upstream is forgetting to clean between builds.
      (LP: #311552)

 -- Mario Limonciello <email address hidden> Fri, 02 Jan 2009 14:28:58 -0600

Changed in mythtv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.