Package openvino is installed over and over again

Paru (and Yay) have wanted to install openvino again and again for some time now.

$ paru -Syyu
:: Synchronizing package databases...
 endeavouros
 core
 extra
 community
 multilib
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
1 devel/openvino  2024.1.0-3 -> latest-commit
:: Packages to exclude (eg: 1 2 3, 1-3):
::^C
$ paru -Qi openvino
Name            : openvino
Version         : 2024.1.0-3
[...]
$ paru -Si openvino
Repository      : aur
Name            : openvino
Version         : 2024.1.0-3
[...]

So, where does this “latest-commit” come from? And how do I get rid of it?

I have installed openvino as a dependency for ffmpeg-full and ffmpeg is working just fine. I have already posted the problem here.

Thanks for your help.

I’m not sure how your paru/yay are set up, but try rebuilding the package when either one asks if you would like to do so.

If they don’t ask, try:

yay -S openvino --rebuild

If this doesn’t work, you may have to try uninstalling and reinstalling openvino, though I know it is required by ffmpeg-full so it’s gonna be a little tricky. But essentially, you would need to uninstall then reinstall the package.

$ paru -S --rebuild --asdeps openvino                                                                                                                                                                                                                         :: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1)       Old Version  New Version    Make Only
aur/openvino  2024.1.0-3   2024.1.0-3     No

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: openvino 2024.1.0-3 (Thu May  9 20:41:59 2024)
==> Retrieving sources...
  -> Updating openvino git repo...
From https://github.com/openvinotoolkit/openvino
 - [deleted]                 (none)                -> refs/pull/24089/merge
 - [deleted]                 (none)                -> refs/pull/24232/merge
 - [deleted]                 (none)                -> refs/pull/24341/merge
 - [deleted]                 (none)                -> refs/pull/24362/merge
 - [deleted]                 (none)                -> refs/pull/24391/merge
 - [deleted]                 (none)                -> refs/pull/24400/merge
 - [deleted]                 (none)                -> refs/pull/24422/merge
 - [deleted]                 (none)                -> refs/pull/24428/merge
remote: Enumerating objects: 3058, done.
remote: Counting objects: 100% (3013/3013), done.
remote: Compressing objects: 100% (1920/1920), done.
remote: Total 3058 (delta 1958), reused 1734 (delta 1061), pack-reused 45
Receiving objects: 100% (3058/3058), 11.49 MiB | 11.58 MiB/s, done.
Resolving deltas: 100% (1970/1970), completed with 201 local objects.
   ae3f6a3815d..cf76c9deb8c  master                -> master
[...]
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
opt/intel/openvino/runtime/lib/intel64/libopenvino_intel_cpu_plugin.so
opt/intel/openvino/runtime/lib/intel64/libopenvino_intel_gpu_plugin.so
==> Creating package "openvino"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: openvino 2024.1.0-3 (Fri May 10 02:00:01 2024)
==> Cleaning up...
ffloading packages...
warning: openvino-2024.1.0-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change

openvino     2024.1.0-3   2024.1.0-3     0.00 MiB

Total Installed Size:  121.92 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                                                                                                  (1/1) checking package integrity                                                                                                                                                (1/1) loading package files                                                                                                                                                     (1/1) checking for file conflicts                                                                                                                                               :: Processing package changes...
(1/1) reinstalling openvino                                                                                                                                                     :: Running post-transaction hooks...
(1/1) Checking which packages need to be rebuilt
foreign openvino

openvino needs to be rebuilt after it is installed?

If this doesn’t work, you may have to try uninstalling and reinstalling openvino, though I know it is required by ffmpeg-full so it’s gonna be a little tricky. But essentially, you would need to uninstall then reinstall the package.

Well, uninstalling openvino is easy with paru -Rsdd openvino, but it didn’t help.

My paru configuration:

$ cat ~/.config/paru/paru.conf
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
SudoLoop
#UseAsk
#SaveChanges
CombinedUpgrade
CleanAfter
UpgradeMenu
#NewsOnUpgrade

#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache

#
# Binary OPTIONS
#
#[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
#Sudo = doas

But with yay before it was the same.

Sometimes packages give trouble and rebuilding them may fix the issue. Normally, you don’t need to rebuild them all the time, nor should you be seeing an update to the same version you already have installed.

My only guess is that the PKGBUILD has a change that wasn’t implemented correct and you’ll need to find it using paru/yay’s diff or by checking it on the AUR package a bit more manually. Once you find the issue, you can then edit the PKGBUILD and push the change.

Another option is to build the package from source rather than from the AUR.

Another option is to build the package from source rather than from the AUR.

I did that and indeed latest-commit is finally gone. Let’s see what happens with the next update of openvino.

Just in case anyone else has this problem, my solution:

$ paru -Rsdd openvino
$ git clone https://aur.archlinux.org/openvino.git
$ cd openvino
$ makepkg
$ paru -S --asdeps <all packages makepkg complains about>
$ makepkg
$ sudo pacman -U --asdeps openvino-2024.1.0-3-x86_64.pkg.tar.zst

So thanks for your support.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.