Manjaro Linux Forum

Technical Issues and Assistance => Package Management => Unstable Repository => Topic started by: jjrojo on 11. January 2013, 09:29:44

Title: Conflict upgrading in unstable repo
Post by: jjrojo on 11. January 2013, 09:29:44
I have not updated for fear of breaking the system for several days gives this error when trying to update the unstable repositories.

Quote
:: Iniciando actualización completa del sistema...
atención: mhwd-catalyst: local (12.12-1) es más nuevo que basis-unstable (12.11-3)
:: ¿Reemplazar nss-myhostname con basis-unstable/systemd?  [S/n] n
:: ¿Reemplazar systemd-manjaro-units con basis-unstable/systemd?  [S/n] n
resolviendo dependencias...
atención: bucle de dependencias detectado:
atención: systemd será instalado antes que su dependencia systemd
verificando conflictos...
:: systemd y nss-myhostname están en conflicto. ¿Quitar nss-myhostname? [s/N] n
error: se han detectado paquetes con conflictos no resolvibles
error: error al preparar la transacción (dependencias en conflicto)
:: systemd y nss-myhostname están en conflicto
Title: Re: Conflict upgrading in unstable repo
Post by: dicktater on 11. January 2013, 09:50:47
Here is jjrojo's quote googlEnglished:


:: Starting full system upgrade ...attention: mhwd-catalyst: local (12.12-1) is newer than basis-unstable (12.11-3)
Replace :: nss-myhostname with basis-unstable/systemd? [S / n] n
Replace :: Manjaro systemd-units-with basis-unstable/systemd? [S / n] n
resolving dependencies ...
attention: dependency loop detected:
attention: systemd will be installed before its dependence systemd
Conflict checking...
:: Systemd nss-myhostname and conflict. Remove nss-myhostname?? [s / N] n
error has been detected not resolvable conflicting packages
Error: Failed to prepare transaction (conflicting dependencies)
:: Systemd nss-myhostname and conflict[/s]
Title: Re: Conflict upgrading in unstable repo
Post by: jjrojo on 11. January 2013, 10:27:37
Ok, sorry, my system is in spanish.
Title: Re: Conflict upgrading in unstable repo
Post by: Culinax on 11. January 2013, 10:39:34
Lol. The reason why these conflicts appear is because you chose not to replace. Just press Y.
Title: Re: Conflict upgrading in unstable repo
Post by: jjrojo on 11. January 2013, 10:48:35
If i say yes try to uninstall system-manjaro units, mmm, i think maybe is not a good idea for the manjaro system.

Code: [Select]
:: Iniciando actualización completa del sistema...
atención: mhwd-catalyst: local (12.12-1) es más nuevo que basis-unstable (12.11-3)
:: ¿Reemplazar nss-myhostname con basis-unstable/systemd?  [S/n] s
:: ¿Reemplazar systemd-manjaro-units con basis-unstable/systemd?  [S/n]

If i say yes to last question, ok the system give me packages for update:

Code: [Select]
:: Iniciando actualización completa del sistema...
atención: mhwd-catalyst: local (12.12-1) es más nuevo que basis-unstable (12.11-3)
:: ¿Reemplazar nss-myhostname con basis-unstable/systemd?  [S/n] s
:: ¿Reemplazar systemd-manjaro-units con basis-unstable/systemd?  [S/n] s
resolviendo dependencias...
atención: bucle de dependencias detectado:
atención: systemd será instalado antes que su dependencia systemd
verificando conflictos...

Objetivos (27): b43-fwcutter-017-1  desktop-file-utils-0.21-1  dhcpcd-5.6.4-1  enca-1.14-1  firefox-18.0-2
                firefox-i18n-es-es-18.0-1  flashplugin-11.2.202.261-1  gst-plugins-base-1.0.5-1
                gst-plugins-base-libs-1.0.5-1  gstreamer-1.0.5-1  gtk3-3.6.4-1  iptables-1.4.16.3-1  libburn-1.2.6-1
                libisofs-1.2.6-1  nss-3.14.1.1.93-1  nss-myhostname-0.3-3 [removal]  pango-1.32.5-1  polkit-0.109-1
                sqlite-3.7.15.2-1  systemd-197-1  systemd-manjaro-units-20121123-1 [removal]  thunderbird-17.0.2-1
                thunderbird-i18n-es-es-17.0.2-1  udisks2-2.0.1-1  upower-0.9.19-1  xdg-utils-1.1.0.git20121008-2  xterm-288-1

Tamaño de descarga:     60,20 MiB
Tamaño instalado:       221,66 MiB
Tamaño a actualizar:    2,40 MiB

The update delete nss-myhostname  and systemd-manjaro-units-20121123-1, so is this right for the system?
i doubt.
Title: Re: Conflict upgrading in unstable repo
Post by: Culinax on 11. January 2013, 11:07:38
It's safe to say yes to everything, I did the same and I'm still alive.

nss-myhostname is a plugin for systemd, but now it's integrated in the systemd package, so replacing it actually won't do anything.

Edit: I wasn't completely right there. The packages are just pulled together, not integrated.
Edit: It seems like it's not a plugin for systemd either haha. It just guarantees that the hostname stays resolvable even if it changes. More info here: http://0pointer.de/lennart/projects/nss-myhostname/
Edit: Such a fail post xD
Title: Re: Conflict upgrading in unstable repo
Post by: jjrojo on 11. January 2013, 11:10:19
And systemd-manjaro-units-20121123?
Title: Re: Conflict upgrading in unstable repo
Post by: Culinax on 11. January 2013, 11:13:02
I can't say for sure but I think that it'll be the same there, that the manjaro units are just pulled together with the systemd package.
Title: Re: Conflict upgrading in unstable repo
Post by: jjrojo on 11. January 2013, 11:36:07
I try to find the sources, but i don't have luck.
Maybe comparing new systemd with nss-hostname and systemd-manjaro-units.
Or some developer could bring some light to that.
Title: Re: Conflict upgrading in unstable repo
Post by: Culinax on 11. January 2013, 12:00:06
Found this: https://github.com/guinux/systemd-manjaro-units

And this which shows that Fedora already pulled them together: https://fedoraproject.org/wiki/Features/nssmyhostname#Scope

Btw, you're changing to unstable, so that means things will change right? If you're so afraid of it maybe the testing repo might be better for you.
Title: Re: Conflict upgrading in unstable repo
Post by: philm on 11. January 2013, 12:59:17
Hi friends. Updating might be a little confusing. It is always good to take a look at our changelogs (http://git.manjaro.org/packages-sources/basis/commits/master). You are questioning now followed commit (http://git.manjaro.org/packages-sources/basis/commit/a38f40f692baa0af6d59d79eb2c9d012f8cbdb3b). Here is your answer:

Quote from: SystemD News
197-1 -merge manjaro-systemd-units with systemd
         -nss-myhostname got merged by upstream

It is save to say "Yes" ...
Title: Re: Conflict upgrading in unstable repo
Post by: jjrojo on 11. January 2013, 14:04:43
Thanks Culinax and philm.
From now on I will look the changelog before an upgrade confusing.