You are not logged in.

#1 2012-01-19 18:09:20

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

[SOLVED]Pacman failed to prepare transaction

Hi smile

Hoping someone can help me with this!

Whenever I run yaourt -Syua I get the below output:

:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: failed to prepare transaction (could not satisfy dependencies)
:: Starting full system upgrade...
:: package-query: requires pacman<3.6
:: pacman-color: requires pacman<3.6

So if I try pacman -Syu I get this:

:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib 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...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<3.6
:: pacman-color: requires pacman<3.6

Same sorta thing.

I've never had any issues with pacman before and I'm completely bewildered neutral

Any help on this would be greatly appreciated, thanks in advance! big_smile

Last edited by Starfall (2012-01-19 19:40:16)


Visit my blog and my DeviatArt page

Offline

#2 2012-01-19 18:11:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Pacman failed to prepare transaction

Please search the forum before posting.

Starfall wrote:

I've never had any issues with pacman before and I'm completely bewildered neutral

It's not an excuse. Arch changes fast and you should try to fix it yourself.

Offline

#3 2012-01-19 18:38:08

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

Re: [SOLVED]Pacman failed to prepare transaction

karol wrote:

Please search the forum before posting.

Starfall wrote:

I've never had any issues with pacman before and I'm completely bewildered neutral

It's not an excuse. Arch changes fast and you should try to fix it yourself.

Well, that's returned a few mixed results, so I'm looking through them. I realise I might have jumped the gun a bit a posted early on, but I deemed it an acceptable move, perhaps not best practice, so I'll certainly take that into consideration in the future. smile

With all due respect, especially to someone who's helped me in the past, it's quite patronising to insinuate that I was trying to excuse myself, I'm not asking anyone to hold my hand through it. I appreciate your advice, I really do, however the 'It's not an excuse' part is a bit unnecessary.


EDIT: Wellll, this looks like it'll be a short lived post (proving karol completely right and making me look like a pre-menstrual phycobitch)

I've found a post with an issue almost identical to mine... so I'm in the process of trying the fix smile

Last edited by Starfall (2012-01-19 18:51:09)


Visit my blog and my DeviatArt page

Offline

#4 2012-01-19 18:53:40

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED]Pacman failed to prepare transaction

@starfall
look at the front page news on pacman 4.
http://www.archlinux.org/news/pacman-4-moves-to-core/

edit:
i hope you can fix your system by reading the other threads.

Last edited by hadrons123 (2012-01-19 18:55:30)


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#5 2012-01-19 19:17:31

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

Re: [SOLVED]Pacman failed to prepare transaction

hadrons123 wrote:

@starfall
look at the front page news on pacman 4.
http://www.archlinux.org/news/pacman-4-moves-to-core/

edit:
i hope you can fix your system by reading the other threads.

Ah, thanks for pointing that out! I had no idea smile

Okay, so I've got a bit of functionality now. I've managed to get Pacman functioning properly, however, now I'm getting signature issues:

:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
warning: marlin-bzr: local (786-1) is newer than archlinuxfr (364-1)
resolving dependencies...
looking for inter-conflicts...

Targets (34): at-spi2-atk-2.2.2-1  at-spi2-core-2.2.3-1
              binutils-multilib-2.22-4.1  cifs-utils-5.2-1  clutter-gst-1.4.6-1
              cmake-2.8.7-2  colord-0.1.16-1  ethtool-1:3.2-1  git-1.7.8.4-1
              gpgme-1.3.1-2  gvfs-1.10.1-2  gvfs-obexftp-1.10.1-2
              gvfs-smb-1.10.1-2  inetutils-1.9.1-1  intltool-0.50.0-1
              lib32-gdk-pixbuf2-2.24.1-1  lib32-glib2-2.30.2-2
              lib32-glibc-2.15-3.1  lib32-gtk2-2.24.8-2  lib32-libpulse-1.1-2
              lib32-pango-1.29.4-2  libass-0.10.0-3  linux-3.2.1-1
              linux-headers-3.2.1-1  lirc-utils-1:0.9.0-10  mutter-3.2.2-1
              nvidia-290.10-2  perl-5.14.2-7  q4wine-0.121-3
              sdl_image-1.2.11-1  unrar-4.1.4-1  virtualbox-modules-4.1.8-2
              wine-1.3.37-1.1  xkeyboard-config-2.4.1-3

Total Installed Size:   506.82 MiB
Net Upgrade Size:       8.54 MiB

Proceed with installation? [Y/n] y
(34/34) checking package integrity                 [######################] 100%
error: cifs-utils: key "771DF6627EDF681F" is unknown
:: Import PGP key 7EDF681F, "Tobias Powalowski <tpowa@archlinux.org>", created 2011-07-18? [Y/n] 

The same happens if I run yaourt -Syua

I've put SigLevel = Optional TrustAll in my pacman.conf

I keep being prompted to enter y/n

Any ideas? sad

EDIT:

I just ran the below and it all seems to be going swimmingly big_smile

sudo mv /etc/pacman.conf /etc/pacman.conf.old
sudo mv /etc/pacman.conf.pacnew /etc/pacman.conf
sudo pacman-key --init

I'll mark as solved once confirmed smile Thanks for the help guys!

Last edited by Starfall (2012-01-19 19:23:14)


Visit my blog and my DeviatArt page

Offline

#6 2012-01-19 19:21:58

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED]Pacman failed to prepare transaction

Did you happen to read this?
I think you 'll get some answers here.

https://wiki.archlinux.org/index.php/Pacman-key

footnote:
I had to change keyserver to

keyserver hkp://pgp.mit.edu

  get the keys working.

Last edited by hadrons123 (2012-01-19 19:24:24)


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#7 2012-01-19 19:24:25

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

Re: [SOLVED]Pacman failed to prepare transaction

hadrons123 wrote:

Did you happen to read this?
I think you 'll get some answers here.

https://wiki.archlinux.org/index.php/Pacman-key

footnote:
I had to change keyserver to

keyserver hkp://pgp.mit.edu

get keys working.

Sorry hadrons! Haha, so much has been going on, it looks like it might be resolved. Really appreciate your help though, many thanks big_smile


Visit my blog and my DeviatArt page

Offline

Board footer

Powered by FluxBB