Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-24 Thread Adam Carter
>
> Ok, thanks. The system profile warning below had me worried, but from what
> you're said it appears that the warning is generated on an unsophisticated
> check, and in this case is a false positive.
>
> # emerge -pv --depclean sys-apps/openrc net-misc/netifrc sys-apps/sysvinit
>
>
FYI the rebuild of systemd automatically removes sys-apps/sysvinit for you,
which is nice. So its just;
emerge --depclean sys-apps/openrc net-misc/netifrc
emerge -N systemd

And its done.


Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-24 Thread Neil Bothwick
On Sun, 24 Dec 2017 13:11:08 +1100, Adam Carter wrote:

> > > But virtual/service-manager is using openrc. How do i point this to
> > > systemd?  
> >
> > By having systemd installed. A virtual is just a list of packages that
> > provide the functionality needed. As long as one of them is
> > installed, it is happy. If not, it installs the first in the list.
> >  
> 
> Ok, thanks. The system profile warning below had me worried, but from
> what you're said it appears that the warning is generated on an
> unsophisticated check, and in this case is a false positive.
> 
> # emerge -pv --depclean sys-apps/openrc net-misc/netifrc
> sys-apps/sysvinit
> 
> Calculating dependencies... done!
>   sys-apps/sysvinit-2.88-r9 pulled in by:
> sys-apps/systemd-236-r1 requires sys-apps/sysvinit
> 
> >>> Calculating removal order...  
> 
> >>> These are the packages that would be unmerged:  
> 
>  net-misc/netifrc
> selected: 0.6.0
>protected: none
>  omitted: none
> 
> 
> !!! 'sys-apps/openrc' (virtual/service-manager) is part of your system
> profile.
> !!! Unmerging it may be damaging to your system.

That's probably because openrc is installed at the top of the list of
deps in the virtual. I saw the same warning and everything is still
working.



-- 
Neil Bothwick

The cow is nothing but a machine which makes grass fit for us people to
eat.


pgpIZU19DYZo_.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-23 Thread Adam Carter
On Sun, Dec 24, 2017 at 7:04 AM, Neil Bothwick  wrote:

> On Sat, 23 Dec 2017 11:32:16 +1100, Adam Carter wrote:
>
> > But virtual/service-manager is using openrc. How do i point this to
> > systemd?
>
> By having systemd installed. A virtual is just a list of packages that
> provide the functionality needed. As long as one of them is installed, it
> is happy. If not, it installs the first in the list.
>

Ok, thanks. The system profile warning below had me worried, but from what
you're said it appears that the warning is generated on an unsophisticated
check, and in this case is a false positive.

# emerge -pv --depclean sys-apps/openrc net-misc/netifrc sys-apps/sysvinit

Calculating dependencies... done!
  sys-apps/sysvinit-2.88-r9 pulled in by:
sys-apps/systemd-236-r1 requires sys-apps/sysvinit

>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 net-misc/netifrc
selected: 0.6.0
   protected: none
 omitted: none


!!! 'sys-apps/openrc' (virtual/service-manager) is part of your system
profile.
!!! Unmerging it may be damaging to your system.


 sys-apps/openrc
selected: 0.34.11
   protected: none
 omitted: none

All selected packages: =net-misc/netifrc-0.6.0 =sys-apps/openrc-0.34.11


Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-23 Thread Neil Bothwick
On Sat, 23 Dec 2017 11:32:16 +1100, Adam Carter wrote:

> But virtual/service-manager is using openrc. How do i point this to
> systemd?

By having systemd installed. A virtual is just a list of packages that
provide the functionality needed. As long as one of them is installed, it
is happy. If not, it installs the first in the list.


-- 
Neil Bothwick

Dream as if you'll live forever. Live as if you'll die today.


pgpLkKnSdphmV.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread Adam Carter
>
> sys-apps/openrc is probably in your world file. Either remove it, or
> disable the "sysv-utils" USE flag on sys-apps/systemd.
>
> I'd like to trying going the other way. so i'll first;
quickpkg sys-apps/openrc net-misc/netifrc sys-apps/sysvinit

