Jump to content


ArchLinux Upgrade Fail

archlinux pacman upgrade error

  • Please log in to reply
11 replies to this topic

#1 OFFLINE   amenditman

amenditman

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,186 posts

Posted 16 April 2012 - 12:38 PM

I have been having this error for about two weeks.
I was ignoring it hoping it would fix itself, because I have no time to track down the problem.

[amenditman@amendesk ~]$ yaourt -Syu
Password:
:: Synchronizing package databases...
core						  102.5 KiB   279K/s 00:00 [#############################] 100%
extra						1386.3 KiB   544K/s 00:03 [#############################] 100%
community					1640.0 KiB   594K/s 00:03 [#############################] 100%
multilib					   86.4 KiB   282K/s 00:00 [#############################] 100%
archlinuxfr					29.0 KiB  75.1K/s 00:00 [#############################] 100%

==> WARNING: The following packages should be upgraded first :
	pacman
==> Do it now ? [Y/n]
==> -----------------
==>
Password:
:: The following packages should be upgraded first :
	pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.3-1

Anyone else having this problem? It seems like I've seen this before but can't remember when or how I fixed it. :'(

Edited by amenditman, 16 April 2012 - 12:39 PM.

Tweak it 'til it breaks, then learn how to fix it.  L.I.F.E. (Linux Is For Everyone)
Registered Linux User # 474004 (06/16/2008)

The HeliOS Project  -  B.O.D.
A Child's Exposure to Technology Should Never Be
  Predicated On The Ability To Afford It

#2 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 19,374 posts

Posted 16 April 2012 - 01:40 PM

Think your answer may be here?
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#3 OFFLINE   amenditman

amenditman

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,186 posts

Posted 16 April 2012 - 07:28 PM

View PostLilBambi, on 16 April 2012 - 01:40 PM, said:

Think your answer may be here?
That was it.
Thanks a lot!
Tweak it 'til it breaks, then learn how to fix it.  L.I.F.E. (Linux Is For Everyone)
Registered Linux User # 474004 (06/16/2008)

The HeliOS Project  -  B.O.D.
A Child's Exposure to Technology Should Never Be
  Predicated On The Ability To Afford It

#4 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 19,374 posts

Posted 16 April 2012 - 07:54 PM

You are very welcome! :bounce:
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#5 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 17,137 posts

Posted 16 April 2012 - 08:11 PM

This happened to me also. I just manally (#pacman -R gnupg2) removed it and then updated pacman and the other updates after that.

Yay! :)
Posted ImagePosted ImagePosted Image

#6 OFFLINE   amenditman

amenditman

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,186 posts

Posted 16 April 2012 - 08:35 PM

Eric
Is it "normal" to have to update pacman as root?
Tweak it 'til it breaks, then learn how to fix it.  L.I.F.E. (Linux Is For Everyone)
Registered Linux User # 474004 (06/16/2008)

The HeliOS Project  -  B.O.D.
A Child's Exposure to Technology Should Never Be
  Predicated On The Ability To Afford It

#7 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 17,137 posts

Posted 16 April 2012 - 08:40 PM

I believe so. You cannot run pacman as reg user, I don't think. I'm in Slack on the shop system at the moment, so can't confirm.
Posted ImagePosted ImagePosted Image

#8 OFFLINE   amenditman

amenditman

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,186 posts

Posted 16 April 2012 - 08:45 PM

I generally use yaourt frontend for pacman and you run it as user and grant it su for limited operations.
I believe it downloads and builds packages as user and installs as root, maybe?
Tweak it 'til it breaks, then learn how to fix it.  L.I.F.E. (Linux Is For Everyone)
Registered Linux User # 474004 (06/16/2008)

The HeliOS Project  -  B.O.D.
A Child's Exposure to Technology Should Never Be
  Predicated On The Ability To Afford It

#9 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 17,137 posts

Posted 16 April 2012 - 08:49 PM

Yes, yaourt is different. It's meant to be run as reg user; not pacman, though. I do believe pacman requires elevated privileges. Josh can confirm for you. :)
Posted ImagePosted ImagePosted Image

#10 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 14,380 posts

Posted 17 April 2012 - 12:33 AM

View PostV.T. Eric Layton, on 16 April 2012 - 08:49 PM, said:

Yes, yaourt is different. It's meant to be run as reg user; not pacman, though. I do believe pacman requires elevated privileges. Josh can confirm for you. :)

Exactly right although as Amenditman mentioned, packages are built as the user when compiling from source (AUR w/ yaourt, packer, etc) and installed as root. Also, this is a gcc/gcc-libs issue due to a recent upgrade and has been covered on the Arch forums:

https://bbs.archlinu...c.php?id=131608
https://bbs.archlinu...086153#p1086153

I have been really busy at work working doubles as we are moving locations, otherwise I would of mentioned the workaround two days ago when I went through the same thing. Glad that you have it fixed now though, thanks Fran and Eric for helping out :thumbsup:
Posted ImagePosted Image Posted Image
Comhack.com/CNI Radio/G+ Profile/Configs/PGP Key π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#11 OFFLINE   ichase

ichase

    Chasing the Penguin

  • Forum MVP
  • 1,688 posts

Posted 17 April 2012 - 05:49 AM

I completely understand working doubles and triples. (though I say everyday out loud that I am blessed to have a job)  I had intended to post the work around once I noticed no one else had but never got the time to do it.  Eric went the long way in deleting gnupg2 but it still works.  I simply forced the update by going # pacman -Sy pacman.  Problem was is the update to pacman was dependent on gcc-libs=4.6.3-1 which was part of the update that day.  But you could not perform updates with out updating pacman.  Weird little bugs of software development.  :thumbsup:

Hopefully others that read our post but do not post themselves will find this thread useful.  :)

Hope everyone is doing well.
Ian Chase

Try Parted Magic The must have tool for any linux user's tool box.  (Contains Gparted, wifi support, Clonezilla, SuperGrubDisk/2, plop bootloader and more!!!)
CNI Radio

"I'm in repair.............I'm not together, but I'm getting there"
- John Mayer


Registered Linux User:  526317 10/22/2010
Posted Image  Posted Image  Posted Image Posted Image

#12 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 19,374 posts

Posted 17 April 2012 - 07:10 AM

gcc / gcc-c++ dependecy **** and glibc update **** have been around about as long as newer versions than you currently have have been around. :hysterical:

Seems to me it is more painless (overall) in Arch (a rolling distro) than in others. I usually have just installed the newer version of the distro and not deal with it.

It has gotten better with age, but it's still no fun...
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)





Also tagged with one or more of these keywords: archlinux, pacman, upgrade, error

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users