← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 592521] [NEW] "pwgen: not found" during clean install

 

Public bug reported:

Binary package hint: mythtv

Description:    Ubuntu 10.04 LTS
Release:        10.04

mythtv-common:
  Installed: 0.23.0+fixes24158-0ubuntu2
  Candidate: 0.23.0+fixes24158-0ubuntu2
  Version table:
 *** 0.23.0+fixes24158-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
        100 /var/lib/dpkg/status


Clean install of Lucid (regular, not Mythbuntu), installing only mythtv-frontend gave me:

/tmp/mythtv-common.config.142661: 23: pwgen: not found                                        
mythtv-common failed to preconfigure, with exit status 127

And this is true, pwgen was not installed.  But it *is* a dependency and
it *was* pulled into the install and it is *now* installed (after the
install finished).  So there is a dependency order problem, and maybe
this bug belongs to aptitude, and not mythtv-common...

Easy enough to work-around:

1) Before you install and hit this problem:
$ sudo aptitude install pwgen
$ sudo aptitude install mythtv-frontend

2) After you have tried to install, and have hit this problem:
$ sudo aptitude install pwgen
$ sudo dpkg-reconfigure mythtv-common

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mythtv-common 0.23.0+fixes24158-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Fri Jun 11 01:04:32 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
Installed_mythplugins-dbg: 0.0
Installed_mythtv-dbg: 0.0
MythTVDirectoryPermissions: Error: command ['ls', '-l', '/var/lib/mythtv'] failed with exit code 2: ls: cannot access /var/lib/mythtv: No such file or directory
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mythtv

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


** Tags: apport-bug i386 lucid

-- 
"pwgen: not found" during clean install
https://bugs.launchpad.net/bugs/592521
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in ubuntu.

Status in “mythtv” package in Ubuntu: New

Bug description:
Binary package hint: mythtv

Description:    Ubuntu 10.04 LTS
Release:        10.04

mythtv-common:
  Installed: 0.23.0+fixes24158-0ubuntu2
  Candidate: 0.23.0+fixes24158-0ubuntu2
  Version table:
 *** 0.23.0+fixes24158-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
        100 /var/lib/dpkg/status


Clean install of Lucid (regular, not Mythbuntu), installing only mythtv-frontend gave me:

/tmp/mythtv-common.config.142661: 23: pwgen: not found                                        
mythtv-common failed to preconfigure, with exit status 127

And this is true, pwgen was not installed.  But it *is* a dependency and it *was* pulled into the install and it is *now* installed (after the install finished).  So there is a dependency order problem, and maybe this bug belongs to aptitude, and not mythtv-common...

Easy enough to work-around:

1) Before you install and hit this problem:
$ sudo aptitude install pwgen
$ sudo aptitude install mythtv-frontend

2) After you have tried to install, and have hit this problem:
$ sudo aptitude install pwgen
$ sudo dpkg-reconfigure mythtv-common

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mythtv-common 0.23.0+fixes24158-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Fri Jun 11 01:04:32 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
Installed_mythplugins-dbg: 0.0
Installed_mythtv-dbg: 0.0
MythTVDirectoryPermissions: Error: command ['ls', '-l', '/var/lib/mythtv'] failed with exit code 2: ls: cannot access /var/lib/mythtv: No such file or directory
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mythtv





Follow ups

References