An update tip

I don’t know if this is a good tip or a terrible tip but I think it works well. I update every day. This morning, update error about dependencies. Tried lots of things, no go. However, Discover lists the available updates as well and I was able to update most of the Apps one-by-one until I was left with the three Apps which caused the dependency error. Ignoring these in pacman.conf allowed the update to progress as usual.
I’m suggestion this because it sometimes is not easy to single out the App update which breaks something else, doing it this way allows individual update until you single out the problem one.
Then go to the developers for more specific help.

Lastly, I’ve been testing other distros to see what I’m missing (Nothing it seems!) but some of the other distros, CachyOS for example, give a restart warning after a system update. Do we think this is something we could have in Garuda?

Even in Win11 you wouldn’t do this (they have insider updates but they still break stuff in their main OS), that have to break something, personally i update 1 time a week at most for all my devices .

Sadly, its the highlight of my day…

1 Like

They don’t officially support partial updates and only recommend garuda-update.

Not sure why you have dependency errors, since within Garuda pacman repositories, there are rarely dependency issues. Outside sources can cause dependency issues. I have had one AUR package introduce dependency issue, and I am not sure if I might have cause that issue.

Ignoring packages is fine… You can use downgrade as well, or just uninstall non essential packages.

Well, Garuda update wouldn’t work, this way did it and ignoring the problem packages allowed Garuda update to fully complete so no partial updates.

1 Like

I am quite happy with how pacman functions and I use aliases like pi to install packages.

I would not mind using a “nala” like frontend for pacman.

I am probably too paranoid to use Discovery for packages :rofl: but whatever works m8. The end result matters.

It’s a partial update as you have ignored packages.

1 Like

Well, Garuda continues to work, if I allow it to update the three ignored apps, Howdy, my facial recognition software, fails to work and I use this multiple times a day so it is a great inconvenience. It is definitely Howdy’s issue but there seems no appetite for a fix.
The joys of using a rolling release.

I don’t disagree. I can shoot out my tires and put saand in my oil and the car will still drive. Probably pretty badly and no one would say that’s a good way to maintain a vehicle.

I’m just saying your tip is to create a partial update, which is neither recommended nor supported by any Arch or Arch based distro I’m aware of. Unless I’m wrong on that and they do here (that doesn’t sound like the folks I know though). . .

2 Likes

Well, I thought I was helping, maybe someone in a similar position, clearly that help was misplaced, it won’t happen again.

Amen, brother. Say it! :slight_smile:

3 Likes

Instead of slagging me off, what about some constructive help in fixing my dependency issues?

On updating daily, (or multiple times per day). While some would say this is excessive and not strictly required, there is one major benefit. Updating daily results in a far smaller number of packages that require updating. The less the number of packages updated at one time, the easier it is to determine exactly which individual package update has introduced a bug or regression. If you wait a longer time between updates, you will likely have hundreds of packages updated in your Pacman log. Finding the exact package that introduced a bug is far more difficult when you have hundreds of potential culprits, rather than a handful of packages to troubleshoot.

Partial updates are not supported on any Arch based system. The more critical the package, the more likely it is to cause problems if the updates are held back. It is always best to try avoid freezing any package update when a conflict occurs. My default is to always try to uninstall any package causing conflicts rather than holding a package at an outdated version. This is not always possible to do with very important packages with a lot of dependencies. In some cases an alternate package can be installed that performs the same function that doesn’t cause problems. The least recommended way to deal with package conflicts is by holding at an older package version.

4 Likes

Thanks tbg. The three packages which are held are -

IgnorePkg   = ffmpeg libplacebo mpv

Attempts at uninstalling, reinstalling, or updating fail in a big way so, unless you have a magical way of fixing it, my system remains the same, working, even if I am flying by the seat of my pants.

No problems on my PC’s

LANG=C pacman -Qi ffmpeg libplacebo mpv
Name            : ffmpeg
Version         : 2:7.0.1-2
Description     : Complete solution to record, convert and stream audio and video
Architecture    : x86_64
URL             : https://ffmpeg.org
Licenses        : GPL-3.0-only
Groups          : None
Provides        : libavcodec.so=61-64  libavdevice.so=61-64  libavfilter.so=10-64  libavformat.so=61-64  libavutil.so=59-64
                  libpostproc.so=58-64  libswresample.so=5-64  libswscale.so=8-64
Depends On      : alsa-lib  aom  bzip2  cairo  dav1d  fontconfig  freetype2  fribidi  glib2  glibc  gmp  gsm  harfbuzz  jack
                  lame  libass  libavc1394  libbluray  libbs2b  libdrm  libdvdnav  libdvdread  libgl  libiec61883  libjxl
                  libmodplug  libopenmpt  libplacebo  libpulse  libraw1394  librsvg  libsoxr  libssh  libtheora  libva  libvdpau
                  libvorbis  libvpx  libwebp  libx11  libxcb  libxext  libxml2  libxv  mbedtls2  ocl-icd  onevpl  opencore-amr
                  openjpeg2  opus  rav1e  rubberband  sdl2  snappy  speex  srt  svt-av1  v4l-utils  vapoursynth  vid.stab  vmaf
                  vulkan-icd-loader  x264  x265  xvidcore  xz  zimg  zlib  libass.so=9-64  libbluray.so=2-64  libbs2b.so=0-64
                  libdav1d.so=7-64  libfreetype.so=6-64  libharfbuzz.so=0-64  libjxl.so=0.10-64  libopenmpt.so=0-64
                  libplacebo.so=349-64  librav1e.so=0.7-64  librsvg-2.so=2-64  librubberband.so=2-64  libva.so=2-64
                  libva-drm.so=2-64  libva-x11.so=2-64  libvidstab.so=1.2-64  libvorbisenc.so=2-64  libvorbis.so=0-64
                  libvpx.so=9-64  libx264.so=164-64  libx265.so=209-64  libxvidcore.so=4-64  libzimg.so=2-64
