You are not logged in.

#1 2008-06-25 16:45:22

derelict
Member
Registered: 2006-07-25
Posts: 81

[SOLVED] pacman -Sf not working

# pacman -Sf vtun
resolving dependencies...
error: cannot resolve "openssl<=0.9.8g", a dependency of "vtun"
error: failed to prepare transaction (could not satisfy dependencies)
:: vtun: requires openssl<=0.9.8g

# pacman -Q openssl
openssl 0.9.8h-3

Shouldn't I be able to force this package to install? It doesn't work the other way either. If vtun is already installed then openssl cannot be upgraded. It also cannot be forced.

# pacman -Sf openssl
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: vtun: requires openssl<=0.9.8g

I'm a bit confused by this. I thought the --force option would override any dependency issues.

Last edited by derelict (2008-06-25 18:09:37)

Offline

#2 2008-06-25 16:48:54

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 3,682

Re: [SOLVED] pacman -Sf not working

Try -Sd. -f works when there are conflicting files.

Offline

#3 2008-06-25 17:45:59

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] pacman -Sf not working

from man pacman

       -d, --nodeps
           Skips all dependency checks. Normally, pacman will always check a
           package´s dependency fields to ensure that all dependencies are
           installed and there are no package conflicts in the system.

       -f, --force
           Bypass file conflict checks and overwrite conflicting files. If the
           package that is about to be installed contains files that are
           already installed, this option will cause all those files to be
           overwritten. This option should be used with care, ideally not at
           all.

--force has nothing to do with dependency issues.

Offline

#4 2008-06-25 18:08:42

derelict
Member
Registered: 2006-07-25
Posts: 81

Re: [SOLVED] pacman -Sf not working

Indeed. Invoking pacman -Sd vtun allows me to install the package. I didn't even need the --force option. Thanks for the help.

Offline

#5 2008-08-05 22:28:03

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 547

Re: [SOLVED] pacman -Sf not working

More to the point, does it work now you have it installed?

Offline

Board footer

Powered by FluxBB