[arch-general] Check for update in script
savya.jha91 at gmail.com
Thu Sep 11 13:10:11 EDT 2014
On Thu, Sep 11, 2014 at 10:31 PM, Yamakaky <yamakaky at yamaworld.fr> wrote:
> I can't find a good way to check for available upgrades without touching
> the database, as running `pacman -Sy` without `u` isn't supported. Any idea
> ? Maybe a new pacman switch like "--upstreamdbpath" to toggle change the
> location of sync/ without touching local/ ?
> Why I need it :
It can certainly be done. You can always do a "pacman -Su" later, if you
want. In your use case, you can probably specify an alternative db path
using the --dbpath switch in pacman.
In this case, I believe RTFM is an appropiate response. :)
Hope it helps.
*"Aerodynamics is for people whodon't know how to build engines."*
More information about the arch-general