[pacman-dev] pacman -Sdf
Hi guys, I've a question for you. pacman -Sdf don't force install and don't overwrite conflicting files, is it a normal behaviour? Example: # pacman -Sdf lprng looking for inter-conflicts... :: lprng conflicts with cups. Remove cups? [Y/n] n error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: lprng: conflicts with cups But if I download lprng package with -Sw option, then I use options -Adf I can overwrite conflicting files and so I'm able to install or upgrade (with -Udf option) lprng package. Thanks in advance for your answers. -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
On Tue, 5 Jun 2007 01:56:29 +0200 "Giovanni Scafora" <linuxmania@gmail.com> wrote:
Hi guys,
I've a question for you. pacman -Sdf don't force install and don't overwrite conflicting files, is it a normal behaviour? Example:
# pacman -Sdf lprng looking for inter-conflicts... :: lprng conflicts with cups. Remove cups? [Y/n] n error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: lprng: conflicts with cups
But if I download lprng package with -Sw option, then I use options -Adf I can overwrite conflicting files and so I'm able to install or upgrade (with -Udf option) lprng package. Thanks in advance for your answers.
That particular error isn't complaining about conflicts between files, it's saying that, specifically, lprng as a package conflicts with cups, ie. in the lprng package, it says conflicts=('cups') As far as I know, pacman -A doesn't calculate per-package conflicts - some difference in the codebase between -A and -U. -- Travis
2007/6/5, Travis Willard <travis@archlinux.org>:
That particular error isn't complaining about conflicts between files, it's saying that, specifically, lprng as a package conflicts with cups, ie. in the lprng package, it says conflicts=('cups')
If I know, but if I cannot overwrite with -Sdf, why I'm able to do it with -Adf or -Udf?
As far as I know, pacman -A doesn't calculate per-package conflicts - some difference in the codebase between -A and -U.
As far as I know, pacman help pages show same messages: pacman -hA -d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files pacman -hU -d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files pacman -hS -d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
On 6/4/07, Giovanni Scafora <linuxmania@gmail.com> wrote:
2007/6/5, Travis Willard <travis@archlinux.org>:
That particular error isn't complaining about conflicts between files, it's saying that, specifically, lprng as a package conflicts with cups, ie. in the lprng package, it says conflicts=('cups')
If I know, but if I cannot overwrite with -Sdf, why I'm able to do it with -Adf or -Udf?
As far as I know, pacman -A doesn't calculate per-package conflicts - some difference in the codebase between -A and -U.
As far as I know, pacman help pages show same messages:
pacman -hA
-d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files
pacman -hU
-d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files
pacman -hS
-d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files
-U and -A share code, -S does not. The help instructions aren't going to change, that is just boilerplate text. What should be the desired behavior? -Dan
On Tue, 5 Jun 2007 02:57:08 +0200 "Giovanni Scafora" <linuxmania@gmail.com> wrote:
2007/6/5, Travis Willard <travis@archlinux.org>:
That particular error isn't complaining about conflicts between files, it's saying that, specifically, lprng as a package conflicts with cups, ie. in the lprng package, it says conflicts=('cups')
If I know, but if I cannot overwrite with -Sdf, why I'm able to do it with -Adf or -Udf?
As far as I know, pacman -A doesn't calculate per-package conflicts - some difference in the codebase between -A and -U.
As far as I know, pacman help pages show same messages:
Yes, but "conflicting files" are not the same as "conflicting packages": 1) Conflicting files: when both packages A and B contain the same file (eg. /etc/config.conf) 2) Conflicting packages: when package A says conflicts=("B") The -f flag, to pacman -A or pacman -S, overwrites conflicting files (#1 above) But, to the best of my knowledge, pacman -A doesn't properly handle conflicting packages (#2 above), while pacman -S does. Both handle conflicting FILES (#1) fine. -- Travis
2007/6/5, Travis Willard <travis@archlinux.org>:
But, to the best of my knowledge, pacman -A doesn't properly handle conflicting packages (#2 above), while pacman -S does. Both handle conflicting FILES (#1) fine.
OK, but I think that that's an illogical behaviour. If I cannot install lprng with -Sdf, why I'm able to do it with -Adf? I think that -Adf and -Sdf should do the same thing and therefore the same behaviour. -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
participants (3)
-
Dan McGee
-
Giovanni Scafora
-
Travis Willard