732 available updates cannot update system

This happens to me every year and I can’t figure out how to resolve this.
I tried updating my system after I noticed that my video player was lagging and now My firefox doesn’t even work so it’s hard for me to search this forum.
Can someone help me and also explain in plain english why this keeps happening?

It just keeps saying failed to prepare transaction
Could not satisfy dependencies:
-unable to satisfy dependency ‘ocaml’ required…
-unable to satisfy dependency 'ocaml>=4.08.0…

Seems like you have unsupported packages installed, creating a dependency problem.

But without the real output we cant really know.

Maybe you could share with something like

sudo pacman -Syu > pacoutput.txt
curl -F'file=@pacoutput.txt' https://0x0.st

Which will send the file to the 0x0 pastebin, and provide you with the link.
Share the link here.

System info can be retrieved by

inxi -Farz

And similarly sent to 0x0 with

inxi -Farz | curl -F 'file=@-' https://0x0.st

I will also include a guide with tips like how to format code…

Stable release information are here in this Forum:

Refresh your mirror’s with:
sudo pacman-mirrors --fasttrack

Post your system:
inxi --admin --verbosity=5 --filter --no-host --width

Output:
https://0x0.st/ov5t.txt

System info:
https://0x0.st/XHUV.txt

Also, I used Instagrams Meta AI to help me and it reduced the updates from 732 to 41. It told me to try cleaning the package cache using:

sudo pacman -Scc

After that I was able to update the system. It looks like all of the Manjaro packages are up to date but there are 41 AUR packages that I can’t update.

Not with pacman - use pamac or another AUR helper.
Or even makepkg.
Make sure you still actually need these packages before you do.

Maybe by keeping your system up to date, instead of updating only once a year? :man_shrugging:

Manjaro is a curated rolling-release distribution and must be kept up to date. Every bundled update — whether you’re on the Stable branch or on the Testing branch — comes with a dedicated thread under the Announcements category.

It is imperative that you look at these threads. The first post of the thread will detail the important changes, and the second post will detail any potential problems and how to solve them.

Furthermore, by default, you have an update notifier icon in the system tray of your desktop environment. It will warn you by flashing red whenever there are updates — whether it’s a bundled update or only a single package.

If you cannot commit yourself to keeping your system up to date because of whatever reason — bandwidth limitations or whatever — then Manjaro is not the right distribution for you, and then you will be better off with a point-release distribution like Mint, Fedora, Debian, Mageia, or any of the hundreds if not thousands of others. :point_down:

Lastly, if there are that many updates, then the safest way to update the system is by completely logging out of your graphical environment, logging into a tty, and running the update process from there, using pacman first — in order to update the official system packages first — and then pamac or an AUR helper afterwards for the rest. :point_down:

1 Like

I can’t do that because every time I attempt an update it fails.

I looked at it on my phone and I didn’t understand it.

Yes, I can see that that’s how I knew that I had 732 updates. But, like I said even when I have 41 like I have right now I can’t update it and I don’t want to drop everything I’m doing to troubleshoot it at the time so it piles up.

I’ll consider that. I didn’t know about the difference between a rolling release and a point-release distribution. My only problem is that I don’t know how to safely migrate my files to another distribution.

I’m sorry to ask a dumb question but how am I supposed to know whether or not I’ll need those packages?

This is the output that I get when I try to update those AUR packages with pamac:
https://0x0.st/XHUG.txt

Unsupported packages.
Whether these are deprecated (dead, no longer in use by anyone, etc), AUR packages that need to be managed by you, or anything else, again depends on the packages themselves and what you need.

Arguably you should not have any of them.

They are outside of the repositories.

It is up to you to manage them.

If you are a ‘casual’ user on Stable branch that is unfamiliar with any of these things … then it is all the more reason for you to consider unsupported packages as exactly that.

If you intend to extend your package offerings by using the Arch User Repository then it is your responsibility to understand it and maintain the associated packages appropriately.

1 Like
System:
  Kernel: 6.5.13-7-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=3f348ebf-0d20-420f-a8ba-3d2127f19052 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Framework product: Laptop v: AA
    serial: <superuser required>
  Mobo: Framework model: FRANBMCP0A v: AA serial: <superuser required>
    part-nu: FRANBMCP0A uuid: <superuser required> UEFI: INSYDE v: 03.06
    date: 10/18/2021
Battery:
  ID-1: BAT1 charge: 46.6 Wh (100.0%) condition: 46.6/55.0 Wh (84.7%)
    volts: 17.3 min: 15.4 model: NVT Framewo type: Li-ion serial: <filter>
    status: not charging
Memory:
  System RAM: total: 32 GiB available: 31.14 GiB used: 8.85 GiB (28.4%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 1 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: no module installed
  Device-2: Controller1-ChannelA-DIMM0 type: DDR4 detail: synchronous
    size: 32 GiB speed: 3200 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: Crucial Technology part-no: CT32G4SFD832A.C16FB
    serial: <filter>
CPU:
  Info: model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xB4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 1029 high: 3391 min/max: 400/4200 scaling:
    driver: intel_pstate governor: performance cores: 1: 400 2: 400 3: 2447
    4: 400 5: 400 6: 400 7: 3391 8: 400 bogomips: 38720
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Framework
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Realtek Laptop Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:2 chip-ID: 0bda:5634
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.6
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2256x1504 s-dpi: 96 s-size: 596x397mm (23.46x15.63")
    s-diag: 716mm (28.19")
  Monitor-1: eDP-1 model: BOE Display 0x095f built: 2019 res: 2256x1504
    hz: 60 dpi: 201 gamma: 1.2 size: 285x190mm (11.22x7.48") diag: 343mm (13.5")
    ratio: 3:2 modes: 2256x1504
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.2-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
    device-ID: 8086:9a49 memory: 30.41 GiB unified: yes
  API: Vulkan v: 1.3.279 layers: 4 device: 0 type: integrated-gpu name: Intel
    Xe Graphics (TGL GT2) driver: mesa intel v: 24.0.2-manjaro1.1
    device-ID: 8086:9a49 surfaces: xcb,xlib
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Framework
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
  API: ALSA v: k6.5.13-7-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.3 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 17.0 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl
Network:
  Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: aa:00.0
    chip-ID: 8086:2725 class-ID: 0280
  IF: wlp170s0 state: up mac: <filter>
  Info: services: mld, NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0032
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
  Local Storage: total: 1.82 TiB used: 383.6 GiB (20.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T3X0C-00SJG0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 111130WD temp: 43.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 model: USB DISK 3.2 size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 10 Gb/s
    lanes: 1 mode: 3.2 gen-2x1 tech: N/A serial: <filter> fw-rev: PMAP
    scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%)
    used: 113.86 GiB (12.4%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 3f348ebf-0d20-420f-a8ba-3d2127f19052
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 8CB8-D000
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 289 Power: uptime: 3d 9h 37m states: freeze,mem,disk
    suspend: s2idle avail: deep wakeups: 9 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 12.45 GiB
    services: org_kde_powerdevil,upowerd Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1877 libs: 456 tools: pamac pm: flatpak pkgs: 0
    Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9 default: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.34

I don’t know enough to know whether I should delete them or not.
Based on what you said it sounds like I should just be able to delete all of them then.

If you want to share here … you can copy the errors you receive.
Or just to print all ‘foreign’ packages;

pacman -Qmq

auto-cpufreq
bisq
camlidl
cppo
cython2
electron16
electron19
gapi-ocaml
garminplugin
garmintools
gnome-icon-theme
gnome-icon-theme-symbolic
google-chrome
google-docs-bin
js78
komikku
lib32-faudio
libglade
libpdfium-nojs
libsidplay
libunarr
linux65
manjaro-documentation-en
manjaro-firmware
normcap
noto-fonts-compat
ocaml-biniou
ocaml-compiler-libs-repackaged
ocaml-cryptokit
ocaml-curl
ocaml-easy-format
ocaml-extlib
ocaml-luv
ocaml-lwt
ocaml-mmap
ocaml-ocplib-endian
ocaml-ounit
ocaml-pcre
ocaml-ppx_here
ocaml-ppx_let
ocaml-ppxlib
ocaml-react
ocaml-seq
ocaml-sqlite3
ocaml-xmlm
ocaml-yojson
ocamlfuse
ocamlnet
parsec-bin
pygtk
python-cloudscraper
python-convertdate
python-dateparser
python-hijri-converter
python-jarowinkler
python-pep517
python-progress
python-pure-protobuf
python-pytz-deprecation-shim
python-rapidfuzz-capi
python-rarfile
python-tesserocr
python2
python2-cairo
python2-gobject2
python2-numpy
python2-setuptools
syncthing-appmenu
systemd-fsck-silent
tachidesk
tesseract-data-best-jpn_vert-git
tesseract-gui
transcode
ttf-ms-fonts
webkit2gtk-5.0
yacreader
zoom

OK … First I will point out all of the ones that are super-aliens. Ones that dont exist even in the AUR.

Those should definitely be gone.

(also note I didnt go through every ocaml and python package)

The rest are also not system critical components.

Only you know if you need them … but I kinda doubt you need multiple old versions of electron, for example.

EDIT.
Oh, I hadnt realized you were also running on 6.5.
It is long EOL (end of life, dead, gone).
In that case … please install and boot into a supported kernel before removing 6.5.

Also, your system is probably out-of-date as the Community repo was merged into the Extra repo almost a year ago. It looks like you have not been maintaining your pacnew/pacsave files, and failure to maintain pacnew files will eventually result in a broken system. This post from another topic should be heeded:

Please note that to run pacdiff you may need to install the pacman-contrib package, as it was split from the pacman package several months ago.

Your Kernel is heavily long EOL ufff, you know that Manjaro is a rolling release?

You need to update your system regulary. Atleast use a LTS Kernel like 6.6

I removed all of those files except for:
lib32-faudio
libglade
libpdfium-nojs
libunarr
gapi-ocaml
ocaml-biniou
ocaml-compiler-libs-repackaged
ocaml-cryptokit
ocaml-curl
ocaml-easy-format
ocaml-extlib
ocaml-luv
ocaml-lwt
ocaml-mmap
ocaml-ocplib-endian
ocaml-ounit
ocaml-pcre
ocaml-ppx_here
ocaml-ppx_let
ocaml-ppxlib
ocaml-react
ocaml-seq
ocaml-sqlite3
ocaml-xmlm
ocaml-yojson
ocamlfuse
ocamlnet
python2

I can’t remove these for some reason

I assume all the ocamls are related.

Lets start with python2.
Why is it not allowed to be removed?

This is usually the command I would use to uninstall a package, its ‘save’ files, and any packages related to it not required by anything else;

sudo pacman -Rns python2

I will also mention pactree so you can see things, ex;

pactree -r python2

Should show everything that requires python2.

sudo pacman -Rns python2

checking dependencies…
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python2 breaks dependency ‘python2’ required by python2-cairo
:: removing python2 breaks dependency ‘python2’ required by python2-gobject2
:: removing python2 breaks dependency ‘python2’ required by python2-numpy
:: removing python2 breaks dependency ‘python2’ required by python2-setuptools

pactree -r python2
zsh: command not found: pactree

Something like expected.

Its packages relying on python2.

Though somewhat unexpected because they were not listed, while certainly being foreign.

(edit: oh they were on the original list, just not the revised one ‘after removing some’)

So in this scenario I would check those packages - if you dont need them - then continue by adding them to the removal string;

sudo pacman -Rns python2-cairo python2-gobject2 python2-numpy python2-setuptools python2

Some pacman utilities were split out into their own package;

sudo pacman -Syu pacman-contrib

Which also reminds me of another point of management - pacnews.
To print them all you can use

pacdiff -o

But we will come back to that after the packages are handled. :wink: