Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Am I being forced to use systemd now?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Locked
Advanced search
483 posts
  • Page 3 of 20
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 20
  • Next
Author
Message
patrix_neo
Guru
Guru
User avatar
Posts: 520
Joined: Thu Jan 08, 2004 1:59 pm
Location: The Maldives

Post by patrix_neo » Wed Jun 04, 2014 7:33 pm

Hu wrote:GNOME users are stuck with it. Most others are not. You did not provide the full package dependency tree, so we cannot see why you are scheduled to merge the packages which require systemd. Mask systemd and the immediate reverse dependencies for it, then try again.

Code: Select all

# Lennart
sys-apps/systemd
sys-power/upower
sys-apps/gentoo-systemd-integration

Thank you. This was not in the news read and it fixed it for me. Anyways...Lennart van der Fart von Poettering - I don't like you muy bien.
Top
mackal
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Thu Aug 04, 2011 5:58 am
Contact:
Contact mackal
Website

Post by mackal » Thu Jun 05, 2014 3:46 am

patrix_neo wrote:This was not in the news read and it fixed it for me.
That's because it shouldn't be needed. I'm guessing something on your system is set up in a way that causes issues (either something masked that shouldn't be or an older ebuild that needs to be updated [maybe in an overlay?])

I would recommend trying to figure out what is causing the issue and fixing it, it will probably cause more issues down the road for you is all.
Top
andreios
n00b
n00b
Posts: 7
Joined: Thu Jun 05, 2014 8:52 am

the absence of any logic

Post by andreios » Thu Jun 05, 2014 8:58 am

Dear Developer, please don't go with stupid.

Today I have tried to update my system as result it asked me to install systemd because upower wants it

Code: Select all

  (sys-apps/systemd-212-r5::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-apps/systemd-200 required by (sys-power/upower-0.9.23-r3::gentoo, ebuild scheduled for merge)
    >=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-4::gentoo, ebuild scheduled for merge)
But upower seems to have a new use flag:

Code: Select all

[ebuild     U  ] sys-power/upower-0.9.23-r3 [0.9.23-r2] USE="introspection -doc -ios (-systemd%)" 0 kB
yeah, I understand master, just turn my brain off and use systemd now.... 8O
Top
xaviermiller
Bodhisattva
Bodhisattva
User avatar
Posts: 8738
Joined: Fri Jul 23, 2004 6:49 pm
Location: ~Brussels - Belgique
Contact:
Contact xaviermiller
Website

Post by xaviermiller » Thu Jun 05, 2014 9:01 am

Did you read the news ? upower is for systemd, upower-pm-utils is for non-systemd.
Kind regards,
Xavier Miller
Top
andreios
n00b
n00b
Posts: 7
Joined: Thu Jun 05, 2014 8:52 am

Post by andreios » Thu Jun 05, 2014 9:11 am

XavierMiller wrote:Did you read the news ? upower is for systemd, upower-pm-utils is for non-systemd.
Yeah, ok.
I have upower uninstalled now!

But when I update world, it wants to pull in upower

pretty logic to me, when it is for systemd and i have no systemd !!!
Top
xaviermiller
Bodhisattva
Bodhisattva
User avatar
Posts: 8738
Joined: Fri Jul 23, 2004 6:49 pm
Location: ~Brussels - Belgique
Contact:
Contact xaviermiller
Website

Post by xaviermiller » Thu Jun 05, 2014 9:21 am

did you installed upower-pm-utils ?
If not, upower will be pushed.
Kind regards,
Xavier Miller
Top
andreios
n00b
n00b
Posts: 7
Joined: Thu Jun 05, 2014 8:52 am

Post by andreios » Thu Jun 05, 2014 9:25 am

XavierMiller wrote:did you installed upower-pm-utils ?
If not, upower will be pushed.

Usual Gentoo's dependence system works very well, most of the time. I just wonder why this can't be handled by portage.
Top
leifbk
Guru
Guru
User avatar
Posts: 431
Joined: Mon Jan 05, 2004 9:18 am
Location: Bærum, Norway
Contact:
Contact leifbk
Website

Re: An alternative

Post by leifbk » Thu Jun 05, 2014 9:37 am

