Author Topic: mythtv upgrade to 0.23  (Read 8567 times)

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
mythtv upgrade to 0.23
« on: May 28, 2010, 01:47:06 am »
After removing the mythtv 0.22 pin references from the preferences file I get the following huge downgrade. Adding them back I see 0 packages need changing.

Is this normal?
Barney
(moved from another thread - didn't want to hijack!)

Code: [Select]
root@dcerouter:/etc/apt# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be DOWNGRADED:
  ansi2html lmce-game-db lmce-mediatomb lmce-mythtv-scripts lmce-skins-slate
  lmce-skins-titanium lmce-skins-uita mythtv mythtv-themes mythweb
  pluto-app-server pluto-asterisk pluto-avwizard pluto-avwizard-skin-basic
  pluto-confirm-dependencies pluto-convert-mac pluto-createdevice
  pluto-database-settings pluto-dcerouter pluto-dhcpd-plugin
  pluto-disc-drive-functions pluto-disk-drive pluto-disk-monitor
  pluto-dummy-console-tools pluto-dynamic-dns pluto-hal-device-finder
  pluto-hald pluto-install-scripts pluto-irbase pluto-libresolution
  pluto-libserial pluto-local-database pluto-mcr-remote pluto-media-database
  pluto-messagetrans pluto-motion-wrapper pluto-mplayer-player
  pluto-network-storage pluto-newmdinteractor pluto-nvidia-video-drivers
  pluto-orbiter pluto-photo-screen-saver pluto-pluto-media-db
  pluto-pluto-security-db pluto-pluto-telecom-db pluto-plutodhcp
  pluto-proxy-orbiter pluto-qos pluto-ra pluto-raid-tools
  pluto-remoteassistance pluto-sample-media pluto-sdl-helpers
  pluto-security-database pluto-simplephone pluto-skins-basic
  pluto-sound-card-scripts pluto-sqlcvs pluto-telecom-database
  pluto-test-serial-port pluto-text-to-speech pluto-updatemedia
  pluto-usb-uirt-0038 pluto-voicemail-monitor pluto-windowsce-libraries
  pluto-x-scripts pluto-xine-player pluto-xine-plugin v4l2-firmware
  v4l2-modules
0 upgraded, 0 newly installed, 70 downgraded, 0 to remove and 4 not upgraded.
Need to get 443MB of archives.
After this operation, 83.8MB of additional disk space will be used.
Do you want to continue [Y/n]?

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #1 on: May 28, 2010, 01:53:35 am »
Hi..That should be ok..
I would say just upgrade everything besides mythtv first and then myth.
C

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #2 on: May 28, 2010, 12:40:53 pm »
Thanks fastie81.

Should I be worried that it wants to downgrade so many packages and get 440mb of archives just to downgrade?
Barney

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: mythtv upgrade to 0.23
« Reply #3 on: May 28, 2010, 01:28:37 pm »
do an apt-get install lmce-update-system before the apt-get upgrade. After that, do another apt-get update, and it shouldn't download as many packages anymore. The downloaded packages are not bad, just a waste of time.

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #4 on: May 28, 2010, 02:43:11 pm »
Thanks posde. Doing that now.
Barney

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #5 on: May 28, 2010, 02:46:00 pm »
Apparently I already have the latest version of the lmce-update-system package.

Guess I'll just have to go for the huge downgrade.

Thanks guys.
Barney

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #6 on: May 29, 2010, 12:17:28 pm »
Broke my core.

Going to restore a stable backup.

Barney

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #7 on: May 30, 2010, 01:45:37 am »
Restored backup. All OK for a while.

Ran update and upgrade. Now back to a similar situation as the first post. System now wants to downgrade loads of packages using nearly half a gig of archives. This time I'm not changing the preferences file so mythtv should be locked to 0.22.

No idea what's happening.

Any advice?
Barney

MANDINGO

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #8 on: May 30, 2010, 05:16:08 am »
b4rney jump into the irc channel and lets take a look at what is wrong

but what is suppose to happend is that the system grabs the new preference file and limit the dnload to only mythtv debs that are needed for install.

Thanks
Mandingo
For a Current List of Plug and Play Capture Cards/Devices
http://wiki.linuxmce.org/index.php/Capture_Cards

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #9 on: May 30, 2010, 10:26:41 pm »
Thanks Mandingo, Never done irc but will try to figure it out.

Here is my current preferences file. Sounds like this might get overwritten. Not sure if my problems are mythtv related or not:
Barney
Code: [Select]
Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmyth-perl
Pin: version 2:0.22*
Pin-Priority: 1001


Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmyth-perl
Pin: version 2:0.22*
Pin-Priority: 1001

Package: *
Pin: origin deb.linuxmce.org
Pin-Priority: 1001

MANDINGO

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #10 on: May 30, 2010, 10:37:00 pm »
b4rney

Yes that is part of your problem your preference file is incorrect,  We are fixing the issue with the preferences file not adapting like it should.

FYI your preferences file should look like this...

Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmythtv-perl libmyth python-myth mythtv-themes mythplugins mytharchive mytharchive-data mythbrowser mythgallery mythgame mythmovies mythmusic mythnetvison mythnetvision-data mythnews mythvideo mythweather mythzoneminder myth-doc
Pin: origin deb.linuxmce.org
Pin-Priority: 1001

Please try to jump into the irc channels
channels i can be reached  #linuxmce and #linuxmce-devel

Thanks
Mandingo
For a Current List of Plug and Play Capture Cards/Devices
http://wiki.linuxmce.org/index.php/Capture_Cards

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #11 on: May 30, 2010, 11:08:56 pm »
Mandingo:
I think maybe you just solved most of my problem. Copied the preferences file you just pasted and my apt-get upgrade suddenly looks normal.

Ran the upgrade with output as follows. Will try and get on irc.
Barney
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  mythtv-transcode-utils
The following packages will be DOWNGRADED:
  mythtv mythtv-themes mythweb
0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 5 not upgraded.
Need to get 50.2MB of archives.
After this operation, 84.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  mythtv mythtv-themes mythweb
Authentication warning overridden.
Get: 1 http://deb.linuxmce.org intrepid/beta2 mythtv 0.23-0.1 [26.2kB]
Get: 2 http://deb.linuxmce.org intrepid/beta2 mythtv-themes 0.23-0.0 [47.7MB]
Get: 3 http://deb.linuxmce.org intrepid/beta2 mythweb 0.23-0.0 [2462kB]                                                                 
Fetched 50.2MB in 1min35s (525kB/s)                                                                                                     
dpkg - warning: downgrading mythtv from 2:0.22.0-fixes23953-0ubuntu0 to 0.23-0.1.
(Reading database ... 164105 files and directories currently installed.)
Preparing to replace mythtv 2:0.22.0-fixes23953-0ubuntu0 (using .../mythtv_0.23-0.1_all.deb) ...
Unpacking replacement mythtv ...
dpkg - warning: downgrading mythtv-themes from 2:0.22.0-fixes23473-0ubuntu1 to 0.23-0.0.
Preparing to replace mythtv-themes 2:0.22.0-fixes23473-0ubuntu1 (using .../mythtv-themes_0.23-0.0_all.deb) ...
Unpacking replacement mythtv-themes ...
dpkg: error processing /var/cache/apt/archives/mythtv-themes_0.23-0.0_all.deb (--unpack):
 trying to overwrite `/usr/share/mythtv/themes/metallurgy/controls-ui.xml', which is also in package mythtv-theme-metallurgy
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg - warning: downgrading mythweb from 2:0.22.0-fixes23469-0ubuntu0 to 0.23-0.0.
Preparing to replace mythweb 2:0.22.0-fixes23469-0ubuntu0 (using .../mythweb_0.23-0.0_all.deb) ...
Unpacking replacement mythweb ...
Errors were encountered while processing:
 /var/cache/apt/archives/mythtv-themes_0.23-0.0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: mythtv upgrade to 0.23
« Reply #12 on: June 01, 2010, 06:04:37 pm »
Doing apt-get dist-upgrade solved my problems.

Hope this helps someone.
Barney