You are not logged in.
when trying to install a package from extra i get "not found in sync db"
foolishly, after getting message abt corrupt package, i removed the database
entry instead of the package file.
so rather than wait for extra to become updated i'd like to refresh from the
old one
Thanks
Offline
man pacman
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
no answer there - pacman doesnt provide a way to force package database synchronization if it thinks your local version is up to date. (mine was missing an entry)
In any case the question is moot since extra has since been updated and my immediate problem is solved.
Offline
You can always clean your entire cache with <code>pacman -Scc</code> and then try to download what was missing.
Offline
pacman -Sy
?
Offline
I just put together this, seems to work:
#!/bin/bash
[ $# != 1 ] && echo -e \n Wrong amount of arguments! \n I need the name of a pacman-respiratory \n && exit 1
[ ! -e /var/lib/pacman/$1 ] && echo That respiratory doesn't exist! && exit 1
echo 18000101010101 > /var/lib/pacman/$1/.lastupdate
Run the script with one argument: the name of the repo you want to update.
It will trick pacman into beliving that last time it synced the repo was in year 1800
You have to run pacman -Sy after running the script.
Offline
Or just go into /var/lib/pacman and remove the dir that has the name of the repo you want to refresh. Just do not for any reason delete the "local" directory, or you will be screwed!
Offline