dmoulding wrote:
BT wrote:If you're not using systemd, you need remove sys-power/upower and install sys-power/upower-pm-utils.
Or, if you are like me and you couldn't care less about power-management bells and whistles, just get rid of upower altogether: add "-upower" to your USE flags in make.conf. Doing that just made my life a lot simpler.
Thanks, you made my day :)
Grumpy old man
Top
xaviermiller
Bodhisattva
Bodhisattva
User avatar
Posts: 8738
Joined: Fri Jul 23, 2004 6:49 pm
Location: ~Brussels - Belgique
Contact:
Contact xaviermiller
Website

Post by xaviermiller » Thu Jun 05, 2014 9:37 am

It is handled, but provided upower by default.
Kind regards,
Xavier Miller
Top
NaiL
Apprentice
Apprentice
User avatar
Posts: 228
Joined: Thu Feb 13, 2003 2:28 pm
Location: Spain/BCN

Post by NaiL » Thu Jun 05, 2014 9:55 am

My bad, I wrongly understood that gentoo uses systemd now on because of this.

I did all the steps in the wiki to migrate to systemd. Now I'm dealing with the systemd nightmare with no reason. :(

I hope you can avoid my mistake.
Last edited by NaiL on Thu Jun 05, 2014 11:07 am, edited 1 time in total.
Top
xaviermiller
Bodhisattva
Bodhisattva
User avatar
Posts: 8738
Joined: Fri Jul 23, 2004 6:49 pm
Location: ~Brussels - Belgique
Contact:
Contact xaviermiller
Website

Post by xaviermiller » Thu Jun 05, 2014 10:15 am

Gentoo don't use systemd by default. You still have the choice.
Kind regards,
Xavier Miller
Top
NaiL
Apprentice
Apprentice
User avatar
Posts: 228
Joined: Thu Feb 13, 2003 2:28 pm
Location: Spain/BCN

Post by NaiL » Thu Jun 05, 2014 10:17 am

It is too late for me, but save yourselves from systemd! :_(
Top
andreios
n00b
n00b
Posts: 7
Joined: Thu Jun 05, 2014 8:52 am

Post by andreios » Thu Jun 05, 2014 10:19 am

XavierMiller wrote:It is handled, but provided upower by default.
So upower is provided by default -> so systemd is provided by default? This makes no sense.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

Post by i92guboj » Thu Jun 05, 2014 10:20 am

XavierMiller wrote:It is handled, but provided upower by default.
I know that most times things like this happen because users are unable to read what they have just in front of their faces.

But we have to admit as well that having upower, and thus systemd, as a default is quite strange for a distro that's not supposed to default to systemd. :lol: I guess some bug filling is due here.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

Post by Naib » Thu Jun 05, 2014 10:51 am

NaiL wrote:My bad, I understand that gentoo now uses systemd because of this, I did all the steps in the wiki to migrate to systemd, resulting in non-usable system.
STOP SPREADING FUD!
Gentoo uses systemd as much as it uses vanilla-sources for its kernel or lilo for its boot manager.

The user has a choice, Gentoo ONLY forces python,bash,portage (plus a few other little things) to ensure the system can be managed. EVERYTHING else is purely dependencies of user chosen packages.

upower (upstream) changed to depend on systemd. If you CHOOSE to stay with upower obviously you will need systemd because upower demands it.
specifics surrounding upower on gentoo and co are different and are ~arch specific iirc, testing ground for mitigation.
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
NaiL
Apprentice
Apprentice
User avatar
Posts: 228
Joined: Thu Feb 13, 2003 2:28 pm
Location: Spain/BCN

Post by NaiL » Thu Jun 05, 2014 11:08 am

Naib wrote:
NaiL wrote:My bad, I understand that gentoo now uses systemd because of this, I did all the steps in the wiki to migrate to systemd, resulting in non-usable system.
STOP SPREADING FUD!
Gentoo uses systemd as much as it uses vanilla-sources for its kernel or lilo for its boot manager.

The user has a choice, Gentoo ONLY forces python,bash,portage (plus a few other little things) to ensure the system can be managed. EVERYTHING else is purely dependencies of user chosen packages.

upower (upstream) changed to depend on systemd. If you CHOOSE to stay with upower obviously you will need systemd because upower demands it.
specifics surrounding upower on gentoo and co are different and are ~arch specific iirc, testing ground for mitigation.
I edited my post, I hope you like it :)
Top
leifbk
Guru
Guru
User avatar
Posts: 431
Joined: Mon Jan 05, 2004 9:18 am
Location: Bærum, Norway
Contact:
Contact leifbk
Website

