Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Aljon8 on 10 September 2024, 00:38:18

Title: How do I remedy this?
Post by: Aljon8 on 10 September 2024, 00:38:18
Here I am again, I feel like an idiot who cant update their own OS. I cant update my system due to this dependency. What can I do to update my system?


sudo pacman -Syu
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing protobuf (28.0-1) breaks dependency 'libprotobuf.so=27.3.0-64' required by libphonenumber
Title: Re: How do I remedy this?
Post by: Bichon on 10 September 2024, 01:39:17
Hello,
I do not know how correct it is, as I believe it is a partial update and could lead to problems. However, a temporary fix, if libphonenumber is not a orphan package you can delete, would be to uncomment the IgnorePkg line in /etc/pacman.conf and add protobuf or libphonenumber to it.
Maybe changing libprotobuf version in libphonenumber PKGINFO would do it cleanlier?
Title: Re: How do I remedy this?
Post by: ####### on 10 September 2024, 02:49:58
Code: [Select]
sudo pacman -Syu --ignore protobuf
is an easy method to consider.  :D
protobuf is still at the previous version in the Arch "extra" repo so it seems likely the upgrade in Artix is simply a mistake, possibly the package was upgraded in Arch testing then downgraded later or something like that. As it was reported on here, it will most likely be resolved fairly soon anyway.
Title: Re: How do I remedy this?
Post by: tintin on 10 September 2024, 02:52:59
Hello,

Which version did you install and from which repository?

Here:
Code: [Select]
pacman -Ss protobuf
world/protobuf 28.0-1 [installed]
    Protocol Buffers - Google's data interchange format

Title: Re: How do I remedy this?
Post by: corysanin on 10 September 2024, 04:48:22
No need to speculate, this was maintainer error on our part. I would not recommend --ignore as rebuilds are necessary.
Title: Re: How do I remedy this?
Post by: ####### on 10 September 2024, 15:54:00
"--ignore protobuf" has the same effect as adding "IgnorePkg protobuf" to /etc/pacman.conf but you don't have to delete an entry later, it only applies to that one command. It doesn't ignore any warnings, it means don't upgrade the named package.
Also this line:
Code: [Select]
:: installing protobuf (28.0-1) breaks dependency 'libprotobuf.so=27.3.0-64' required by libphonenumber
is telling you to keep protobuf at it's current version and not upgrade it, which suggests that's likely to be the correct course of action if you wish to proceed.  In my case having already encountered a similar libopenshot conflict, openshot still works after this procedure.
If you want to avoid any possibility of trouble then not upgrading at all until this is fully resolved would ensure this, but sometimes you might need to update to install a new package, and the initial question was from someone who wanted to update, anyway sorry if this is deemed too risky a move.
Title: Re: How do I remedy this?
Post by: corysanin on 10 September 2024, 17:51:48
Got my wires crossed. Yes, that would be a cromulent solution for now.
Title: Re: How do I remedy this?
Post by: RememberToRecycleKids on 10 September 2024, 20:45:56
First of all, sorry if my other thread was a duplicate, this title wasn't very descriptive and when I searched for similar issues I couldn't tell this would be from the title.
But yes, I'm having a similar issue and I assume the solution is to just wait until things solve themselves.

Code: [Select]
:: Synchronizing package databases...
 system is up to date
 world                     4,9 MiB  4,03 MiB/s 00:01 [############################] 100%
 galaxy                  788,3 KiB   762 KiB/s 00:01 [############################] 100%
 universe is up to date
 extra                     7,4 MiB  6,24 MiB/s 00:01 [############################] 100%
 community is up to date
 multilib is up to date
 lib32 is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing protobuf (28.0-1) breaks dependency 'libprotobuf.so=27.3.0-64' required by mumble

Am I right in assuming I should just wait?
Title: Re: How do I remedy this?
Post by: Artist on 11 September 2024, 12:13:23
should be fixed once mumble gets moved to stable

artist
Title: Re: How do I remedy this?
Post by: n00b on 14 September 2024, 01:42:57
still getting
:: installing protobuf (28.0-1.1) breaks dependency 'libprotobuf.so=27.3.0-64' required by libopenshot