paru icon indicating copy to clipboard operation
paru copied to clipboard

Complaints about marked 'out of date' repo package – which is not installed

Open RubenKelevra opened this issue 2 years ago • 2 comments

Affected Version

paru v1.10.0 - libalpm v13.0.1

Description

If there's a package build (in with chroot on and placed in the local aur repository) paru complains about it beeing marked out of date in the (real) AUR while it's not even installed.

I feel that's kind of odd, as it doesn't affect the system.

Output

$ paru -Syu
no new news
:: Synchronizing package databases...
 core-x86-64-v3                                                                                                                        146.9 KiB  6.52 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 extra-x86-64-v3                                                                                                                      1485.9 KiB  42.7 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 community-x86-64-v3                                                                                                                     3.0 MiB  67.5 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 core                                                                                                                                  156.2 KiB  3.32 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 extra                                                                                                                                1702.0 KiB  11.2 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 community                                                                                                                               6.6 MiB  41.7 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 multilib                                                                                                                              173.9 KiB  21.2 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 endeavouros                                                                                                                            30.5 KiB  2.97 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 chaotic-aur                                                                                                                          1742.0 KiB  70.9 MiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 aur-chroot-builds is up to date
:: Looking for AUR upgrades
:: Looking for devel upgrades
5 core/hwdata                  0.358-1  -> 0.359-1
4 community/smokeping          2.8.2-1  -> 2.8.2-2
3 endeavouros/eos-bash-shared  1.15-2   -> 1.15-3
2 endeavouros/paru             1.10.0-1 -> 1.10.0-1.1
1 endeavouros/yad-eos          12.0-1.1 -> 12.0-1.2
:: Packages to exclude (eg: 1 2 3, 1-3):
:: 
:: marked out of date: slack-wayland
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: yad-eos and yad are in conflict. Remove yad? [y/N] ^C
Interrupt signal received

$ paru -Rs slack-wayland
error: target not found: slack-wayland
$ paru -Qs slack
local/ripcord-arch-libs 0.4.29-1
    Qt-based Discord and Slack client. Modified to run on system libraries for Wayland support.
$ paru -Ld slack-wayland
==> Extracting aur-chroot-builds.db.tar.gz to a temporary location...
==> Extracting aur-chroot-builds.files.tar.gz to a temporary location...
==> Searching for package 'slack-wayland'...
  -> Removing existing entry 'slack-wayland-4.25.0-1'...
==> Creating updated database file '/var/lib/paru/aur_chroot/aur-chroot-builds.db.tar.gz'
:: syncing local databases...
  syncing aur-chroot-builds.db...
  syncing aur-chroot-builds.db.sig...
  failed to sync aur-chroot-builds.db.sig

Config-Files

Paru.conf

=> paru uses system-config file: /etc/paru.conf
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
BottomUp
RemoveMake
SudoLoop
CombinedUpgrade
CleanAfter
UpgradeMenu
NewsOnUpgrade
SkipReview
BatchInstall
LocalRepo
Chroot = /var/lib/paru/aur_chroot
[bin]
FileManager = nnn

Pacman.conf

[options]
HoldPkg     = pacman glibc
Architecture = auto
IgnorePkg = python2 mono jre libva-intel-driver jre11-openjdk jdk11-openjdk jre8-adoptopenjdk jdk8-adoptopenjdk jre11-openjdk-headless jre8-adoptopenjdk-headless nodejs-lts-gallium
NoExtract   = usr/lib/firefox/fonts/TwemojiMozilla.ttf
Color
ILoveCandy
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 2
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
[core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[extra-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[community-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist 
[aur-chroot-builds]
SigLevel = PackageOptional DatabaseOptional
Server = file:///var/lib/paru/aur_chroot

RubenKelevra avatar May 08 '22 15:05 RubenKelevra

I'n local repo context -Su updates the repo, so all the package, even the ones not installed are queried.

Morganamilo avatar May 15 '22 17:05 Morganamilo

I think I ran into an issue like this, but performing unneccesary builds rather than warning about an out-of-date package that was not installed. In both cases, the defect is that paru seems to be tracking aur packages even after they are uninstalled.

I also had the LocalRepo option enabled, and deleting the local repo directory and starting fresh caused the issue to go away.

eaglgenes101 avatar Jun 19 '22 15:06 eaglgenes101

seems to be tracking aur packages even after they are uninstalled.

In this context, paru tracks your local repo not your installed aur packages. If you're no longer in keeping the packages then remove them from the repo.

Morganamilo avatar Nov 12 '22 16:11 Morganamilo