]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
core141: manually delete pakfire lists
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 27 Jan 2020 17:56:51 +0000 (17:56 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 27 Jan 2020 17:56:51 +0000 (17:56 +0000)
pakfire update --force
fail sometimes fail and use the old version of the serverlist
and get the old addon list. With removed list it cannot
use the wrong addonlist after update to IPFire 2.25.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/141/update.sh

index f249152f1f2ea74633812d56cfd97b7709246441..d990b44b71c689f064fbe8277ecb557076e3a65d 100644 (file)
@@ -83,8 +83,8 @@ telinit u
 # This update needs a reboot...
 touch /var/run/need_reboot
 
-# Force update the package lists
-/usr/local/bin/pakfire update --force
+# Force pakfire to redownload lists
+rm -f /opt/pakfire/db/lists/*.db
 
 # Let pakfire forget the elinks and python3 package
 rm -fv /opt/pakfire/db/rootfiles/elinks