mup | Bug #1812605 changed: snap find crached <Snappy:Expired> <https://launchpad.net/bugs/1812605> | 04:19 |
---|---|---|
=== chihchun_afk is now known as chihchun | ||
handsome_feng | Hi, I want to upgrade an software offline, and I make a delta file by 'xdelta3 -s telegram-desktop_637.snap telegram-desktop_617.snap telegram-desktop_637.snap.xdelta3', Does anyone know how to refresh the software in the offline computer using this xdelta3 file? | 08:23 |
zyga | handsome_feng: hey | 09:40 |
zyga | handsome_feng: instead of a delta perhaps just get "snap download telegram-desktop" on an online computer and copy the pair of files over | 09:41 |
zyga | handsome_feng: then use "snap ack" on the assertion file | 09:41 |
zyga | handsome_feng: followed by "snap install" on the snap file | 09:41 |
zyga | handsome_feng: this has the same effect as a normal online installation | 09:41 |
handsome_feng | zyga: Thank you, but is it possible to refresh the software with the xdelta3 file only, since a software can be very big and I have post this in the snapcraft.io: https://forum.snapcraft.io/t/how-to-update-a-software-using-xdeltal3-file/10533 :) | 10:19 |
zyga | handsome_feng: yes but you need to do it manually | 10:25 |
zyga | just compute the delta of the revision you have there | 10:26 |
zyga | handsome_feng: normally the store does that | 10:26 |
zyga | handsome_feng: but if you want manually, go ahead | 10:26 |
zyga | handsome_feng: just reconstruct the file on the offline machine | 10:26 |
* zyga goes AFK | 10:26 | |
handsome_feng | zyga: Thanks, Do you know the details of reconstruct the file on the offline machine? I got the xdelta command from the snapcraft source code, and I think the "apply xdelta3" part is in the source code of snapd, but I'm not familiar with 'go' language, :( | 10:31 |
=== chihchun is now known as chihchun_afk | ||
zyga | handsome_feng: it's not related to go, you can use any delta system you want | 14:57 |
zyga | handsome_feng: I'm not personally familiar with it but I'm sure xdelta manual page shows how to use it | 14:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!