You are not logged in.
I would really appreciate some help with buiding gnome-power-manager.
I managed (I am absolutely new to all this), to build the package in /var/abs/local using makepkg
so now I have the file gnome-power-manager-2.13.91-1.pkg.tar.gz, how do I proceed from here? How do I actually install gnome-power-manager on my laptop?
I tried pacman -A , but it gave me a whole list of scrollkeeper messages, and then it says: errors occured, no packages were upgraded.
What am I doing wrong?
Thanks in advance...
Offline
Do it again, post up the "whole list of scrollkeeper messages", and any other errors, in the pastebin, and post the link here.
For future ref - if you want help with an error message, post the actual error message (or a link to it).
Offline
I used the pkgbuild and install from another thread:
pkgbuild:
pkgname=gnome-power-manager
pkgver=2.13.91
pkgrel=1
pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system."
url="http://www.gnome.org/projects/gnome-power-manager/"
license=""
depends=('hal' 'libgnomeui' 'libwnck')
makedepends=('gettext' 'intltool')
install=gnome-power-manager.install
source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.13/$pkgname-$pkgver.tar.bz2)
md5sums=('41f4e3f5cf11f8444ba37e7469d8680a')build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome
--with-dbus-sys=/etc/dbus-1/system.d
--with-dbus-services=/usr/share/dbus-1/services
#--disable-libnotify
make || return 1
make DESTDIR=$startdir/pkg install
}
install:
pkgname=gnome-power-manager
post_install() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
donekill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
update-desktop-database -q
}pre_upgrade() {
pre_remove $1
}post_upgrade() {
post_install $1
}pre_remove() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
donekill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}post_remove() {
update-desktop-database -q
}op=$1
shift$op $*
after makepkg I did pacman -A "packagename"
and the error output is the following:
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
gnome-power-manager: /var/lib/scrollkeeper/C/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/am/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/am/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/az/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/az/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/be/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/be/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ca/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ca/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/cs/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/cs/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/da/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/da/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/de/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/de/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/el/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/el/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/es/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/es/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/fr/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/fr/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/hu/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/hu/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/it/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/it/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ja/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ja/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/kn/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/kn/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ko/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ko/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/nl/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/nl/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/no/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/no/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/pl/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/pl/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/pt_BR/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/pt_BR/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ro/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ro/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ru/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/ru/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/scrollkeeper_docs: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sk/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sk/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sl/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sl/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sr/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sr/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sr@Latn/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sr@Latn/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sv/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/tr/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/tr/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/uk/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/uk/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/vi/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/vi/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/zh_CN/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/zh_CN/scrollkeeper_extended_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/zh_TW/scrollkeeper_cl.xml: exists in filesystem
gnome-power-manager: /var/lib/scrollkeeper/zh_TW/scrollkeeper_extended_cl.xml: exists in filesystemerrors occurred, no packages were upgraded.
I hope that somebody can help me, thanks
Offline
Pacman won't install a package if it includes files which already exist in your system. The first step is to use
pacman -Qo
to establish which package owns the disputed files. You then need to decide if you want that package to continue owning the files, or if you want to force the install of gnome-power-manager. In the longer term, you need to find a way to eliminate the conflict - I don't use this app, so I can't be specific, but maybe it has a --disable-scrollkeeper option?
Offline
Thanks!
pacman -Qo 'says' that no package owns the disputed files, so I decided to risk it and just delete them (well... I actually renamed them, just in case...).
And the package installed!
Thanks!
Offline