Jump to content

ArchLinux Upgrade Fail


amenditman

Recommended Posts

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
Link to comment
Share on other sites

V.T. Eric Layton

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

 

Yay! :)

Link to comment
Share on other sites

V.T. Eric Layton

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

V.T. Eric Layton

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. :)

Link to comment
Share on other sites

securitybreach

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.archlinux.org/viewtopic.php?id=131608

https://bbs.archlinux.org/viewtopic.php?pid=1086153#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:

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

Guest LilBambi

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...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...