Does pamac configurations also apply to pacman?

Hello, I just wondered, if I configure pamac using the “preferences” tab, would those configurations also apply to pacman? Considering that they both use libalpm, are the configurations applied directly to libalpm and thus pacman? Like I have enabled “Remove unrequired dependencies” in pamac to save disk space.

No. Changes in Pamac configuration does not apply to pacman. But changes to pacman configuration does apply to Pamac.

2 Likes

Though, can I apply “Remove unrequired dependencies” somehow on pacman?

Yes, but using -Rs when you remove packages. :slight_smile:

From the pacman MAN page:

s, --recursive
           Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user. This operation is recursive and analogous to a backwards --sync operation, and it helps keep a clean system without orphans. If you want to omit condition (B),
           pass this option twice.
1 Like
This operation is recursive and analogous to a backwards --sync operation, and it helps keep a clean system without orphans.

What does analogous mean here? Could you describe this line to me? Also, at the end of the line, “pass this option twice” - means pacman -Rss right?

Best explanation I have is from Websters.
It means it’s the same as.

Yes. This will also remove dependencies that are marked as explicitly installed. Which could be dangerous and might break optional dependencies of other applications.

2 Likes

Hi,

@Strit

The official repositories mirrors list country configured with pamac have an effect on pacman, right ?

##
## Manjaro Linux custom mirrorlist
## Generated on 2021-04-29 22:29
##
## Please use 'pacman-mirrors -id' To reset custom mirrorlist
## Please use 'pacman-mirrors -c all' To reset custom mirrorlist
## To remove custom config run  'pacman-mirrors -c all'
##

## Country : France
Server = https://manjaro.ynh.ovh/stable/$repo/$arch

## Country : France
Server = http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch

## Country : France
Server = https://mirror.oldsql.cc/manjaro/stable/$repo/$arch


Yes. pacman-mirrors (which is what Pamac uses) generate the mirrorlist both Pamac and pacman uses.

1 Like

oh yeah, it does. There’s also a package to manage mirrors, pacman-mirrors

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.