You are not logged in.

#1 2021-12-11 20:53:41

fLBranco
Member
Registered: 2021-12-11
Posts: 4

[SOLVED] Pacman not aware of already installed dependency

Hello.
I've compiled and installed some packages manually with my own PKGBUILD through pacman. But now i'm trying to install a package from the AUR and there is some dependencies that pacman seems to not find, for example bash. What should I do in this situation? I don't want to replace a lot of packages already installed to those of the AUR.
Any help is appreciated. Thanks in advance!

Last edited by fLBranco (2021-12-11 21:34:04)

Offline

#2 2021-12-11 21:09:58

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,276

Re: [SOLVED] Pacman not aware of already installed dependency

Please post the exact commands you are running and the exact output.

https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#3 2021-12-11 21:24:04

fLBranco
Member
Registered: 2021-12-11
Posts: 4

Re: [SOLVED] Pacman not aware of already installed dependency

arojas wrote:

Please post the exact commands you are running and the exact output.

https://bbs.archlinux.org/viewtopic.php?id=57855

Output of query line for bash:

# pacman -Qs bash
local/bash 5.0-1
      The bash package contains the Bourne-Again Shell.

Output of pacman -S:

# pacman -S libgpg-error
resolving dependencies...
looking for conflicting packages...

Packages (5) bash-5.1.012-1  gcc-libs-11.1.0-1  ncurses-6.3.-1  readline-8.1.001-1  libgpg-error-1.43-1

Total Download Size:       33.79 MiB
Total Installed Size:         135.89 MiB
Net Upgrade Size:           115.12 MiB

:: Proceed with installation? [Y/n]

All those packages above (except libgpg-error) was installed the same way I did with bash.

Last edited by fLBranco (2021-12-11 21:24:37)

Offline

#4 2021-12-11 21:26:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,865

Re: [SOLVED] Pacman not aware of already installed dependency

> local/bash 5.0-1
> Packages (5) bash-5.1.012-1

Do you see some difference?
Don't run patial updates.

Online

#5 2021-12-11 21:28:47

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 280
Website

Re: [SOLVED] Pacman not aware of already installed dependency

pacman wants to update bash as your installed version is older than the repo version. This will only happen if you at some point have run:

 pacman -Sy 

Or you performed a system update that did not finish for some reason. Both cases will result in partial updates which are unsupported. Do a complete system update then try again.

Edit: seth posted the same answer while I was typing.

Last edited by Daerandin (2021-12-11 21:29:46)

Offline

#6 2021-12-11 21:28:48

fLBranco
Member
Registered: 2021-12-11
Posts: 4

Re: [SOLVED] Pacman not aware of already installed dependency

fLBranco wrote:

Output of query line for bash:

# pacman -Qs bash
local/bash 5.0-1
      The bash package contains the Bourne-Again Shell.

Could it has happened because the database "registration" isn't at core/?.

Offline

#7 2021-12-11 21:31:34

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,567
Website

Re: [SOLVED] Pacman not aware of already installed dependency

seth wrote:

> local/bash 5.0-1
> Packages (5) bash-5.1.012-1

Do you see some difference?
Don't run patial updates.

That!
As for the updated package version, it most likely got pulled in by a version constraint if you did not run pacman -Sy.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#8 2021-12-11 21:33:08

fLBranco
Member
Registered: 2021-12-11
Posts: 4

Re: [SOLVED] Pacman not aware of already installed dependency

I didn't thought that it was because my version was outdated. Well, probably I'll just update everything.

Thanks for helping me!

Offline

Board footer

Powered by FluxBB