Author Topic: pluto-dcerouter  (Read 4961 times)

maxiecool2

  • Newbie
  • *
  • Posts: 6
    • View Profile
pluto-dcerouter
« on: November 14, 2016, 02:19:02 am »
Hi guys
I have an offline system, to upgrade I run apt - get on another system managed by a configuration  file
I recently updated the packages however pluto-dcerouter fails to install after it tries to connect to the internet (that isn't there) to update "GetIRCodes.php"
Is there a way to install the package without it connecting to the internet?
Is there an offline version I can use instead?
Manually download the ir codes?
Mat

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: pluto-dcerouter
« Reply #1 on: November 14, 2016, 04:39:28 am »
Hi guys
I have an offline system, to upgrade I run apt - get on another system managed by a configuration  file
I recently updated the packages however pluto-dcerouter fails to install after it tries to connect to the internet (that isn't there) to update "GetIRCodes.php"
Is there a way to install the package without it connecting to the internet?
Is there an offline version I can use instead?
Manually download the ir codes?
Mat
nope.  An internet connection is required, that's always been the case. 
J.

Sent from my Nexus 5 using Tapatalk


maxiecool2

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: pluto-dcerouter
« Reply #2 on: November 14, 2016, 06:39:59 am »
So how do I fix it? I don't have an Internet connection! 

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: pluto-dcerouter
« Reply #3 on: November 14, 2016, 06:43:28 am »
There is even a _very_ old ticket of mine that states it would be nice to have offline installability, but the most we came to getting it done was l3mce's work with the live DVD.

But, if all you want is upgrading your package pluto-dcerouter, go into the commandline on your core, and edit line 104 of /var/lib/dpkg/info/pluto-dcerouter.postinst

Old content:
Code: [Select]
        /usr/pluto/bin/WebDB_GetIR.sh 0 "$Template"

New content:
Code: [Select]
        /usr/pluto/bin/WebDB_GetIR.sh 0 "$Template" || :

and run apt-get -f install.

This will get your package installed, but won't install the IR code updates. If you have the IR codes on another system, you can use the DeviceTemplate exporter that is somewhere on the forum to export the IR codes into a file on your other system, and follow the instruction to import them to your new system.

maxiecool2

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: pluto-dcerouter
« Reply #4 on: November 14, 2016, 07:37:47 am »
Worked like a charm! Thanks!

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: pluto-dcerouter
« Reply #5 on: November 14, 2016, 11:48:33 am »
Glad I could help, and happy it worked :)