You are not logged in.
Hi,
Anyone knows how can I do to have offline update working with gnome-software ?
Offline
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]
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
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
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
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
I accidentally found the solution, it was answered by a Manjaro developer.
https://gitlab.manjaro.org/manjaro-arm/ … issues/208
All I need to do are 2 steps:
cd /lib/systemd/system/system-update.target.wants
ln -s ../packagekit-offline-update.service packagekit-offline-update.service
He said that I could do it with this command:
systemctl enable packagekit-offline-update.service
However, it doesn't work. Is it intentionally removed by Arch?
At least Gnome Software can work as expected.
Last edited by laichiaheng (2021-11-11 09:41:08)
Offline
$ pkgfile packagekit-offline-update.service
community/packagekit
$
The service does exist, additonal configuration may be needed.
Maybe you could start a new thread, laichiaheng ?
Add the output of pacman -Qi packagekit and a full journal log to it.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
He's crossposing, https://bbs.archlinux.org/viewtopic.php … 2#p2002612
The service isn't installable (for whatever reason)
Online