You are not logged in.

#1 2015-02-28 00:39:03

killvanrea
Member
Registered: 2013-10-04
Posts: 32

[SOLVED] Problem when try to upgrade with -Syu

Hi all,
I'm back on linux and today installed my old Arch(3.11.2-1-ARCH). I want to update it because I didnt start it 1+ years ago. I run pacman -Syu and it ask for replace some package but whatever i answer( I try with all Y and all N) there is the same error - unresolvable package conflicts detected. Here is my output from the terminal. I'll glad if someone point me to the right way smile

p.P.:I have many customization on it like - intel HD graphic driver, sound manager, compiz, eclipse  and so on... so I'll be happy if I can upgrade and dont losing all of them smile
Sorry for my bad english (:



[vanrea@lpVaNReA ~]$ sudo pacman -Suy
[sudo] password for vanrea: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace attica with extra/attica-qt4? [Y/n] n
:: Replace ca-certificates-java with core/ca-certificates-utils? [Y/n] n
:: Replace dirmngr with core/gnupg? [Y/n] n
:: Replace grantlee with extra/grantlee-qt4? [Y/n] n
:: Replace heirloom-mailx with core/s-nail? [Y/n] n
:: Replace intel-dri with extra/mesa? [Y/n] n
:: Replace lib32-dbus with multilib/lib32-libdbus? [Y/n] n
:: Replace lib32-intel-dri with multilib/lib32-mesa? [Y/n] n
:: Replace libltdl with core/libtool? [Y/n] n
:: Replace libusbx with core/libusb? [Y/n] n
:: Replace lirc-utils with extra/lirc? [Y/n] n
:: Replace lzo2 with core/lzo? [Y/n] n
:: Replace phonon with extra/phonon-qt4? [Y/n] n
:: Replace phonon-vlc with extra/phonon-qt4-vlc? [Y/n] n
:: Replace polkit-qt with extra/polkit-qt4? [Y/n] n
:: Replace shared-color-profiles with extra/colord? [Y/n] n
:: Replace sysvinit-tools with core/procps-ng? [Y/n] n
resolving dependencies...
looking for conflicting packages...
:: ca-certificates-utils and ca-certificates-java are in conflict. Remove ca-certificates-java? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ca-certificates-utils and ca-certificates-java are in conflict

Last edited by killvanrea (2016-02-16 12:31:09)

Offline

#2 2015-02-28 00:46:03

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,904
Website

Re: [SOLVED] Problem when try to upgrade with -Syu

First things first: Read all the news you have missed in the last 1+ years, and make note of any advice offered in their entries.

https://www.archlinux.org/news/

Secondly, please post the output from when you answer 'y' to all replacements.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-02-28 00:53:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,570
Website

Re: [SOLVED] Problem when try to upgrade with -Syu

WorMzy wrote:

First things first: Read all the news

Indeed.  Stagnant systems are sometimes challenging to update - but I don't think there is anything in the past year that should give any trouble at all.  Just follow the step by step directions posted in the news updates - the file conflict you report is specifically addressed in a news item.

Mod note: moving to NC.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-02-28 03:39:16

EscapedNull
Member
Registered: 2013-12-04
Posts: 129

Re: [SOLVED] Problem when try to upgrade with -Syu

killvanrea wrote:

p.P.:I have many customization on it like - intel HD graphic driver, sound manager, compiz, eclipse  and so on... so I'll be happy if I can upgrade and dont losing all of them smile

Running `pacman -R` without the -n switch will leave all of your configuration files alone and just remove the package files. In this case it might be helpful to remove anything you can without removing packages from the "base" group, to minimize conflicts. After successfully upgrading the remaining packages, run `pacman -S <packages>` to (re)install the newest version of the packages you removed. At least it has worked for me to avoid package conflicts in the past; your mileage may vary. See removing packages and pacman tips.

If all else fails, in theory you could run something like `pacman -r /mnt -R $(pacman -r /mnt -Q | cut -d ' ' -f 1)` from a live CD to remove all packages, then use pacstrap to reinstall them. Use this as a last resort and make a backup first!

Offline

#5 2015-03-03 00:45:25

killvanrea
Member
Registered: 2013-10-04
Posts: 32

Re: [SOLVED] Problem when try to upgrade with -Syu

Thanks to all for the replays.
I've managed to fix it with a couple of steps:
1.Remove java + eclipse + etc. with only -R option
2.Remove compiz + emerald (only -R option)
3.Run pacman -Suy
And all done smile I'm now running 3.18.6-1 and all my settings are still in one piece ^_^

Last edited by killvanrea (2015-03-03 00:46:20)

Offline

#6 2015-03-03 01:02:59

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Problem when try to upgrade with -Syu

Great to hear you have revived your system smile

Offline

#7 2015-03-03 02:05:09

cedeel
Member
From: ~
Registered: 2009-08-25
Posts: 176
Website

Re: [SOLVED] Problem when try to upgrade with -Syu

Please note that not replacing those packages will mean that you end up having lots of orphaned packages on your system that won't receive updates because there aren't any in the repositories.

The replacements are usually just a package renaming.

Offline

#8 2015-03-03 17:34:56

EscapedNull
Member
Registered: 2013-12-04
Posts: 129

Re: [SOLVED] Problem when try to upgrade with -Syu

cedeel wrote:

Please note that not replacing those packages will mean that you end up having lots of orphaned packages on your system that won't receive updates because there aren't any in the repositories.

The replacements are usually just a package renaming.

Good catch.

See Removing orphaned packages.

Offline

Board footer

Powered by FluxBB