Post by leifbk » Thu Jun 05, 2014 11:21 am

Naib wrote:upower (upstream) changed to depend on systemd. If you CHOOSE to stay with upower obviously you will need systemd because upower demands it.
Then I think that portage should handle the transition to sys-power/upower-pm-utils automatically when systemd is not present as a use flag in make.conf. If I have understood correctly, this could be handled by a virtual.
Naib wrote:specifics surrounding upower on gentoo and co are different and are ~arch specific iirc, testing ground for mitigation.
I'm running stable amd64, and got this mess today.
Grumpy old man
Top
sk3l
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Sat Jul 14, 2012 11:57 am
Location: CT USA
Contact:
Contact sk3l
Website

Post by sk3l » Thu Jun 05, 2014 11:31 am

How does the "systemd" USE flag influence this situation?

I have -systemd set in make.conf.

When I look at the dependency graph for the current stable upower (0.9.23-r2), which I have installed, I see:

Code: Select all

 * dependency graph for sys-power/upower-0.9.23-r2
 `--  sys-power/upower-0.9.23-r2  amd64 
   `--  dev-libs/dbus-glib-0.100.2-r1  (>=dev-libs/dbus-glib-0.100) amd64 
   `--  dev-libs/glib-2.38.2-r1  (>=dev-libs/glib-2.22) amd64 
   `--  sys-apps/dbus-1.6.18-r1  (sys-apps/dbus) amd64 
   `--  sys-auth/polkit-0.112-r1  (>=sys-auth/polkit-0.110) amd64 
   `--  dev-libs/gobject-introspection-1.38.0  (dev-libs/gobject-introspection) amd64 
   `--  virtual/libusb-1-r1  (virtual/libusb) amd64 
   `--  virtual/udev-208-r1  (>=virtual/udev-200) amd64  [gudev]
   `--  app-pda/libimobiledevice-1.1.5  (>=app-pda/libimobiledevice-1) amd64 
   `--  app-pda/libplist-1.10  (>=app-pda/libplist-1) amd64 
   `--  dev-libs/libxslt-1.1.28-r1  (dev-libs/libxslt) amd64 
   `--  app-text/docbook-xsl-stylesheets-1.78.0  (app-text/docbook-xsl-stylesheets) amd64 
   `--  dev-util/intltool-0.50.2-r1  (dev-util/intltool) amd64 
   `--  virtual/pkgconfig-0  (virtual/pkgconfig) amd64 
   `--  dev-util/gtk-doc-1.20  (dev-util/gtk-doc) amd64 
   `--  app-text/docbook-xml-dtd-4.1.2-r6  (app-text/docbook-xml-dtd) amd64 
   `--  sys-power/pm-utils-1.4.1-r2  (>=sys-power/pm-utils-1.4.1) amd64 
   `--  app-shells/bash-4.2_p45  (app-shells/bash) amd64 
   `--  sys-apps/systemd-212-r5  (>=sys-apps/systemd-200) amd64
[ sys-power/upower-0.9.23-r2 stats: packages (19), max depth (1) ]
In my case, turning off the global "systemd" USE flag has seemingly prevented upower-0.9.23-r2 from pulling in systemd.

However, this state of affairs confuses me. If systemd is an optional dependency of upower-0.9.23-r2, as seems to be the case(?), then shouldn't the dependency graph have shown "sys-apps/systemd-212-r5 (systemd? >=sys-apps/systemd-200) amd64" instead?
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

Post by SamuliSuominen » Thu Jun 05, 2014 11:46 am

Naib wrote:upower (upstream) changed to depend on systemd. If you CHOOSE to stay with upower obviously you will need systemd because upower demands it.
That's wrong, you are oversimplifying a complex issue. New upower is meant also for non-systemd users.
XavierMiller wrote:Did you read the news ? upower is for systemd, upower-pm-utils is for non-systemd.
That's not what the news item said. That's oversimplifying the issue. It says "or" followed by "# emerge --oneshot --noreplace '>=sys-power/upower-0.99.0'" in the non-systemd section. Meaning that new UPower is for non-systemd users too.

If it had been easy as you make it sound, somekind of USE="systemd" would have been possible, and Portage would be able to solve it more sanely, but it's not that easy because Gentoo offers so many different setups to have, more than
other distributions.
Last edited by SamuliSuominen on Thu Jun 05, 2014 12:12 pm, edited 1 time in total.
Top
schorsch_76
Guru
Guru
User avatar
Posts: 452
Joined: Tue Jun 19, 2012 4:04 pm

Post by schorsch_76 » Thu Jun 05, 2014 11:54 am

Thank you ssuominen for your effort here! I did read gentoo-devel too ;)
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

Post by Naib » Thu Jun 05, 2014 12:27 pm

ssuominen wrote:
Naib wrote:upower (upstream) changed to depend on systemd. If you CHOOSE to stay with upower obviously you will need systemd because upower demands it.
That's wrong, you are oversimplifying a complex issue. New upower is meant also for non-systemd users.
It was over-simplified to stress gentoo doesn't actually demand stuff like this
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

Post by khayyam » Thu Jun 05, 2014 2:29 pm

Naib wrote:
NaiL wrote:My bad, I understand that gentoo now uses systemd because of this, I did all the steps in the wiki to migrate to systemd, resulting in non-usable system.
STOP SPREADING FUD!
Naib ... that doesn't read like FUD but a combination of language use (note they are located in Spain, and therefore probably not a native english speaker) and the fact that having being presented with systemd as a dependency had assumed this was a *necessary* upgrade path. That's an easy mistake to make given output from emerge.
Naib wrote:The user has a choice, Gentoo ONLY forces python,bash,portage (plus a few other little things) to ensure the system can be managed. EVERYTHING else is purely dependencies of user chosen packages.
Yes, but when systemd has the stated goal of a "standard base system", and when dependencies are "gently pushing" that "standard base system" then at some point there will be no "choice" involved but to adopt that "standard base system". For users who don't know how to go about avoiding said "gentle push" and have come to depend on various components working with their currently installed init then this "choice" is not simply a matter of "you have the choice", because that "choice" can involve technical understanding that the user may not have, and/or involve abandoning some functionality.

best ... khay
Top
Zwisel
n00b
n00b
User avatar
Posts: 24
Joined: Sat Sep 17, 2005 10:05 pm
Location: switzerland

Post by Zwisel » Thu Jun 05, 2014 2:45 pm

BT wrote:If you're not using systemd, you need remove sys-power/upower and install sys-power/upower-pm-utils.
+1
thanks, this fixed it for my xfce4 DE
Top
Zwisel
n00b
n00b
User avatar
Posts: 24
Joined: Sat Sep 17, 2005 10:05 pm
Location: switzerland

Post by Zwisel » Thu Jun 05, 2014 2:53 pm

khayyam wrote: Yes, but when systemd has the stated goal of a "standard base system", and when dependencies are "gently pushing" that "standard base system" then at some point there will be no "choice" involved but to adopt that "standard base system". For users who don't know how to go about avoiding said "gentle push" and have come to depend on various components working with their currently installed init then this "choice" is not simply a matter of "you have the choice", because that "choice" can involve technical understanding that the user may not have, and/or involve abandoning some functionality.
Funny post ;) but... I still have a choice and my choice is to NOT install systemd. And it is still working.
Of course it needs a bit technical understanding and a bit googling, too. But who's using Gentoo without this skills?! I expect this from a Gentoo-user, otherwise there are many "simpler" distros out there (even if I'm missing the comfort of Portage in most other distros :)).
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

Post by Naib » Thu Jun 05, 2014 2:58 pm

simpler distro's are using systemd.

I am sure at some point some REALLY nasty update will pretty much force systemd on the general user so much so that the effort to not use it will be a massive detriment to the end-user. But that isn't now (wait till apache/nginx depends on sysd for instance ..)
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Locked

483 posts
  • Page 3 of 20
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 20
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic