You are not logged in.

#1 2010-01-05 11:03:50

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

error: failed to prepare transaction (could not satisfy dependencies)

I get this error when running 'pacman -Syu':

:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: broadcom-wl: requires kernel26<2.6.32

broadcom-wl is my wireless driver, installed from AUR using yaourt.

Get the same output with 'yaourt -Syu' ...

Someone, please help me.

Offline

#2 2010-01-05 11:06:55

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: error: failed to prepare transaction (could not satisfy dependencies)

Check if broadcom-wl on AUR has been updated (so that it supports kernel >=2.6.32) and upgrade to that version after removing the current one:

pacman -Rd broadcom-wl
pacman -Su (and so will the kernel26 be updated)

and then install the updated broadcom-wl.

Offline

#3 2010-01-05 11:08:35

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

flamelab wrote:

Check if broadcom-wl on AUR has been updated (so that it supports kernel >=2.6.32) and upgrade to that version after removing the current one:

pacman -Rd broadcom-wl
pacman -Su (and so will the kernel26 be updated)

and then install the updated broadcom-wl.

... but I can't remove my internet connection (!).

Offline

#4 2010-01-05 14:07:38

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

Since no one, or flamelab (or both) did not reply on last post:

@flamelab and everyone else: I report back if I'm unsuccessful in using your (flamelab's) upgrade approach, when I get a wired connection.

Offline

#5 2010-01-05 21:26:37

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: error: failed to prepare transaction (could not satisfy dependencies)

You must have build the new broadcom-wl before you remove the previous one, so that you will have a new package ready for installation in order to restart the connection.

Offline

#6 2010-01-25 20:59:52

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

I ran 'pacman -Rd broadcom-wl' some days ago, but when I ran 'pacman -Su', pacman downloaded some packages, but many failed. I did a reboot, but now pacman just don't seem to work at all. Seems it takes a really long time connecting to the mirrors. I'm connected to the internet by cable.

Now what?

Offline

#7 2010-01-26 12:43:46

Denacke
Member
Registered: 2008-04-09
Posts: 106

Re: error: failed to prepare transaction (could not satisfy dependencies)

I'm guessing your local pacman database is a little out of sync with your mirrors, which makes your pacman try to download old unavailable packages.

Try pacman -Syu to sync mirrors and then upgrade.

Offline

#8 2010-01-26 14:46:28

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

Denacke wrote:

I'm guessing your local pacman database is a little out of sync with your mirrors, which makes your pacman try to download old unavailable packages.

Try pacman -Syu to sync mirrors and then upgrade.

Sorry, I forgot to mention 'pacman -Syu' is taking some time too.

Offline

#9 2010-01-26 14:58:54

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: error: failed to prepare transaction (could not satisfy dependencies)

