You are not logged in.

#1 2014-04-24 09:51:27

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Does `pacman -S <pkg>` re-install the given package's dependencies?

As the subject says.

Offline

#2 2014-04-24 10:07:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

It will install them if they're not installed already. If the package's dependencies are already installed, it won't re-install them.
It's easy to see for yourself. What seems to be the problem?

Offline

#3 2014-04-24 14:01:44

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

I don't see a pacman command to re-install a package's dependencies. Is there one?

karol wrote:

What seems to be the problem?

Funny you should ask. I deleted my home folder (a slip of the finger when typing `$ rm -rf ~/<a folder name>`; just after typing the tilda I hit Enter). At least I've learned to be wiser with rm.

That resulted in some applications not have an application icon (top left of its window), and no folder icons in the file save dialog.

I suspect I lost some gtk assets. `$ pacman -S gtk gtk2` has not in itself fixed the problem.

Offline

#4 2014-04-24 14:26:18

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

I don't think re-installing packages will fix this, because packages don't install things to home folders.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2014-04-24 15:18:24

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

Ah, thanks for the insight.

Offline

#6 2014-04-24 15:30:20

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

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

you should have your backups. Use them to get your folder(s)/file(s) back !


Forum Rules

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

Offline

#7 2014-04-24 15:41:59

Rikku
Member
Registered: 2014-04-23
Posts: 9

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

I like this,i always uninstall many fonts packages,if pacman auto re-install,it sucks

Offline

#8 2014-04-24 17:44:51

o_caino
Member
Registered: 2013-06-06
Posts: 167

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

Create an alias for rm to prevent accidental deletions.

alias rm="rm -i"

Offline

#9 2014-04-24 20:51:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

Rikku wrote:

I like this,i always uninstall many fonts packages,if pacman auto re-install,it sucks

I have no idea what you mean.

o_caino wrote:

Create an alias for rm to prevent accidental deletions.

alias rm="rm -i"

+1, but '-f' overrides it anyway.

Offline

#10 2014-04-25 09:56:34

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: Does `pacman -S <pkg>` re-install the given package's dependencies?

Inxsible wrote:

you should have your backups. Use them to get your folder(s)/file(s) back !

There's no backup, I was setting up my environment at the time.

Offline

Board footer

Powered by FluxBB