You are not logged in.

#1 2012-09-11 12:36:45

md2k7
Member
Registered: 2011-01-22
Posts: 9

pacman -U --recursive yields "invalid option" output

Hello!

According to the pacman manpage, there should be an option --recursive for -U, which is supposed to recursively reinstall dependencies. However, my try to use this option failed:

# pacman -U --recursive http://arm.konnichi.com/core/os/x86_64/gcc-4.7.1-5-x86_64.pkg.tar.xz
error: invalid option

(I'm aware that pacman potentially will not know about the place to get the dependencies of older packages from... But this seems like an option passing/parsing problem to me)

What am I doing wrong?

Yours
David

Offline

#2 2012-09-11 13:33:26

deimos1
Member
From: Bielefeld, Germany
Registered: 2012-08-24
Posts: 11

Re: pacman -U --recursive yields "invalid option" output

Hi!

interpreting the '-' signs in the diff correctly, it should have been removed from the man page, but the header says it came too late... see here

Last edited by deimos1 (2012-09-11 13:34:48)


Thinkpad X121e
Intel Core i3-2357M @ 1.3 GHz
Intel HD 3000 integrated

Offline

#3 2012-09-11 14:08:08

md2k7
Member
Registered: 2011-01-22
Posts: 9

Re: pacman -U --recursive yields "invalid option" output

So... feature regression?

Any more ideas for how to do what I'm trying to achieve (essentially: installing a specific old version of gcc, including of course all of its dependencies)?

Thanks so far,
David

Offline

#4 2012-09-11 14:17:27

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

Re: pacman -U --recursive yields "invalid option" output

I'm going to assume that you have the old dep packages, as well as the old gcc, so you can just do

pacman -U gcc.pkg dep.pkg dep.pkg... etc

FWIW, pacman -Uh does not show that option.

And it's feature removal, not feature regression - I'm sure you can find the reason for the removal on the pacman-dev mailing list.

Last edited by tomk (2012-09-11 14:19:30)

Offline

Board footer

Powered by FluxBB