LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Digikam Installation Problem. (https://www.linuxquestions.org/questions/linux-software-2/digikam-installation-problem-941087/)

BreezyCricket 04-22-2012 02:00 AM

Digikam Installation Problem.
 
I am using Debian and while installing Digikam my machine shut down unexpectedly.

I tried re-starting the installation again but the program told me to take a hike.

After some research I managed to get everything corrected and re-installed the program, but now can't find it.

When I check the software centre the option for this program is to 'remove' it, so I assume it did install correctly.

I certainly would appreciate any assistance in resolving this problem.

Many Thanks.

camorri 04-22-2012 06:30 AM

Quote:

so I assume it did install correctly.
To find out if it is installed correctly, open a konsole, and type 'digikam' ( no quotes ) and see if the application will start. If you get "command not found" it didn't install correctly.

If you get some other error message, post it.

GlennsPref 04-22-2012 06:35 AM

Hi, a good tool is "locate". It will find the listing in the file-database.

To be sure it (file-database) is up to date, type
Code:

updatedb
Them use locate to find the file...
Code:

locate digikam
The is probably in /usr/bin/ or /usr/local/bin/ (/usr/bin/digikam)

Another thing that could happen is when you upgrade a program and the link (shotcut) still points to the old file.

if updatedb does not work (usually fine) "symlinks" and "ldconfig" can repair this most of the time.

Look up the help pages for those apps.

HTH, Glenn

BreezyCricket 04-22-2012 10:21 AM

Thank you for both replies.

Typing 'digikam' from the terminal window opened the program and everything seems to work fine.

However, when I try 'updatedb' I get > updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'

and with 'Locate Digikam' I get > locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

Cheers.

camorri 04-22-2012 06:21 PM

You have to run updatedb as the root user. You can use 'locate' as a regular user. You will get reminders from locate if the data base is over eight days old. I set up a cron job that updates the db daily.


All times are GMT -5. The time now is 11:04 PM.