You are not logged in.
Edit: It looks like Allan was referring to the first prompt though. i.e. upgrading pacman after the system upgrade correct?
Yes, say "n" here:
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n]
Offline
hoschi wrote:hadrons123 wrote:Doesn't this step sound like a manual intervention?
Why doesnt this come on frontpage news or notification in mailing lists?
I also wonder. This should be on the homepage, with explanation why automatic update fails here.
Imo it is covered pretty well by this. Just too bad that almost no one follows the advices in that post.
That is all correct and exactly the why how I think about Archlinux.
But in this case. No. Simply.
* What pacman is not:
Correct. But pacman itself automatically offers the pacman upgrade itself as first step to do!
* Think before upgrading.
Minor upgrade. Pacman should be updated a early as possible in process. Common sense. Hit "Y".
* Read before upgrading.
You remember. We missed a message on the homepage!
* Read pacman's output while upgrading.
Done. Thats why we are here.
Don't take this a critic on you or the developers. The link the the topic above is just not the "right answer" in this case :-)
Why? Allan's answers here and this link seems to describe pretty well why.
Last edited by hoschi (2012-04-13 17:07:00)
Offline
fpilee wrote:Allan wrote:Or just say "N" when asked...
pacman is the first package to be updated and alone. If you put N, pacman will be installed with other packages, and must be a reason to update pacman first. I use dav method.
Which could result in breaking pacman...
Which is why it is dumb to follow the solution suggested by the guy who has one post over the one from one of the pacman developers.
Yes. I seen late. jaja.
Offline
I was getting this error. I solved it by updated pacman on its own e.g. pacman -S pacman
Thx, it worked.
Offline
Thanks, working
Offline
Since people (ref: IRC) seems to be selectively reading only the two last post in this tread, I'm going to reiterate on this once again:
I was getting this error. I solved it by updated pacman on its own e.g. pacman -S pacman
Do NOT do this ^
The correct solution is to remove SyncFirst from pacman.conf or say no to updating pacman first. Updating pacman separately can break pacman or worse.
Take note that SyncFirst has been removed from pacman 4.1, so removing it from your config is probably the best thing to do.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I have a similar problem but none of these solutions presented in here don't solve it.
So I have this (same) error:
sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace grub2-bios with core/grub-bios? [Y/n]
:: Replace grub2-common with core/grub-common? [Y/n]
:: Replace kdemultimedia-kioslave with extra/kdemultimedia-audiocd-kio? [Y/n]
:: Replace kdemultimedia-kioslave with extra/libkcddb? [Y/n]
:: Replace kdemultimedia-kioslave with extra/libkcompactdisc? [Y/n]
:: Replace pycrypto with extra/python2-crypto? [Y/n]
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs and gcc-libs-multilib are in conflict
and if I just try "N" to the gcc-libs question:
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace grub2-bios with core/grub-bios? [Y/n]
:: Replace grub2-common with core/grub-common? [Y/n]
:: Replace kdemultimedia-kioslave with extra/kdemultimedia-audiocd-kio? [Y/n]
:: Replace kdemultimedia-kioslave with extra/libkcddb? [Y/n]
:: Replace kdemultimedia-kioslave with extra/libkcompactdisc? [Y/n]
:: Replace pycrypto with extra/python2-crypto? [Y/n]
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs and gcc-libs-multilib are in conflict
I have had this problem maybe two weeks (or more), because when I first got it I did a quick search for it and somebody had said that It may go away if there comes a update to gcc, so wait for a while (or something similar). Well that obviously didn't work.
I updated pacman, didn't work. I deleted the SyncFirst option in /etc/pacman.conf, didn't work. If I hit "n" to every one of those permissions to replace packages it ends up with
...
resolving dependencies...
looking for inter-conflicts...
:: libkcddb and kdemultimedia-kioslave are in conflict. Remove kdemultimedia-kioslave? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libkcddb and kdemultimedia-kioslave are in conflict
So yeah, I have no idea what to do. Any help will be appreciated.
Last edited by thePenahi (2012-08-17 16:27:53)
Offline
Do you have gcc-libs-multilib installed? If so, try installing gcc-libs. When it says it needs to remove gcc-libs-multilib, tell it to go ahead. Then try updating again. If all goes well, reinstall gcc-libs-multilib.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Do you have gcc-libs-multilib installed? If so, try installing gcc-libs. When it says it needs to remove gcc-libs-multilib, tell it to go ahead. Then try updating again. If all goes well, reinstall gcc-libs-multilib.
Yes I have gcc-libs-multilib installed and if I try installing gcc-libs [even though I have lib32-gcc-libs installed (and same error below comes when I try to uninstall it)] and it askes me to remove the gcc-libs multilib and if I hit "y" it gives the same error as in the whole system update:
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-multilib: requires gcc-libs-multilib=4.7.0-5
Damn this drives me crazy.
Offline
So install gcc rather than gcc-multilib temporarily.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
So install gcc rather than gcc-multilib temporarily.
... Aaaand the same error comes up.
Offline
What happens exactly? It should tell you it will need to uninstall gcc-multilib. Are you saying that even though you tell it to do so, it still complains that gcc-multilib needs gcc-libs-multilib?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
What happens exactly? It should tell you it will need to uninstall gcc-multilib. Are you saying that even though you tell it to do so, it still complains that gcc-multilib needs gcc-libs-multilib?
Oh sorry, a little mistake; it wasn't the same error:
$ sudo pacman -S gcc
Password:
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] Y
:: gcc and gcc-multilib are in conflict. Remove gcc-multilib? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: libtool-multilib: requires gcc-multilib=4.7.0
I deleted libtool-multilib and then installed gcc and gcc-libs successfully.
And then ran
pacman -Syu
and no errors when it was looking for inter-conflicts.
Though I got another error in the end of the installation
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
but that problem doesn't belong in this topic.
But thank you so much for your help and time.
Offline
That problem is also covered in the wiki (and extensively on the forums) so you should be on the right road now!
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline