Can't install or update any aplication / software

Hey there, noob here!
so I was / am a windows user but recently decided to give linux a try. So, I've been using Linux Mint XFCE for a while on dual boot. Yesterday I installed Manjaro XFCE and there are some issus.
Whenever I try to install or update a softwar/ package it thows this error:

could not satisfy dependencies:
unable to satisfy dependency 'presentproto' required by libxpresent
installing xorgproto (2019.2-2.0) breaks dependency 'xf86miscproto' required by libxxf86misc

I've searched for it and got similar problems and I don't get their solution. So please help this noob get through this.

Here's my system info:

System:    Host: mahdi-pc Kernel: 4.14.109-1-MANJARO i686 bits: 32 compiler: gcc v: 8.2.1 
           Desktop: N/A Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: N/A model: N/A serial: <root required> BIOS: Phoenix v: 6.00 PG 
           date: 01/21/2015 
CPU:       Topology: Dual Core model: Pentium E5300 bits: 64 type: MCP arch: Penryn rev: A 
           L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 10379 
           Speed: 2594 MHz min/max: 1200/2600 MHz Core speeds (MHz): 1: 2594 2: 2594 
Graphics:  Device-1: Intel 82G33/G31 Express Integrated Graphics driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.org 1.20.3 driver: intel unloaded: modesetting 
           resolution: <xdpyinfo missing> 
           OpenGL: renderer: Mesa DRI Intel G33 x86/MMX/SSE2 v: 1.4 Mesa 19.0.0 
           direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.14.109-1-MANJARO 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 v: 2.3LK-NAPI 
           port: ee00 bus ID: 02:00.0 
           IF: enp2s0 state: down mac: 00:e0:4c:7b:03:f7 
           IF-ID-1: enp0s29f7u6 state: unknown speed: N/A duplex: N/A mac: 66:58:b5:d0:44:92 
Drives:    Local Storage: total: 931.51 GiB used: 3.79 GiB (0.4%) 
           ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB 
Partition: ID-1: / size: 47.81 GiB used: 3.79 GiB (7.9%) fs: ext4 dev: /dev/sda8 
Sensors:   System Temperatures: cpu: 87.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 127 Uptime: 24m Memory: 991.7 MiB used: 637.6 MiB (64.3%) Init: systemd 
           Compilers: gcc: 8.2.1 Shell: bash v: 5.0.0 inxi: 3.0.32

Try removing libxxf86misc before updating. In a terminal:

sudo pacman -Rdd libxxf86misc

Hope this helps!

Packages has been dropped upstream.

You need to remove the offending packages.

sudo pacman -R xf86miscproto libxxf86misc libxpresent

now new error

could not satisfy dependencies:
unable to satisfy dependency 'presentproto' required by libxpresent

after running this got this,

sudo pacman -R xf86miscproto libxxf86misc libxpresent
error: target not found: xf86miscproto
error: target not found: libxxf86misc
error: target not found: libxpresent

however, after running,

sudo pacman -Rdd libxxf86misc

command executed successfully but now new error shows up,

could not satisfy dependencies:
unable to satisfy dependency 'presentproto' required by libxpresent

Repeat the above with the remaining package names

libxpresent
giving target not found error

And if you run a full system update now?

sudo pacman -Syu
sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...

Packages (3) archlinux-keyring-20200108-1.0  manjaro-keyring-20190608-1
             manjaro-system-20200118-1

Total Download Size:   0.85 MiB
Total Installed Size:  1.35 MiB
Net Upgrade Size:      0.27 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 archlinux-keyring-2...   868.3 KiB   613K/s 00:01 [######################] 100%
(3/3) checking keys in keyring                     [######################] 100%
(3/3) checking package integrity                   [######################] 100%
error: archlinux-keyring: signature from "Andreas Baumann (sign) <mail@andreasbaumann.cc>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20200108-1.0-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

:: Starting full system upgrade...
:: Replace ilmbase with extra/openexr? [Y/n] n
:: Replace pamac with extra/pamac-gtk? [Y/n] n
resolving dependencies...
looking for conflicting packages...
:: openexr and ilmbase are in conflict. Remove ilmbase? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'presentproto' required by libxpresent
:: installing pacman (5.2.1-4) breaks dependency 'pacman<5.2' required by pamac
[m4hd1bd@mahdi-pc ~]$ 


Clear you package cache

sudo pacman -Scc

And rerun update command

same error

Is your primary mirror up-to-date?

pacman-mirrors --status

Must be an OK for the first mirror in the list

1 Like

your command says:

pacman-mirrors --status
Version 4.14.0
USAGE:
 pacman-mirrors [-h] [-f [NUMBER]] [-i [-d]] [-m METHOD]
		[-c COUNTRY [COUNTRY...] | [--geoip]]
		[-l] [-lc] [-q] [-t SECONDS] [-v] [-n]
		[--api] [-S/-B BRANCH] [-p PREFIX]
			[-P PROTO [PROTO...]] [-R] [-U URL]
pacman-mirrors: error: unrecognized arguments: --status

but sudo pacman-mirrors -s returns all mirrors with maybe response time, got error on only few servers

This is a quite old installation.

sudo pacman-mirrors -f

Then

sudo pacman -Syyu

same libxpresent thing

I don't know.

If an attempt to remove the package results in a message that no such package exist - this is something I don't understand.

sudo pacman -R --dbonly presentproto libxpresent

Then remove pamac because pamac requires a never version of pacman.


You should really consider updating your system on regular intervals.

i just installed it last night, and got all of those updates

Anyway, what's the command for removing pamac?

it says error: target not found: presentproto error: target not found: libxpresent

sudo pacman -R pamac

But as I have no idea what version of pamac you are using it may be necessary to

sudo pacman -R pamac-gtk pamac-common pamac-cli

I didn't note this until now.

You are creating these problems because you have used a outdated installation media.

Never use old installation media - and this thread is an excellent demonstration as to why.

removed pamac with rdd

Forum kindly sponsored by