"pwgen: not found" during clean install

Bug #592521 reported by JP Vossen
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Triaged
Low
Unassigned

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

Revision history for this message
JP Vossen (jp-jpsdomain) wrote :
Revision history for this message
Nick Jenkins (nickpj) wrote :

Ditto, same problem. Copy/paste of aptitude's terminal output is attached, including the pwgen error.

Revision history for this message
MarcRandolph (mrand) wrote :

Howdy, and thank you for helping to improve Mythbuntu by reporting this issue. I have not yet attempted to reproduce this in 11.10, but I do see it when adding mythtv to a base Ubuntu 11.04 system.

Changed in mythtv (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Thomas Mashos (tgm4883) wrote : Re: [Mythbuntu-bugs] [Bug 592521] Re: "pwgen: not found" during clean install

I believe that we should be able to fix this with a predepends, but does
this actually happen with the newest builds? Not 0.23?

On Oct 21, 2011 8:46 AM, "MarcRandolph" <email address hidden> wrote:
>
> Howdy, and thank you for helping to improve Mythbuntu by reporting this
> issue. I have not yet attempted to reproduce this in 11.10, but I do
> see it when adding mythtv to a base Ubuntu 11.04 system.
>
> ** Changed in: mythtv (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: mythtv (Ubuntu)
> Status: New => Triaged
>
> --
> You received this bug notification because you are a member of Mythbuntu
> Bug Team, which is subscribed to mythtv in Ubuntu.
> https://bugs.launchpad.net/bugs/592521
>
> Title:
> "pwgen: not found" during clean install
>
> Status in “mythtv” package in Ubuntu:
> Triaged
>
> 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
>
> To manage notifications about this bug go to:
>
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/592521/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Hans Harhoff Andersen (hansharhoff) wrote :

It just happened for me in standard 12.04 LTS (upgraded from previous versions of Ubuntu).

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.