Maybe your mirror is slow / down. Try rankmirrors (it's part of pacman):

rankmirrors -v <mirrorlist>


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#10 2010-02-02 18:15:19

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

grey wrote:

Maybe your mirror is slow / down. Try rankmirrors (it's part of pacman):

rankmirrors -v <mirrorlist>

Some time has gone by, but still nothing of this works. 'rankmirrors -v /etc/pacman.d/mirrorlist' just gives a really long list of mirrors, but I have really just uncommented one - so I really do not see the point in doing this. Now I'm apparently using a mirror in Poland - no luck.

#Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/x86_64
#Server = ftp://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/x86_64
#Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/x86_64

Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/x86_64
[root@rskolepc rasmus]# pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mirror.icis.pcz.pl : Connection timed out
error: failed to update core (Connection timed out)
error: failed retrieving file 'extra.db.tar.gz' from mirror.icis.pcz.pl : Connection timed out
error: failed to update extra (Connection timed out)
error: failed retrieving file 'community.db.tar.gz' from mirror.icis.pcz.pl : Connection timed out
error: failed to update community (Connection timed out)
 archlinuxfr               24.1K   54.0K/s 00:00:00 [##################################################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (81): kernel-headers-2.6.32-1 [0.67 MB]  tzdata-2009t-1 [0.56 MB]  glibc-2.11.1-1 [12.28 MB]  alsa-lib-1.0.22-1 [0.51 MB]  
              alsa-utils-1.0.22-2 [1.06 MB]  apvlv-0.0.8.1-1 [0.11 MB]  c-ares-1.7.0-2 [0.11 MB]  aria2-1.8.0-1 [1.38 MB]  automake-1.11.1-1 [0.58 MB]  
              binutils-2.20-3 [4.24 MB]  consolekit-0.4.1-2 [0.11 MB]  pam-1.1.1-1 [0.67 MB]  coreutils-8.2-1 [4.33 MB]  filesystem-2009.11-1 [0.01 MB]  
              hal-info-0.20091130-1 [0.04 MB]  hal-0.5.14-1 [0.52 MB]  exo-0.3.106-1 [1.67 MB]  expat-2.0.1-4 [0.16 MB]  
              xdg-utils-1.0.2.20091216-1 [0.05 MB]  filezilla-3.3.1-1 [3.84 MB]  gcc-libs-4.4.2-4 [0.92 MB]  xulrunner-1.9.1.6-1 [19.83 MB]  
              firefox-3.5.6-1 [1.01 MB]  glib2-2.22.3-1 [2.81 MB]  fluidsynth-1.1.1-1 [0.41 MB]  gcc-4.4.2-4 [16.00 MB]  gimp-2.6.8-1 [17.37 MB]  
              git-1.6.6-1 [7.73 MB]  gnome-keyring-2.28.2-1 [1.54 MB]  gpm-1.20.6-5 [0.17 MB]  hdparm-9.27-2 [0.06 MB]  hsqldb-java-1.8.1.1-1 [0.68 MB]  
              imagemagick-6.5.8.5-1 [2.28 MB]  libdrm-2.4.17-2 [0.15 MB]  libgl-7.7-1 [1.16 MB]  intel-dri-7.7-1 [0.60 MB]  
              kernel26-firmware-2.6.32.2-2 [1.02 MB]  kernel26-2.6.32.2-2 [30.02 MB]  lib32-glibc-2.11.1-1 [3.71 MB]  lib32-expat-2.0.1-4 [0.07 MB]  
              lib32-gcc-libs-4.4.2-4 [0.85 MB]  lib32-libdrm-2.4.17-2 [0.05 MB]  lib32-libgl-7.7-1 [1.05 MB]  lib32-libxcb-1.5-1 [0.14 MB]  
              lib32-mesa-7.7-1 [0.23 MB]  libass-0.9.8-1 [0.11 MB]  libgcrypt-1.4.5-1 [0.64 MB]  libsoup-2.28.2-1 [0.34 MB]  
              libsoup-gnome-2.28.2-1 [0.01 MB]  libcdio-0.82-1 [0.47 MB]  bluez-4.59-1 [0.66 MB]  libgphoto2-2.4.7-1 [1.70 MB]  libunique-1.1.6-1 [0.05 MB]  
              sg3_utils-1.28-1 [0.61 MB]  libatasmart-0.17-1 [0.03 MB]  devicekit-disks-009-3 [0.16 MB]  gnome-disk-utility-2.28.1-1 [1.94 MB]  
              gvfs-1.4.3-1 [1.91 MB]  libgnome-2.28.0-2 [1.33 MB]  libsndfile-1.0.21-1 [0.46 MB]  libwebkit-1.1.15.4-2 [6.90 MB]  xcb-proto-1.6-1 [0.06 MB]  
              libxcb-1.5-1 [0.45 MB]  lxappearance-0.3.0-1.1 [0.05 MB]  mesa-7.7-1 [0.76 MB]  nano-2.2.1-1 [0.47 MB]  ntp-4.2.6-2 [0.72 MB]  
              pango-1.26.2-1 [0.72 MB]  pixman-0.16.4-1 [0.16 MB]  postgresql-libs-8.4.2-1 [0.47 MB]  raptor-1.4.20-1 [0.35 MB]  rrdtool-1.4.2-1 [1.02 MB]  
              rxvt-unicode-256color-9.07-2 [1.16 MB]  subversion-1.6.6-3 [7.04 MB]  sudo-1.7.2p2-1 [0.15 MB]  tint2-0.8-1 [0.05 MB]  
              xf86-input-evdev-2.3.2-1 [0.03 MB]  xf86-input-synaptics-1.2.1-1 [0.05 MB]  xfce4-panel-4.6.3-1 [0.51 MB]  xorg-server-1.7.3.902-1 [4.09 MB]  
              xorg-xkb-utils-7.5-2 [0.18 MB]  

Total Download Size:    134.04 MB
Total Installed Size:   587.77 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from core...
error: failed retrieving file 'filesystem-2009.11-1-any.pkg.tar.gz' from mirror.icis.pcz.pl : Connection timed out
error: failed retrieving file 'expat-2.0.1-4-x86_64.pkg.tar.gz' from mirror.icis.pcz.pl : Connection timed out
^C
Interrupt signal received

[root@rskolepc rasmus]#

What is this? Arch really sucks if this means I have to do a reinstall ...

Offline

#11 2010-02-03 04:16:59

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: error: failed to prepare transaction (could not satisfy dependencies)

rusma wrote:
grey wrote:

Maybe your mirror is slow / down. Try rankmirrors (it's part of pacman):

rankmirrors -v <mirrorlist>

Some time has gone by, but still nothing of this works. 'rankmirrors -v /etc/pacman.d/mirrorlist' just gives a really long list of mirrors, but I have really just uncommented one - so I really do not see the point in doing this. Now I'm apparently using a mirror in Poland - no luck.

What is this? Arch really sucks if this means I have to do a reinstall ...

Switch to another mirror.

Offline

#12 2010-02-03 09:09:03

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

Snowman wrote:
rusma wrote:
grey wrote:

Maybe your mirror is slow / down. Try rankmirrors (it's part of pacman):

rankmirrors -v <mirrorlist>

Some time has gone by, but still nothing of this works. 'rankmirrors -v /etc/pacman.d/mirrorlist' just gives a really long list of mirrors, but I have really just uncommented one - so I really do not see the point in doing this. Now I'm apparently using a mirror in Poland - no luck.

What is this? Arch really sucks if this means I have to do a reinstall ...

Switch to another mirror.

really sure? rankmirrors already switched one time [see output].

Offline

#13 2010-02-03 10:00:52

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: error: failed to prepare transaction (could not satisfy dependencies)

rankmirrors sort mirrors by speed only. The mirror can be out-of-date or broken (you can't even connect to the mirror that you are trying to use).

Offline

#14 2010-02-05 20:09:58

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: error: failed to prepare transaction (could not satisfy dependencies)

[SOLVED]

Solution: This is just creepy. I can access archlinux.no from Namoroka, but not answers from ping or pacman - the case seems to be the same for that polish mirror. But now archlinux.org worked updating from, after that I updated from the swedish mirror on the top. works fine now, and btw. @flamelab: now broadcom-wl also works (installed from yaourt afterwards, seemed weird to compile and then install in two separate steps - maybe some other time).

Offline

Board footer

Powered by FluxBB