But virtual/service-manager is using openrc. How do i point this to systemd?

Then i guess I  would just;
emerge --depclean sys-apps/openrc net-misc/netifrc sys-apps/sysvinit
emerge -N systemd

Right?


Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread Rich Freeman
On Fri, Dec 22, 2017 at 9:37 AM, John Covici  wrote:
>
> Yep, putting -sysv-utils for systemd fixes things right up!  I hope
> there is no strange consequences by disabling this flag, but we shall
> see.
>

None that I've seen.  Systemd has always been backwards-compatible
with the sysvinit shutdown/reboot/etc tools.  I don't think they have
any plans to change that.

-- 
Rich



Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread John Covici
On Fri, 22 Dec 2017 06:25:56 -0500,
Mike Gilbert wrote:
> 
> On Fri, Dec 22, 2017 at 5:02 AM, John Covici  wrote:
> > Hi.  So, after two weeks, I finally got my emerge -e world finished.
> > Now  I was trying my regular world update with --deep, etc., but I get
> > an impossible situation.  It seems openrc is now blocking systemd, but
> > I apparently need both.
> 
> sys-apps/openrc is probably in your world file. Either remove it, or
> disable the "sysv-utils" USE flag on sys-apps/systemd.
> 

Thanks everyone, I will check this out and let people know if it
works.

Yep, putting -sysv-utils for systemd fixes things right up!  I hope
there is no strange consequences by disabling this flag, but we shall
see.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread Mike Gilbert
On Fri, Dec 22, 2017 at 5:02 AM, John Covici  wrote:
> Hi.  So, after two weeks, I finally got my emerge -e world finished.
> Now  I was trying my regular world update with --deep, etc., but I get
> an impossible situation.  It seems openrc is now blocking systemd, but
> I apparently need both.

sys-apps/openrc is probably in your world file. Either remove it, or
disable the "sysv-utils" USE flag on sys-apps/systemd.



Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread Helmut Jarausch

On 12/22/2017 11:02:14 AM, John Covici wrote:

Hi.  So, after two weeks, I finally got my emerge -e world finished.
Now  I was trying my regular world update with --deep, etc., but I get
an impossible situation.  It seems openrc is now blocking systemd, but
I apparently need both.



I've noticed this, as well.
I think this is due to a change in a USE flag for systemd (+sysv-utils).
Therefore, I have added
sys-apps/systemd openrc python_targets_python2_7 abi_x86_32 -sysv-utils

to /etc/portage/package.use

With this, both, openrc and systemd build just fine.

My init system is openrc, and with this all seems to work just fine.

Helmut



[gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread John Covici
Hi.  So, after two weeks, I finally got my emerge -e world finished.
Now  I was trying my regular world update with --deep, etc., but I get
an impossible situation.  It seems openrc is now blocking systemd, but
I apparently need both.

Here is the output from emerge.

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-236-r1:0/2::gentoo, ebuild scheduled for merge) pulled in by
sys-apps/systemd[pam] required by 
(sys-auth/pambase-20150213-r1:0/0::gentoo, installed)
>=sys-apps/systemd-209:0= required by 
(net-misc/networkmanager-1.10.0:0/0::gentoo, installed)
sys-apps/systemd:0= required by (net-fs/samba-4.7.3:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (sys-apps/dbus-1.12.2:0/0::gentoo, 
installed)

sys-apps/systemd:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
 (sys-apps/systemd:0=[abi_x86_64(-)]) required by 
(media-sound/pulseaudio-11.1:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (net-fs/samba-4.7.3:0/0::gentoo, 
installed)
>=sys-apps/systemd-206:0/2= required by 
(gnome-base/gvfs-1.32.1:0/0::gentoo, installed)
sys-apps/systemd required by 
(gnome-base/gnome-settings-daemon-3.24.3:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (net-vpn/libreswan-3.22:0/0::gentoo, 
installed)
sys-apps/systemd required by (net-print/cups-2.2.6:0/0::gentoo, installed)
sys-apps/systemd required by (sys-apps/util-linux-2.31-r1:0/0::gentoo, 
installed)
sys-apps/systemd:0= required by (dev-python/python-systemd-233:0/0::gentoo, 
installed)
>=sys-apps/systemd-183:0/2= required by 
(gnome-base/gnome-session-3.24.1:0/0::gentoo, installed)
sys-apps/systemd:0= required by (net-vpn/libreswan-3.22:0/0::gentoo, 
installed)
>=sys-apps/systemd-186:0= required by 
(sys-apps/accountsservice-0.6.45:0/0::gentoo, installed)
>=sys-apps/systemd-183:0= required by 
(gnome-base/gnome-session-3.24.1:0/0::gentoo, installed)
>=sys-apps/systemd-31 required by 
(gnome-base/gnome-control-center-3.24.3:2/2::gentoo, installed)
>=sys-apps/systemd-209 required by (sys-fs/udisks-2.7.5:2/2::gentoo, 
installed)
sys-apps/systemd required by (dev-db/postgresql-10.1:10/10::gentoo, 
installed)
sys-apps/systemd:0/2=[abi_x86_64(-)] required by 
(media-sound/pulseaudio-11.1:0/0::gentoo, installed)
>=sys-apps/systemd-186:0/2= required by 
(sys-apps/accountsservice-0.6.45:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (sys-auth/polkit-0.113-r4:0/0::gentoo, 
installed)
sys-apps/systemd:= required by (dev-qt/qtcore-5.9.3:5/5.9::gentoo, ebuild 
scheduled for merge)
>=sys-apps/systemd-209:0/2= required by 
(net-misc/networkmanager-1.10.0:0/0::gentoo, installed)
>=sys-apps/systemd-207 required by 
(sys-apps/gentoo-systemd-integration-7:0/0::gentoo, installed)
>=sys-apps/systemd-205:0= required by (sys-fs/lvm2-2.02.166-r2:0/0::gentoo, 
installed)
>=sys-apps/systemd-44:0/2= required by (x11-misc/colord-1.3.4:0/2::gentoo, 
installed)
sys-apps/systemd required by (net-vpn/openvpn-2.4.4:0/0::gentoo, installed)
sys-apps/systemd required by (virtual/tmpfiles-0:0/0::gentoo, installed)
>=sys-apps/systemd-183 required by 
(net-misc/modemmanager-1.6.4:0/1::gentoo, installed)
sys-apps/systemd required by @selected
sys-apps/systemd required by (sys-process/procps-3.3.12-r1:0/5::gentoo, 
installed)
sys-apps/systemd required by (net-wireless/bluez-5.47-r1:0/3::gentoo, 
installed)
sys-apps/systemd:= required by (net-nds/rpcbind-0.2.4-r1:0/0::gentoo, 
installed)
sys-apps/systemd required by (app-admin/syslog-ng-3.13.2:0/0::gentoo, 
ebuild scheduled for merge)
sys-apps/systemd:0/2= required by 
(dev-python/python-systemd-233:0/0::gentoo, installed)
>=sys-apps/systemd-44:0= required by (x11-misc/colord-1.3.4:0/2::gentoo, 
installed)
sys-apps/systemd:0= required by (sys-apps/dbus-1.12.2:0/0::gentoo, 
installed)
>=sys-apps/systemd-217:0 required by (virtual/udev-217:0/0::gentoo, 
installed)
>=sys-apps/systemd-206:0= required by (gnome-base/gvfs-1.32.1:0/0::gentoo, 
installed)
>=sys-apps/systemd-205:0/2= required by 
(sys-fs/lvm2-2.02.166-r2:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (net-nds/rpcbind-0.2.4-r1:0/0::gentoo, 
installed)

>=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
 (>=sys-apps/systemd-212-r5:0/2[abi_x86_32(-),abi_x86_64(-)]) required by 
(virtual/libudev-232:0/1::gentoo, installed)
sys-apps/systemd:0= required by (sys-auth/polkit-0.113-r4:0/0::gentoo, 
installed)
sys-apps/systemd required by (x11-base/xorg-server-1.19.5:0/1.19.5::gentoo, 
installed)

  (sys-apps/sysvinit-2.88-r9:0/0::gentoo,