Re: Check for update in script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11.09.14 at 19:01, Yamakaky wrote:
> Hi
> 
> 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 :
> https://github.com/XavierBerger/RPi-Monitor/pull/57#issuecomment-55248969
> 
> Yamakaky

pacman provides a `checkupdates` script, see /usr/bin/checkupdates for how it
works.

--
jlk

Attachment: pgpngcQ9xCopR.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux