You are not logged in.

#1 2013-05-05 15:14:49

dabd
Member
Registered: 2008-11-17
Posts: 109

Upgrade old installation to systemd

I have an old installation


$ uname -a
Linux euler 3.2.7-1-ARCH #1 SMP PREEMPT Tue Feb 21 09:51:29 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux

I am trying to upgrade it to systemd and I am getting:

$ sudo 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
 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...
:: util-linux and eject are in conflict. Remove eject? [y/N] y
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: cyrus-sasl: requires libsasl=2.1.23-9
:: cyrus-sasl-gssapi: requires libsasl=2.1.23-9
:: cyrus-sasl-ldap: requires libsasl=2.1.23-9
:: cyrus-sasl-sql: requires libsasl=2.1.23-9
:: gcc-multilib: requires gcc-libs-multilib=4.6.2-7
:: package-query: requires pacman<4.1
:: valgrind: requires glibc<2.16

How to proceed?

Thanks.

Last edited by dabd (2013-05-05 15:23:40)

Offline

#2 2013-05-05 15:22:57

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

Re: Upgrade old installation to systemd

Have you tried answering 'y' to the question?

:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] 

Edit: You may need to remove them with 'pacman -Rdd gcc-libs-multilib' because they're probably required by a lot of packages.

Last edited by karol (2013-05-05 15:24:52)

Offline

#3 2013-05-05 15:25:20

dabd
Member
Registered: 2008-11-17
Posts: 109

Re: Upgrade old installation to systemd

Yes, updated OP with new output.  Looks like a dependency problem how can I solve it?

Offline

#4 2013-05-05 15:25:34

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

Re: Upgrade old installation to systemd

I have edited my post too ;P
You may need to remove them with 'pacman -Rdd gcc-libs-multilib' because they're probably required by a lot of packages.

Offline

#5 2013-05-05 15:31:41

dabd
Member
Registered: 2008-11-17
Posts: 109

Re: Upgrade old installation to systemd

After removing gcc-libs-multilibe I tried again and got:

$ sudo 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
 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...
:: util-linux and eject are in conflict. Remove eject? [y/N] y
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: cyrus-sasl: requires libsasl=2.1.23-9
:: cyrus-sasl-gssapi: requires libsasl=2.1.23-9
:: cyrus-sasl-ldap: requires libsasl=2.1.23-9
:: cyrus-sasl-sql: requires libsasl=2.1.23-9
:: package-query: requires pacman<4.1
:: valgrind: requires glibc<2.16

Offline

#6 2013-05-05 15:35:52

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

Re: Upgrade old installation to systemd

package-query is in the AUR, so you need to remove it, update the system and rebuild it.
Try doing the same with other packages: remove them, update the system, install the new versions.

Last edited by karol (2013-05-05 15:37:20)

Offline

#7 2013-05-05 15:40:31

dabd
Member
Registered: 2008-11-17
Posts: 109

Re: Upgrade old installation to systemd

After removing those packages I ran pacman -Syu again and got the following after it downloaded the packages to upgrade::

error: failed to commit transaction (conflicting files)
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /lib exists in filesystem
filesystem: /lib64 exists in filesystem
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
util-linux: /bin/kill exists in filesystem
util-linux: /sbin/sulogin exists in filesystem
util-linux: /usr/bin/mesg exists in filesystem
util-linux: /usr/bin/utmpdump exists in filesystem
util-linux: /usr/bin/wall exists in filesystem
util-linux: /usr/share/man/man1/kill.1.gz exists in filesystem
util-linux: /usr/share/man/man1/mesg.1.gz exists in filesystem
util-linux: /usr/share/man/man1/utmpdump.1.gz exists in filesystem
util-linux: /usr/share/man/man1/wall.1.gz exists in filesystem
util-linux: /usr/share/man/man8/sulogin.8.gz exists in filesystem
Errors occurred, no packages were upgraded.

How can I fix this? Thanks.

**EDIT**
Got the first one here: https://www.archlinux.org/news/initscri … -required/
but should I delete the other directories and files as well?

Last edited by dabd (2013-05-05 15:43:50)

Offline

#8 2013-05-05 15:44:12

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

Re: Upgrade old installation to systemd

You need to go through the old news items and find out what to do e.g. https://www.archlinux.org/news/filesyst … equired-1/ seems to be one of your problems.

Offline

Board footer

Powered by FluxBB