pm-utils breakage

# zypper addrepo http://download.opensuse.org/repositories/utilities/openSUSE_Tumbleweed/utilities.repo

# zypper refresh

# zypper install pm-utils
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: pm-utils-1.4.1-102.1.x86_64 requires upower, but this requirement cannot be provided
 Solution 1: do not install pm-utils-1.4.1-102.1.x86_64
 Solution 2: do not install pm-utils-1.4.1-102.1.x86_64
 Solution 3: break pm-utils-1.4.1-102.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): c

# cnf upower
                      
Program 'upower' is present in package 'upower', which is installed on your system.

Absolute path to 'upower' is '/usr/bin/upower'. Please check your $PATH variable to see whether it contains the mentioned path.

# zypper install pm-utils
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: pm-utils-1.4.1-102.1.x86_64 requires upower, but this requirement cannot be provided
 Solution 1: do not install pm-utils-1.4.1-102.1.x86_64
 Solution 2: do not install pm-utils-1.4.1-102.1.x86_64
 Solution 3: break pm-utils-1.4.1-102.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 3
Resolving dependencies...
Resolving package dependencies...

Problem: installed systemd-224-3.1.x86_64 obsoletes pm-utils <= 1.4.1 provided by pm-utils-1.4.1-102.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of systemd-224-3.1.x86_64
  deinstallation of yast2-x11-3.1.4-1.1.x86_64
  deinstallation of yast2-installation-3.1.163-1.1.noarch
  deinstallation of xinetd-2.3.15-10.1.x86_64
  deinstallation of xdm-1.1.11-16.1.x86_64
  deinstallation of wpa_supplicant-2.4-4.3.x86_64
   ... about twenty million more lines ... ]
  architecture change of libofx-0.9.10-1.3.x86_64 to libofx-0.9.10-1.3.i586
  architecture change of opensp-1.5.2-201.4.x86_64 to opensp-1.5.2-201.4.i586
  architecture change of libgit2-23-0.23.3-1.1.x86_64 to libgit2-23-0.23.3-1.1.i586
  architecture change of libhttp-parser-suse0-2.6.0-1.1.x86_64 to libhttp-parser-suse0-2.6.0-1.1.i586
  architecture change of libgps22-3.15-75.3.x86_64 to libgps22-3.15-75.3.i586
 Solution 2: do not install pm-utils-1.4.1-102.1.x86_64

Choose from above solutions by number or cancel [1/2/c] (c): c

Massive breakage here chaps. It’s way too late in my timezone and I’m way too (expletive of the sort the mods here abhor for some puritanical reason) exhausted to do anything else than crawling into bed, so if anyone here would care to file a bug report for me on the above, that would be grand. Cheers.

Hi
Why, the package has been dropped…
http://lists.opensuse.org/opensuse-factory/2013-11/msg00911.html
https://build.opensuse.org/package/show/utilities/pm-utils

I guess that would explain why it doesn’t work then. I expect it will eventually disappear from the repo?

Also, from Vojtěch’s message linked above:

systemd can handle (sort of) suspend and hibernation

Ok, so how do I suspend / hibernate a machine from the command line then, in the absence of pm-utils? Any ideas?

systemctl suspend

For more info ‘man systemd-sleep’

or

http://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html