Trouble with timekpr installation in Ubuntu

Asked by tmfdia

I was having problems installing timekpr, so I went through the steps as shown in the various questions/answers in this forum and made progress until this last problem.

When trying to run either timekpr or timekpr-gui, I get error messages. In an attempt to correct the remaining errors I put in the following commands (and results)

tmfdia@ubuntu-desktop:~$ gksu timekpr
Error: Could not find timekpr section in '/etc/security/time.conf'

tmdia@ubuntu-desktop:~$ gksu timekpr-gui
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
 GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Error: Could not find timekpr section in '/etc/security/access.conf'

I can see that I need a timekpr section in access.conf for both timekpr & timekpr-gui, but I do not know how to format that section.

I am not sure what to make of the other error so am even less sure as to its correction. Any and all help is appreciated.

Thank you.
tmfdia

P.S. I am running Karmic Koala (Ubuntu 9.1)

Question information

Language:
English Edit question
Status:
Solved
For:
timekpr Edit question
Assignee:
No assignee Edit question
Solved by:
Savvas Radevic
Solved:
Last query:
Last reply:
Revision history for this message
Best Savvas Radevic (medigeek) said :
#1

> P.S. I am running Karmic Koala (Ubuntu 9.1)

That's the key-phrase. :)

Did you try to install the debian package from the timekpr maintainers
PPA archive?
As the main page ( https://launchpad.net/timekpr/ ) mentions:
"
2. The stable version can be found here, in the timekpr-maintainers PPA:
https://launchpad.net/~timekpr-maintainers/+archive/ppa
"

Before you install the package, ** PLEASE ** remove any files you have
installed and/or edited. :)
You can install the ppa by executing the following commands in Gnome
Terminal application:

sudo add-apt-repository ppa:timekpr-maintainers/ppa
sudo apt-get update
sudo apt-get install timekpr

Thanks for trying out timekpr!

Revision history for this message
tmfdia (tmfdia) said :
#2

Got it done, thanks. When I first tried the instructions from the main page,
when I got to the 'sudo apt-get update' command, at the end of the operation,
was the following:

Err https://launchpad.net karmic/main Packages
  The requested URL returned error: 404
Err https://launchpad.net karmic/main Sources
  The requested URL returned error: 404
Fetched 66.9kB in 11s (5,848B/s)
W: Failed to fetch https://launchpad.net/~timekpr-maintainers/+archive/ppa/dists/karmic/main/binary-i386/Packages.gz The requested URL returned error: 404

W: Failed to fetch https://launchpad.net/~timekpr-maintainers/+archive/ppa/dists/karmic/main/source/Sources.gz The requested URL returned error: 404

E: Some index files failed to download, they have been ignored, or old ones used instead.

so I thought it had failed, so I went & tried installing manually and so got
to the dead end in my question.

Thanks,

tmfdia

Revision history for this message
tmfdia (tmfdia) said :
#3

Thanks Savvas Radevic, that solved my question.

Revision history for this message
Savvas Radevic (medigeek) said :
#4

The deb repository lines are listed if you click the "Technical
details" at the ppa page:
https://launchpad.net/~timekpr-maintainers/+archive/ppa

deb http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu karmic main