Optional Deps   : avisynthplus: AviSynthPlus support
                  frei0r-plugins: Frei0r video effects support
                  intel-media-sdk: Intel QuickSync support (legacy)
                  ladspa: LADSPA filters
                  nvidia-utils: Nvidia NVDEC/NVENC support
                  onevpl-intel-gpu: Intel QuickSync support
Required By     : blender  chromaprint  ffmpegthumbnailer  firedragon  floorp  gst-libav  kfilemetadata  kfilemetadata5  krita
                  librewolf  mpv  opencv  peek  qt6-multimedia-ffmpeg  telegram-desktop  thunderbird
Optional For    : gallery-dl  gegl  libde265  libheif  mlt  yt-dlp-git
Conflicts With  : None
Replaces        : None
Installed Size  : 38,97 MiB
Packager        : Robin Candau <antiz@archlinux.org>
Build Date      : Mi 03 Jul 2024 07:49:14 CEST
Install Date    : So 07 Jul 2024 15:09:38 CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Name            : libplacebo
Version         : 7.349.0-1
Description     : Reusable library for GPU-accelerated video/image rendering primitives
Architecture    : x86_64
URL             : https://github.com/haasn/libplacebo
Licenses        : LGPL-2.1-or-later
Groups          : None
Provides        : libplacebo.so=349-64
Depends On      : vulkan-icd-loader  glslang  lcms2  shaderc  glibc  gcc-libs  libunwind  libdovi  xxhash  libdovi.so=3-64
                  liblcms2.so=2-64  libshaderc_shared.so=1-64  libvulkan.so=1-64
Optional Deps   : None
Required By     : ffmpeg  mpv
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1547,67 KiB
Packager        : Robin Candau <antiz@archlinux.org>
Build Date      : Di 02 Jul 2024 19:08:04 CEST
Install Date    : So 07 Jul 2024 15:09:37 CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Name            : mpv
Version         : 1:0.38.0-6
Description     : a free, open source, and cross-platform media player
Architecture    : x86_64
URL             : https://mpv.io/
Licenses        : GPL-2.0-or-later AND LGPL-2.1-or-later
Groups          : None
Provides        : libmpv.so=2-64
Depends On      : alsa-lib  libasound.so=2-64  desktop-file-utils  ffmpeg  libavcodec.so=61-64  libavdevice.so=61-64
                  libavfilter.so=10-64  libavformat.so=61-64  libavutil.so=59-64  libswresample.so=5-64  libswscale.so=8-64
                  glibc  hicolor-icon-theme  jack  libjack.so=0-64  lcms2  liblcms2.so=2-64  libarchive  libarchive.so=13-64
                  libass  libass.so=9-64  libbluray  libbluray.so=2-64  libcdio  libcdio-paranoia  libdrm  libdvdnav  libdvdread
                  libegl  libgl  libglvnd  libjpeg  libjpeg.so=8-64  libplacebo  libplacebo.so=349-64  libpulse  libpulse.so=0-64
                  libsixel  libva  libva.so=2-64  libva-drm.so=2-64  libva-wayland.so=2-64  libva-x11.so=2-64  libvdpau  libx11
                  libxext  libxkbcommon  libxkbcommon.so=0-64  libxpresent  libxrandr  libxss  libxv  luajit  mesa  mujs
                  libpipewire  rubberband  librubberband.so=2-64  openal  uchardet  vapoursynth  vulkan-icd-loader  wayland  zlib
Optional Deps   : yt-dlp: for video-sharing websites playback [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 5,51 MiB
Packager        : Robin Candau <antiz@archlinux.org>
Build Date      : Mi 03 Jul 2024 07:59:22 CEST
Install Date    : So 07 Jul 2024 15:09:48 CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Well, that’s good for you then.
I don’t suppose you use Howdy Facial Recognition which is where the problem lies.

So, in an effort to resolve this do you have any suggestions to clear these errors -

: ffmpeg is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] y
resolving dependencies...
warning: ignoring package libplacebo-7.349.0-1
looking for conflicting packages...
:: libplacebo-git-7.349.0.3572.g1fd3c7bd-1 and libplacebo-6.338.2-7 are in conflict. Remove libplacebo? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libplacebo breaks dependency 'libplacebo.so=338-64' required by ffmpeg6.1
:: removing libplacebo breaks dependency 'libplacebo.so=338-64' required by mpv

Any help would be appreciated.

Try installing them all together and see how it goes.

sudo pacman -S ffmpeg libplacebo mpv
2 Likes

Do you need the -git version?

I would also remove those other pkgs from the IgnorePkg & reboot before/after attempting to update.

Also, you are the sole person responsible for your predicament, not anyone else. The “fix” is don’t do it. If you didn’t know about partial updates and the problems they can cause with major components–like ffmpeg–you do now.

F. Scott Fitzgerald said something about learning this way…rocky shore… :wink:

3 Likes

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