Author Topic: pacman upgrade problem with dependencies  (Read 1500 times)

speedyx

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
    • FreeWorX.net
pacman upgrade problem with dependencies
« on: April 23, 2012, 04:16:19 AM »
On a fresh install of the KDE version 2012.4 I have the following problem...

Code: [Select]
# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
error: failed retrieving file 'community.db' from mirrors.kernel.org : Failed connect to mirrors.kernel.org:21; Bad file descriptor
 community is up to date
:: 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...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.3-1

speedyx

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
    • FreeWorX.net
Re: pacman upgrade problem with dependencies
« Reply #1 on: April 23, 2012, 05:10:12 AM »
The problem was an outdated version of libtool
Code: [Select]
# pacman -Q libtool
libtool 2.4.2-4
Downloading it from the mirror solved the problem with the following
Code: [Select]
# pacman -U libtool-2.4.2-5-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (3): gcc-4.7.0-5  gcc-libs-4.7.0-5  libtool-2.4.2-5

simgin

  • Member
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: pacman upgrade problem with dependencies
« Reply #2 on: May 06, 2012, 07:41:16 AM »
Hi Speedy, thx for posting this. I have the same issue, but what you have written does not work for me on my i686 (or is it i386)  version of Bridge. I 'm very new to Arch, so I might be doing something basic wrong. I see you have downloaded it from somewhere, so I did it aswell, but I need to build it first, and then it all went wrong  :-\
Did you load packages in a special folder or ?? I'm lost atm.

I'm using LXDE ix86 version with Openbox. I did think that I may need some repo list or something basic, that I have missed. Don't know where to start to be honest. Please help  :)

Cheers
Simgin

YFDogan

  • Member
  • Posts: 99
  • Karma: +5/-0
    • View Profile
Re: pacman upgrade problem with dependencies
« Reply #3 on: May 06, 2012, 08:06:42 AM »
I had the same error too and solved it. First uninstall the conflicted package. Upgrade your system and reinstall the conflicted package.
Dell İnspiron N5110, İ7 proceccor, 8GB DDR Ram, Nvidia-İntel Graphic card (succesfull with bumblebee),Primary and only OS Bridge Linux KDE 2012.5

simgin

  • Member
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: pacman upgrade problem with dependencies
« Reply #4 on: May 06, 2012, 09:00:49 AM »
Thank you so much  :)  It worked perfectly.
But why was it like that ? Can the packages "block" each other? I have never tried having packages do that before, first time for learning :)

Cheers and thx again

Simgin

YFDogan

  • Member
  • Posts: 99
  • Karma: +5/-0
    • View Profile
Re: pacman upgrade problem with dependencies
« Reply #5 on: May 06, 2012, 09:08:43 AM »
I do not know the reason.
Linux teaches you to use your imagination. And Arch teaches you how to be a Linux User.
I m thankfull to Ninja for this amazing distro. Really great job.
Dell İnspiron N5110, İ7 proceccor, 8GB DDR Ram, Nvidia-İntel Graphic card (succesfull with bumblebee),Primary and only OS Bridge Linux KDE 2012.5

ludvick

  • Bridger
  • Posts: 236
  • Karma: +14/-0
    • View Profile
Re: pacman upgrade problem with dependencies
« Reply #6 on: May 06, 2012, 11:47:43 AM »
Hey guys!

There is very easy way to solve the problem with pacman upgrade. Look my post here:
http://millertechnologies.net/forum/index.php?topic=108.msg448#msg448