Skip to main content
Topic: Package A and package B are in conflict, but package B is not found (Read 399 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Package A and package B are in conflict, but package B is not found

I successfully update my keys:

Code: [Select]
$ sudo pacman-key --refresh-keys
$ sudo pacman -Sy artix-keyring

Then I try to update my system:

Code: [Select]
$ sudo pacman -Syu

The error message is:
Code: [Select]
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: kuserfeedback and kuserfeedback5 are in conflict

I then check the details of these conflicting packages:

Code: [Select]
$ sudo pacman -Qi kuserfeedback
Name            : kuserfeedback
Version         : 1.2.0-1
Description     : Framework for collecting user feedback for applications via telemetry and surveys
Architecture    : x86_64
URL             : https://kde.org/products/frameworks/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : qt5-base
Optional Deps   : qt5-declarative: QML bindings [installed]
                  qt5-charts: User Feedback console
                  qt5-svg: User Feedback console [installed]
Required By     : akregator  discover  dolphin  drkonqi  kaddressbook  kate  korganizer  labplot  pim-data-exporter  pim-sieve-editor
                  plasma-workspace
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.53 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Sat Feb 5 18:48:57 2022
Install Date    : Wed Jul 13 17:36:32 2022
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Code: [Select]
$ sudo pacman -Qi kuserfeedback5
error: package 'kuserfeedback5' was not found

- How can these two packages be in conflict if one of them does not exist on my system?
- How can I fix this issue?

-----------

I then did something I was suggested in the past:

Code: [Select]
$ sudo paccheck --list-broken
artix-branding-base
audit
filesystem
gitlab
gitlab-shell
gssproxy
$ sudo mv /etc/pacman.d/gnupg /etc/pacman.d/gnupg-original
$ sudo pacman-key --init
$ sudo pacman -Syyu
error: sublime-text: key "F57D4F59BD3DF454" is unknown
:: Import PGP key F57D4F59BD3DF454? [Y/n]  Y
error: sublime-text: signature from "Sublime HQ Pty Ltd <[email protected]>" is unknown trust
:: Synchronizing package databases...
 system                                                                                                                                266.0 KiB   649 KiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 world                                                                                                                                   5.0 MiB  4.67 MiB/s 00:01 [----------------------------------------------------------------------------------------------------] 100%
 galaxy                                                                                                                                618.7 KiB  1133 KiB/s 00:01 [----------------------------------------------------------------------------------------------------] 100%
 lib32                                                                                                                                 174.6 KiB   276 KiB/s 00:01 [----------------------------------------------------------------------------------------------------] 100%
 universe                                                                                                                                3.4 KiB  13.2 KiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 omniverse                                                                                                                               0.0   B  0.00   B/s 00:02 [----------------------------------------------------------------------------------------------------] 100%
 extra                                                                                                                                   8.4 MiB  6.18 MiB/s 00:01 [----------------------------------------------------------------------------------------------------] 100%
 community                                                                                                                              45.0   B   468   B/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 multilib                                                                                                                              142.2 KiB   822 KiB/s 00:00 [----------------------------------------------------------------------------------------------------] 100%
 sublime-text                                                                                                                         1841.0   B  3.55 KiB/s 00:01 [----------------------------------------------------------------------------------------------------] 100%
error: sublime-text: signature from "Sublime HQ Pty Ltd <[email protected]>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

So, before the error was: package 'kuserfeedback5' was not found
Now it seems to be related to sublime-text.

I am confused...

 

Re: Package A and package B are in conflict, but package B is not found

Reply #1
Find out what requires kuserfeedback5.
(Don't truncate the output you post so much)

Re: Package A and package B are in conflict, but package B is not found

Reply #2
Find out what requires kuserfeedback5.
(Don't truncate the output you post so much)

I included the whole output.
How can I find out what requires kuserfeedback5 if kuserfeedback5 is not in my system?

Re: Package A and package B are in conflict, but package B is not found

Reply #3
pactree -r kuserfeedback5  
pacman-contrib has pactree

Or
grep -r kuserfeedback5 /var/lib/pacman/local
Should give you an idea based on the directory names if you don't have pactree.

If it comes up blank except for /var/lib/pacman/local/kuserfeedback****
then run your pacman update with the --debug option
Something must want kuserfeedback5.

Re: Package A and package B are in conflict, but package B is not found

Reply #4
From either:

Code: [Select]
pactree -r kuserfeedback5  
grep -r kuserfeedback5 /var/lib/pacman/local

I get no result. I do from:

Code: [Select]
pactree -r kuserfeedback  
grep -r kuserfeedback /var/lib/pacman/local

From:
Code: [Select]
sudo pacman update --debug
I get plenty of logs. The most relevant seem to be:

Code: [Select]
...
debug: config: new section 'sublime-text'
debug: config: finished parsing /etc/pacman.conf
...
debug: adding new server URL to database 'multilib': https://mirrors.rutgers.edu/archlinux/multilib/os/x86_64
debug: registering sync database 'sublime-text'
debug: database path for tree sublime-text set to /var/lib/pacman/sync/sublime-text.db
debug: GPGME version: 1.22.0
debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/
debug: checking signature for /var/lib/pacman/sync/sublime-text.db
debug: 1 signatures returned
debug: fingerprint: E35979B896E997256457C632F57D4F59BD3DF454
debug: summary: (empty)
debug: status: Success
debug: timestamp: 1709018228
debug: exp_timestamp: 0
debug: validity: unknown; reason: Success
debug: key: 1EDDE2CDFC025D17F6DA9EC0ADAE6AD28A8F901A, Sublime HQ Pty Ltd <[email protected]>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is unknown trust
error: sublime-text: signature from "Sublime HQ Pty Ltd <[email protected]>" is unknown trust
debug: setting usage of 15 for sublime-text repository
debug: adding new server URL to database 'sublime-text': https://download.sublimetext.com/arch/stable/x86_64
error: no operation specified (use -h for help)
debug: unregistering database 'local'
debug: unregistering database 'system'
debug: unregistering database 'world'
debug: unregistering database 'galaxy'
debug: unregistering database 'lib32'
debug: unregistering database 'universe'
debug: unregistering database 'omniverse'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'sublime-text'
$