LinuxMCE Forums

General => Users => Topic started by: maxiecool2 on November 14, 2016, 02:19:02 am

Title: pluto-dcerouter
Post by: maxiecool2 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
Title: Re: pluto-dcerouter
Post by: phenigma 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

Title: Re: pluto-dcerouter
Post by: maxiecool2 on November 14, 2016, 06:39:59 am
So how do I fix it? I don't have an Internet connection! 
Title: Re: pluto-dcerouter
Post by: Marie.O 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.
Title: Re: pluto-dcerouter
Post by: maxiecool2 on November 14, 2016, 07:37:47 am
Worked like a charm! Thanks!
Title: Re: pluto-dcerouter
Post by: Marie.O on November 14, 2016, 11:48:33 am
Glad I could help, and happy it worked :)