MegaGlest: Could not find the program 'megaglest'

Hi,

pinxi: Dump your "inxi -Fxxxza --no-host" here and bookmark it

Installed MegaGlest from Official Repositories, trying to run the game gives mentioned error.

# cat /usr/share/applications/megaglest.desktop
[Desktop Entry]
Categories=Game;StrategyGame;
Comment=A real time strategy game.
Name=MegaGlest
Icon=megaglest
Exec=megaglest
Terminal=false
Type=Application
Keywords=realtime;strategy;game;
# find / -iname 'megag*'
/var/cache/pacman/pkg/megaglest-data-3.13.0-2-any.pkg.tar.xz
/var/lib/pacman/local/megaglest-data-3.13.0-2
/usr/share/pixmaps/megaglest.xpm
/usr/share/pixmaps/megaglest.png
/usr/share/applications/megaglest_g3dviewer.desktop
/usr/share/applications/megaglest_editor.desktop
/usr/share/applications/megaglest.desktop
/usr/share/app-info/icons/archlinux-arch-community/64x64/megaglest-data_megaglest.png
/usr/share/menu/megaglest
/usr/share/megaglest
/usr/share/licenses/megaglest-data
/usr/share/appdata/megaglest_editor.appdata.xml
/usr/share/appdata/megaglest.appdata.xml
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied

There seems to be no executable in any bin/sbin.

Ideas?

Thanks

There should be
pkgfile -l megaglest
community/megaglest     /usr/
community/megaglest     /usr/bin/
community/megaglest     /usr/bin/megaglest
community/megaglest     /usr/bin/megaglest_editor
community/megaglest     /usr/bin/megaglest_g3dviewer
community/megaglest     /usr/share/
community/megaglest     /usr/share/megaglest/
community/megaglest     /usr/share/megaglest/editor.ico
community/megaglest     /usr/share/megaglest/g3dviewer.ico
community/megaglest     /usr/share/megaglest/glest.ini
community/megaglest     /usr/share/megaglest/glestkeys.ini
community/megaglest     /usr/share/megaglest/megaglest.ico
community/megaglest     /usr/share/megaglest/servers.ini
community/megaglest     /usr/share/megaglest/start_megaglest_gameserver

Try reinstalling:

sudo pacman -S megaglest
1 Like

I already reinstalled using Add/Remove Software twice, no change.
Still installed and doing

pkgfile --update
pkgfile -l megaglest

showed same output as yours.
Then

sudo pacman -S megaglest
resolving dependencies...
looking for conflicting packages...

Packages (5) ftgl-2.4.0-2  libircclient-1.10-3  miniupnpc-2.1.20190408-1  xerces-c-3.2.3-1  megaglest-3.13.0-7

Total Download Size:    5,27 MiB
Total Installed Size:  23,04 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 xerces-c-3.2.3-1-x86_64                                    1456,4 KiB  1259 KiB/s 00:01 [####################################################] 100%
 ftgl-2.4.0-2-x86_64                                         317,8 KiB  2,90 MiB/s 00:00 [####################################################] 100%
 libircclient-1.10-3-x86_64                                   75,2 KiB  3,06 MiB/s 00:00 [####################################################] 100%
 miniupnpc-2.1.20190408-1-x86_64                              38,9 KiB  3,80 MiB/s 00:00 [####################################################] 100%
 megaglest-3.13.0-7-x86_64                                     3,4 MiB  3,04 MiB/s 00:01 [####################################################] 100%
(5/5) checking keys in keyring                                                           [####################################################] 100%
(5/5) checking package integrity                                                         [####################################################] 100%
(5/5) loading package files                                                              [####################################################] 100%
(5/5) checking for file conflicts                                                        [####################################################] 100%
(5/5) checking available disk space                                                      [####################################################] 100%
:: Processing package changes...
(1/5) installing xerces-c                                                                [####################################################] 100%
(2/5) installing ftgl                                                                    [####################################################] 100%
(3/5) installing libircclient                                                            [####################################################] 100%
(4/5) installing miniupnpc                                                               [####################################################] 100%
(5/5) installing megaglest                                                               [####################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Seems Add/Remove Software did not install all because

Total Download Size:    5,27 MiB
Total Installed Size:  23,04 MiB

while the total size is 509,4 MB according Add/Remove Software.....?

Working now, thanks.

It is hard to say without seeing the specific output from Add/Remove software. Add/Remove software can install repo packages, AUR packages, snaps and flatpaks so maybe you installed one of those other formats instead of the repo package?

Nope, definitely Official Repositories.
Pamac History in Add/Remove Software:

[2020-07-17T19:25:54+0200] [ALPM] installed megaglest (3.13.0-7)
[2020-07-17T19:25:54+0200] [ALPM] installed miniupnpc (2.1.20190408-1)
[2020-07-17T19:25:54+0200] [ALPM] installed libircclient (1.10-3)
[2020-07-17T19:25:54+0200] [ALPM] installed ftgl (2.4.0-2)
[2020-07-17T19:25:54+0200] [ALPM] installed xerces-c (3.2.3-1)
[2020-07-17T19:24:04+0200] [ALPM] installed pkgfile (21-2)
[2020-07-17T18:58:55+0200] [ALPM] installed megaglest-data (3.13.0-2)
[2020-07-17T18:57:57+0200] [ALPM] removed megaglest-data (3.13.0-2)
[2020-07-16T20:33:30+0200] [ALPM] installed megaglest-data (3.13.0-2)

That last install (in terminal) shows a different version...?

I see what is wrong here.

In Add/Remove Software I installed the one with the shiny icon, MegaGlest (megaglest-data) but i should have installed the other called megaglest.

The icon was confusing making me think "that's the one".

Thanks so far.

1 Like

Forum kindly sponsored by