Skip to content

tfrisk/aur-pkg-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AUR package checker

A command line tool for checking local packages installed from AUR (Arch User Repository).

Requirements

  • Arch Linux
  • Ruby programming language runtime

Usage

The script checks your local installed packages (with pacman -Qm) and then performs a check againts the latest versions in AUR (https://aur.archlinux.org/). The version comparison is done with vercmp which guarantees compatibility with pacman.

Example:

$ ruby aur-pkg-checker.rb
Current time is 2015-02-11 11:49:07 +0200
Checking package versions
libudev.so.0: 0.1.1-2 => OK
lighttable: 0.7.2-1 => OK
sublime-text: 2.0.2-1 => new version available: 2.0.2-4

In this example the user has 3 installed packages. Two of these packages are up-to-date, and one has a newer version available.

The script can be run with regular user privileges.

By default the script will download updated packages to a build directory where the script is ran. Automatic download can be disabled with '-c' command line option.

TODO

  • Log actions
  • Ignored package list (don't want to update certain packages)
  • Install new packages

Copyright (C) 2015 Teemu Frisk Distributed under MIT License

About

Arch Linux user repository version checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages