Author Topic: update 30718 throws errors  (Read 10658 times)

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: update 30718 throws errors
« Reply #15 on: May 26, 2015, 02:05:27 am »
This is an old version of mythtv-player that is trying to be installed for some reason.  These issues do not exist in the most recent release in the repository.  Try to:  apt-get update && apt-get install --reinstall pluto-mythtv-player

and if that doesn't work,

apt-get install pluto-mythtv-player=2.0.0.46.15051930718

J.

HTH

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: update 30718 throws errors
« Reply #16 on: May 26, 2015, 11:49:47 am »
This is one persistent little bugger

Quote
dcerouter_1043186:/home/linuxmce#  apt-get install --reinstall pluto-mythtv-player
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-image-3.2.0-79-generic-pae libdiscover2 openswan linux-headers-3.2.0-80 linux-headers-3.2.0-77 linux-headers-3.2.0-79 linux-headers-3.2.0-77-generic-pae discover mce-launcher lmce-diskless-debootstrap-image
  linux-image-3.2.0-77-generic-pae libvte9 ftp-upload linux-headers-3.2.0-80-generic-pae pluto-dummy-console-tools lmce-update-system pluto-avwizard-sounds linux-image-3.2.0-80-generic-pae discover-data linux-headers-3.2.0-79-generic-pae
  pluto-windowsce-libraries libvte-common
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  pluto-mythtv-player
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/758 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  pluto-mythtv-player
Authentication warning overridden.
Setting up pluto-mythtv-player (2.0.0.46.15041030526) ...
ln: failed to create symbolic link `/usr/lib/libXmu.so': File exists
dpkg: error processing pluto-mythtv-player (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 pluto-mythtv-player
E: Sub-process /usr/bin/dpkg returned an error code (1)
dcerouter_1043186:/home/linuxmce# apt-get install pluto-mythtv-player=2.0.0.46.15051930718
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-image-3.2.0-79-generic-pae libdiscover2 openswan linux-headers-3.2.0-80 linux-headers-3.2.0-77 linux-headers-3.2.0-79 linux-headers-3.2.0-77-generic-pae discover mce-launcher lmce-diskless-debootstrap-image
  linux-image-3.2.0-77-generic-pae libvte9 ftp-upload linux-headers-3.2.0-80-generic-pae pluto-dummy-console-tools lmce-update-system pluto-avwizard-sounds linux-image-3.2.0-80-generic-pae discover-data linux-headers-3.2.0-79-generic-pae
  pluto-windowsce-libraries libvte-common
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  pluto-mythtv-player
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/758 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  pluto-mythtv-player
Authentication warning overridden.
Setting up pluto-mythtv-player (2.0.0.46.15041030526) ...
ln: failed to create symbolic link `/usr/lib/libXmu.so': File exists
dpkg: error processing pluto-mythtv-player (--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:
 pluto-mythtv-player
E: Sub-process /usr/bin/dpkg returned an error code (1)

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: update 30718 throws errors
« Reply #17 on: May 26, 2015, 12:02:29 pm »
I followed posde's advice

http://paste.ubuntu.com/11367860/

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: update 30718 throws errors
« Reply #18 on: May 26, 2015, 06:52:07 pm »
It contains the libXMU error again - please move it out of the way, and try again (with the bash -x)

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: update 30718 throws errors
« Reply #19 on: May 26, 2015, 07:39:15 pm »

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: update 30718 throws errors
« Reply #20 on: May 26, 2015, 07:39:49 pm »
This is a different error thrown by the code creating mysql.txt, this has also been fixed some time ago.  The package that keeps getting installed is an old pkg and I'm not sure why it's not grabbing the latest one.

To get around this the easiest thing to do atm is edit /var/lib/dpkg/info/pluto-mythtv-player.postinst and add 'exit 0' right at the beginning of the script.  Then apt-get -f install, which should complete.  Then do a new update && upgrade to hopefully grab the latest pkg.

J.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: update 30718 throws errors
« Reply #21 on: May 26, 2015, 08:17:34 pm »
Seems like this one worked now :-) thanks

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: update 30718 throws errors
« Reply #22 on: May 26, 2015, 08:19:36 pm »
You're welcome.  Again, sorry for the troubles.   :-\

J.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: update 30718 throws errors
« Reply #23 on: May 26, 2015, 09:24:40 pm »
Hey, that's okay....if it helps

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: update 30718 throws errors
« Reply #24 on: May 26, 2015, 10:39:51 pm »
* posde hates exit 0

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: update 30718 throws errors
« Reply #25 on: May 26, 2015, 10:41:19 pm »
So do I, but it was much easier than either creating the required file from scratch or editing the postinst to fix it.  Everything should right itself when the next version of the package is installed (which is fixed and is in the repo)   ;D

J.