Skip to content

Releases

v1.4.0

Choose a tag to compare

@Kernel236 Kernel236 released this 18 May 02:19
9c11fe9

lazypacman simple TUI

v1.3.0

Choose a tag to compare

@Kernel236 Kernel236 released this 17 May 18:42

V1.3.0 - 2026-05-17

Added

check-updates: list all pending updates with old->new versions, major version bumps highlighted in bold red, and a summary
count line. Uses checkupdates from pacman-contrib; falls back to $PKG -Qu against the local sync database if not found at runtime.

downgrade : list cached versions of a package from /var/cache/pacman/pkg/, prompt for selection, and install the chosen version via sudo pacman -U. After a successful install, prompts whether to add the package to IgnorePkg. Only one package at a time.

ignore <pkg...>: add one or more packages to IgnorePkg in /etc/pacman.conf to prevent them from being upgraded. Creates the entry if absent.

unignore <pkg...>: remove one or more packages from IgnorePkg in /etc/pacman.conf to allow upgrades again.

Changed

Script fully modularized into lib/: packages.sh, cache.sh, query.sh, logs.sh, config.sh, help.sh. lazypac is now a thin dispatcher that sources these modules and routes commands.

pacman-contrib promoted from optional to required dependency; installs automatically with the package.

Fixed

ignore and unignore previously silently dropped all arguments after the first; both now iterate over all provided package names.

downgrade with multiple arguments now exits with a clear error instead of silently ignoring extras.

ignore/unignore: sudo sed -i failure (read-only filesystem, permission error) now reported explicitly instead of printing false success.

check-updates: checkupdates exit code 1 (tool error) is now distinguished from exit code 2 (no updates); real errors are reported and exit 1 instead of printing "All packages are up to date."

orphans and remove-orphans: removed 2>/dev/null suppression so real errors from the package manager (db lock, corruption) are visible to the user.

safe-upgrade: temp snapshot files in /tmp were not cleaned up on normal completion due to local variable scoping with trap EXIT; explicit cleanup added at end of function.

v1.2.0

Choose a tag to compare

@Kernel236 Kernel236 released this 17 May 00:46

Added

  • cache-size: shows total size and file count of /var/cache/pacman/pkg/
  • cache-clean-old: removes cached packages that are no longer installed (paccache -ruk0, requires pacman-contrib)

Changed

  • clean renamed to cache-clean for consistency with the new cache command group
  • clean-all renamed to cache-clean-all
  • cache-clean and cache-clean-all now call sudo pacman directly instead of the AUR helper, fixing a bug where yay/paru could not write to /var/cache/pacman/pkg/ without privilege escalation
  • update now asks for confirmation before running -Sy, with a warning about partial upgrade state
  • safe-upgrade aborts with an error if the pre-upgrade snapshot fails

v1.1.0

Choose a tag to compare

@Kernel236 Kernel236 released this 16 May 08:00

Pacman is now a supported fallback, lazypac works without yay or paru. Detection order: yay > paru > pacman. Write operations (install, remove, upgrade, clean) run with sudo automatically when falling back to plain pacman.

What changed:

pacman fallback, no longer requires an AUR helper to run
Missing argument guards on install, remove, purge, search, info, deps - usage hint instead of passing empty args to the underlying tool
deps checks for pactree before calling it and prints a clear error if missing
orphans prints "No orphan packages." instead of exiting silently with code 1

v1.0.0

Choose a tag to compare

@Kernel236 Kernel236 released this 16 May 06:44

First release.

lazypac is a bash wrapper that maps short commands to pacman/yay/paru flags.
No config, no database, no state — every command shows exactly what runs underneath.
Picks up yay or paru automatically at startup.

What's included

  • Package management: install, remove, purge, update, upgrade
  • Safe upgrade with before/after version diff logged to ~/.local/share/lazypac/
  • Pacnew/pacsave detection after upgrades, with a hint to run sudo pacdiff
  • Orphan management, cache cleanup, dependency tree via pactree
  • Man page (lazypac.1)
  • PKGBUILD ready for AUR submission (sha256sums to be updated after this release)