You are not logged in.

#1 2021-06-11 17:30:01

Alemswaj
Member
Registered: 2021-06-11
Posts: 2

Offline Update gnome-software

Hi,
Anyone knows how can I do to have offline update working with gnome-software ?

Offline

#2 2021-06-11 18:05:24

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,458

Re: Offline Update gnome-software

Welcome to archlinux forums .

It may be possible to get systemd.offline-updates to work with pacman, but
I don't think anyone has ever tried to do that on archlinux .

Frankly I doubt offline updates match with arch principles[1]



[1] https://wiki.archlinux.org/title/Arch_Linux#Principles


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-06-11 18:24:42

progandy
Member
Registered: 2012-05-17
Posts: 4,519

Re: Offline Update gnome-software

It may be possible to get systemd.offline-updates to work with pacman, but

I think it should be possible, the manual process looks something lilke this:
Use checkupdates to download the database into a cached location (set CHECKUPDATES_DB), and tell it to download updated packages into the cache.
When you are ready to update, replace the sync database with the cached copy and perform the update with the cached packages (pacman -Su)
If you install a package between download and execution, it may fail. If it succeeds, you might have gotten an old version from an outdated mirror and the system update later will require an internet connection to update that new package and it cannot be performed offline. (You could re-run the download to the cache to fix that)

Edit: For gnome-software it is might be necessary to patch packagekit. I believe packagekit simply updates the system sync database, so scheduling the offline update with packagekit may result in an unsupported partial upgrade in case you install another package in between download and offline update.

Last edited by progandy (2021-06-11 18:40:36)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2021-06-11 19:15:11

Alemswaj
Member
Registered: 2021-06-11
Posts: 2

Re: Offline Update gnome-software

Ok, that seems to be quite hard for having gnome-software's offline update.
But maybe I can use "normal" update with gnome-software, I don't find how to do it.
Or if it's can't possible, I will just use another software.
Thanks

Offline

Board footer

Powered by FluxBB