You are not logged in.

#1 2012-04-16 18:24:44

redneon
Member
Registered: 2009-09-15
Posts: 8

Can't update pacman

I've just booted Arch and run "pacman -Syy" and attempted to install Chromium, at which time it informed me that pacman needed updating. So I told it to update and received this error:

error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.3-1

Which is strange because "pacman -Q gcc-libs" yields: "gcc-libs 4.6.3-1"

Any ideas?

Offline

#2 2012-04-16 18:42:41

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

Re: Can't update pacman

pacman -Syu, say no when asked if you want to update pacman first.

Offline

#3 2012-04-16 18:46:37

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

Re: Can't update pacman

1) You shouldn't -Syy then install new software.  Always do an update first.
2) This, this ...


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

#4 2012-04-16 19:09:10

redneon
Member
Registered: 2009-09-15
Posts: 8

Re: Can't update pacman

Yep, that worked. Cheers.

Offline

#5 2012-04-16 19:16:07

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Can't update pacman

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

#6 2012-04-17 13:33:14

quaec
Member
From: Germany
Registered: 2010-06-10
Posts: 12

Re: Can't update pacman

EDIT: Do NOT what I wrote! See the post below.

What helped in my case:

:: gcc: benötigt gcc-libs=4.6.3-1

Just install pacman on its own:

# pacman -S pacman

Then upgrade your system:

# pacman -Syu

P.S.: It's not helpful when someone gets pushed through a series of threads on the board where every single one says "Use the search function!". Also it's not helpful when someone says "Thanks, I solved my problem!" and doesn't link or repeats the solution.

Last edited by quaec (2012-04-17 14:57:31)

Offline

#7 2012-04-17 14:54:25

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Can't update pacman

quaec wrote:

For anyone who has come here from Google:

What helped in my case:

:: gcc: benötigt gcc-libs=4.6.3-1

Just install pacman on its own:

# pacman -S pacman

Then upgrade your system:

# pacman -Syu

P.S.: It's not helpful when someone gets pushed through a series of threads on the board where every single one says "Use the search function!". Also it's not helpful when someone says "Thanks, I solved my problem!" and doesn't link or repeats the solution.

Do NOT follow this advice. pacman -S pacman is dangerous and can break pacman or worse. (because of the nature of binary based rolling relase)Follow this advice instead:

tomk wrote:

pacman -Syu, say no when asked if you want to update pacman first.

Last edited by Mr.Elendig (2012-04-17 14:55:06)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2012-04-17 14:56:24

quaec
Member
From: Germany
Registered: 2010-06-10
Posts: 12

Re: Can't update pacman

Oh, thanks for the info, I didn't knew that.

I also tried what tomk wrote first, but it didn't work for me.

Offline

#9 2012-04-17 22:35:53

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Can't update pacman

quaec wrote:

Oh, thanks for the info, I didn't knew that.

I also tried what tomk wrote first, but it didn't work for me.

Just how didn't it work? What was the full error you got when saying no to updating pacman first?

Sidenote: I suggest removing pacman from SyncFirst. In the next major pacman version, SyncFirst is going to be removed anyway (already done in the git tree)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2012-04-20 15:11:01

quaec
Member
From: Germany
Registered: 2010-06-10
Posts: 12

Re: Can't update pacman

Mr.Elendig wrote:

Just how didn't it work? What was the full error you got when saying no to updating pacman first?

Sorry, I rebooted my PC before I read your message.

I'm really not sure if it was maybe this:

:: gcc: benötigt gcc-libs=4.6.3-1

Offline

Board footer

Powered by FluxBB