You are not logged in.

#1 2014-10-16 19:13:49

monkeypants
Member
Registered: 2014-08-18
Posts: 64

[SOLVED] Installing and running ufoai

I'm interested in playing UFO: AI which is available in the official repositories.  For some reason, the 3GB+ download takes 0 seconds.  Predictably, it doesn't work.  Here's a log of my steps

[codemonkey@monkeybox ~]$ ufoai
bash: ufoai: command not found
[codemonkey@monkeybox ~]$ sudo pacman -S ufoai
resolving dependencies...
looking for inter-conflicts...

Packages (2): ufoai-data-2.5.0-3  ufoai-2.5.0-3

Total Installed Size:   3398.03 MiB

:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring                    
(2/2) checking package integrity                  
(2/2) loading package files                       
(2/2) checking for file conflicts                 
(2/2) checking available disk space               
(1/2) installing ufoai-data                       
(2/2) installing ufoai                            
[codemonkey@monkeybox ~]$ ufoai
bash: ufoai: command not found
[codemonkey@monkeybox ~]$ ufo-ai
bash: ufo-ai: command not found
[codemonkey@monkeybox ~]$ sudo pacman -U ufoai
loading packages...
error: 'ufoai': could not find or read package
[codemonkey@monkeybox ~]$ sudo pacman -S ufoai
warning: ufoai-2.5.0-3 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): ufoai-2.5.0-3

Total Installed Size:   3.55 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                    
(1/1) checking package integrity                  
(1/1) loading package files                       
(1/1) checking for file conflicts                 
(1/1) checking available disk space               
(1/1) reinstalling ufoai                          
[codemonkey@monkeybox ~]$ ufoai
bash: ufoai: command not found
[codemonkey@monkeybox ~]$ 

I must stress that I have tried to install this in the past without success, so the "no download time" may just be because I already have the required files.  I have no idea how to diagnose this which is why I'm in Newbie corner.

Last edited by monkeypants (2014-10-19 16:31:37)

Offline

#2 2014-10-16 19:17:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Installing and running ufoai

pacman -Ql will give you a list of files installed with a package. You can pipe that to grep if the list is too long to easily see what the executable binary is.

Offline

#3 2014-10-16 20:39:14

monkeypants
Member
Registered: 2014-08-18
Posts: 64

Re: [SOLVED] Installing and running ufoai

pacman -Ql | grep ufoai floods my terminal, and it all appears to be in /usr/share/ which is really not what I was expecting when I installed it since my home partition is where my data should be.

Also, why does -U flag say it couldn't find the package when -S flag says it's already installed?

Last edited by monkeypants (2014-10-16 20:39:54)

Offline

#4 2014-10-16 20:57:59

monkeypants
Member
Registered: 2014-08-18
Posts: 64

Re: [SOLVED] Installing and running ufoai

# ufoai

not installed

# sudo pacman -S ufoai

already installed

# sudo pacman -U ufoai

not installed


Please help.

Offline

#5 2014-10-16 20:59:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,559
Website

Re: [SOLVED] Installing and running ufoai

Read Scimmia's post, then do as he suggested.  No one else can help you if you don't accept the correct answer that has already been provideded.  There is no binary named ufoai, that is the package name.

As for pacman -U, that just makes no sense at all in this context - read the pacman man page if you'd like to know why.

If you want to grep the output, do something reasonable like what is suggested in the wiki for this question:
https://wiki.archlinux.org/index.php/FA … tart_it.3F


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2014-10-17 04:31:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Installing and running ufoai

monkeypants wrote:

pacman -Ql | grep ufoai floods my terminal, and it all appears to be in /usr/share/ which is really not what I was expecting when I installed it since my home partition is where my data should be.

Also, why does -U flag say it couldn't find the package when -S flag says it's already installed?

use pacman -Ql <pkgname>, not just -Ql. And don't grep for something you already know doesn't exist.

Offline

#7 2014-10-18 11:42:12

monkeypants
Member
Registered: 2014-08-18
Posts: 64

Re: [SOLVED] Installing and running ufoai

Trilby wrote:

Read Scimmia's post, then do as he suggested.  No one else can help you if you don't accept the correct answer that has already been provideded.  There is no binary named ufoai, that is the package name.

As for pacman -U, that just makes no sense at all in this context - read the pacman man page if you'd like to know why.

If you want to grep the output, do something reasonable like what is suggested in the wiki for this question:
https://wiki.archlinux.org/index.php/FA … tart_it.3F

Thanks for the link, that's explained a few things I was unaware of.  I certainly did read Scimmia's post, but as a newbie I was unaware I needed to put the package name after -Ql, and you can imagine I found scanning through an 8500+ line file a bit daunting.

Scimmia wrote:

use pacman -Ql <pkgname>, not just -Ql. And don't grep for something you already know doesn't exist.

This worked out for me, thank you for the help.

Offline

Board footer

Powered by FluxBB