pacman upgrade error

This forum is for all other ARMv5 devices

pacman upgrade error

Postby doknek » Tue Jan 31, 2012 6:32 pm

When I do pacman -Syu, I get msg to upgrade pacman first. If I choose "Y", then I get following error
$this->bbcode_second_pass_code('', 'error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<3.6
')

I tried pacman-keys --init as suggested, but get the bash error saying command not found as pacman-keys is v4 specific.
My pacman version is 3.5.4-4

If I choose "N" to upgrade pacman, the full system upgrade continues with following msg:
$this->bbcode_second_pass_code('', ':: Replace module-init-tools with core/kmod? [Y/n]
')
Choosing "N" above fails with this msg
$this->bbcode_second_pass_code('', 'warning: removing 'udev' from target list because it conflicts with 'udev-oxnas'')
Choosing "Y" fails with this msg
$this->bbcode_second_pass_code('', 'warning: removing 'udev' from target list because it conflicts with 'udev-oxnas'
error: failed to prepare transaction (could not satisfy dependencies)
:: mkinitcpio: requires udev>=177-1
')

There seems to be a no way out. Pacman has been giving this error for last couple of weeks and fails even today. Please suggest.
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: pacman upgrade error

Postby johnnyvibrant » Tue Jan 31, 2012 6:56 pm

same here, ive not upgraded in a few weeks
johnnyvibrant
 
Posts: 20
Joined: Mon Oct 18, 2010 9:20 pm

Re: pacman upgrade error

Postby Philoo » Tue Jan 31, 2012 10:09 pm

as for pacman try to upgrade pacman separately first
$this->bbcode_second_pass_code('', ' pacman -S pacman')
if need be force it by
$this->bbcode_second_pass_code('', 'pacman -Sf pacman')
Then pacman -Syu . if you get errors about files already existing, again use the f switch (this is documented at archlinux main site). It worked for me. YMMV.

finally the udev vs udev-oxnas is giving quite a lot of pple grief. WarheadSE is working on it (among a gazillion things, so please cut him some slack). Several things that *should* have worked did not for me. I ended up "blacklisting" a couple of package upgrades in pacman.conf (see man pacman.conf)
basically in the [general] section I added/activated the IgnorePkg line

$this->bbcode_second_pass_code('', 'IgnorePkg = linux kmod mkinitcpio')

this just buys me some time, because sooner or later something will come up that will break if kmod is not installed.
By then I hope I'll have transitioned from usb boot to sata boot and will be using a 3.x kernel instead of the crippled Cloud Engine kernel.
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: pacman upgrade error

Postby doknek » Wed Feb 01, 2012 3:55 pm

I cannot still upgrade pacman using the -f switch. Any other suggestions that might help? Thanks
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: pacman upgrade error

Postby WarheadsSE » Wed Feb 01, 2012 4:10 pm

To upgrade pacman:
When it asks to upgrade pacman first, say no.
It will update package-query prior to pacman, and no issues should be had.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: pacman upgrade error

Postby Cybertimber2009 » Wed Feb 01, 2012 4:52 pm

null
Last edited by Cybertimber2009 on Wed Feb 01, 2012 5:05 pm, edited 1 time in total.
Cybertimber2009
 
Posts: 40
Joined: Wed Jun 08, 2011 9:17 pm

Re: pacman upgrade error

Postby Cybertimber2009 » Wed Feb 01, 2012 4:59 pm

null - trying to fix it on my own first :)

Not having much luck. I narrowed it down to udev/udev-oxnas conflcit... so I tried updating udev (and letting it remove udev-oxnas temporarily when asked)...

Edit: After a pacman -Sfyu and some other stuff, im in better shape (an updated system) but I can't reinstall udev-oxnas. Going to head to the other thread to figure out how to install udev-oxnas with udev.
Cybertimber2009
 
Posts: 40
Joined: Wed Jun 08, 2011 9:17 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest