← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1215440] Re: Using hostname test-VirtualBox causes Mythbuntu install to fail

 

The commit that replaces 'test-VirtualBox' with 'OLDHOSTNAME'  creates
duplicated entries in keybindings and settings tables:

patrick@myhostname:~/workspace$ sudo aptitude install mythtv-database
The following NEW packages will be installed:
mythtv-database
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/116 kB of archives. After unpacking 366 kB will be used.
Preconfiguring packages ...

Selecting previously unselected package mythtv-database.
(Reading database ... 315279 files and directories currently installed.)
Unpacking mythtv-database (from .../mythtv-database_2%3a0.27.0+fixes.20130918.033883b-0ubuntu0mythbuntu3_all.deb) ...
Setting up mythtv-database (2:0.27.0+fixes.20130918.033883b-0ubuntu0mythbuntu3) ...
ERROR 1062 (23000) at line 1148: Duplicate entry 'TV Frontend-CYCLEAUDIOCHAN-myhostname' for key 'PRIMARY'
dpkg: error processing mythtv-database (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
mythtv-database
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mythtv-database (2:0.27.0+fixes.20130918.033883b-0ubuntu0mythbuntu3) ...
ERROR 1062 (23000) at line 1148: Duplicate entry 'TV Frontend-CYCLEAUDIOCHAN-myhostname' for key 'PRIMARY'
dpkg: error processing mythtv-database (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mythtv-database

This affected me and another user:
http://ubuntuforums.org/showthread.php?t=2174537&p=12789159

Here is a pull request that fixes them back:
https://github.com/MythTV/packaging/pull/34

Regards,
Patrick.

-- 
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/1215440

Title:
  Using hostname test-VirtualBox causes Mythbuntu install to fail

Status in “mythtv” package in Ubuntu:
  Fix Released
Status in “mythtv” source package in Precise:
  Confirmed

Bug description:
  The install actually completed, but mysql wasn't properly configured.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.4
  Architecture: amd64
  Date: Thu Aug 22 08:19:32 2013
  InstallCmdLine: file=/cdrom/preseed/mythbuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  InstallationMedia: Mythbuntu 12.04.3 "Precise Pangolin" - Release amd64 (20130820)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1215440/+subscriptions