You are not logged in.
Pages: 1
Topic closed
I use the `haskell-core` and `haskell-happstack` repositories for some packages not in the official repositories. Recently, I installed the new `git-annex` package from `community`. It only has `make` dependencies on Haskell packages, so there are no conflicting packages, except that there is a `git-annex` in `haskell-core`. Is there any way to set `pacman`'s configuration so it ignores just the `git-annex` package in `haskell-core` or so that it associates `git-annex` with `community` rather than `haskell-core`? Or perhaps more generally could `pacman` be configured to only update packages from the repositories they were installed from? My goal is to be able to continue updating the system with `pacman -Syu` without having to deal with `git-annex` by hand each time.
Offline
afaik, neither is possible with pacman.
I have no knowledge of the haskell repos, but I suppose you're supposed to use the git-annex from haskell repos instead of community.
At least that's usually the case if a unofficial repository contains packages also included in official repos.
Arch wiki also instructs placing [haskell-core] above [community] in your pacman.conf, to allow packages in [haskell-core] to take precedence over official packages.
Why exactly do you want to use git-annex from [community]?
Offline
Alias 'pacman -Syu repo/package' to e.g. 'pac2'.
Offline
Alias 'pacman -Syu repo/package' to e.g. 'pac2'.
alias psyu='/usr/bin/pacman -Syu --needed community/git-annex'
With "--needed" the package will not be re-installed unless there is an upgrade available.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks for the replies. I thought I might have to use an alias with `--ignore` if there were no configuration option, but I didn't know about the behavior of `--needed`.
Why exactly do you want to use git-annex from [community]?
`git-annex` has several feature sets that rely on distinct sets of dependencies. The [haskell-core] maintainers have decided to provide a bare bones version of `git-annex` that leave out some features while the new [community] package provides a full build with all dependencies.
Offline
ignoring a package from upgrade is possible:
$ sudo vi /etc/pacman.conf
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
IgnorePkg = vlc
#IgnoreGroup =
Offline
soloturn, please leave the dead to rest in peace: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1
Topic closed