You are not logged in.

#1 2008-07-03 00:44:09

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

simulate install in pacman

Is there an option to simulate an install like there is in aptitude and apt-get (using the -s flag)

I would like to know what dependencies will be installed when installing a package. So I always tend to simulate and check for the dependencies and if I do want all of them, proceed with the installation.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#2 2008-07-03 01:24:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: simulate install in pacman

The entire dependency trail is available and displayed when using ....pacman -Sy (name of package).... and you can abort the download if you desire by entering ...N...


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2008-07-03 02:44:52

sujoy
Member
From: India
Registered: 2008-02-08
Posts: 94
Website

Re: simulate install in pacman

the y isn't needed, unless you want to sync the package list

just do a pacman -S package_name , and it will show the dependency list

Offline

#4 2008-07-03 02:50:26

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: simulate install in pacman

Ok. for eg. I did

pacman -S gnome

it showed me a bunch of packages from the group gnome. I selected No for install whole group...but then it keeps asking me for each individual package within that group.

is it possible to simply abort the process entirely ?

Last edited by Inxsible (2008-07-03 02:50:47)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2008-07-03 06:22:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: simulate install in pacman

That isn't a typical example. gnome is a package group, not a single package. If you say Yes to install whole content, pacman will display the complete list of packages required by gnome including all dependencies, and you will have another opportunity to say No to the install.

Offline

#6 2008-07-03 22:14:06

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: simulate install in pacman

You can always it ctrl-c at that point too.

Offline

Board footer

Powered by FluxBB