Re: Linux freeorion executable
Posted: Thu Mar 28, 2013 7:29 am
Thanks a lot for the update option! But why doesn't it work with sudo and I have to be superuser?
Cheers!
Cheers!
Forums for the FreeOrion project
https://www.freeorion.org/forum/
It does also work with sudo of course.sebar wrote:Thanks a lot for the update option! But why doesn't it work with sudo and I have to be superuser?
Cheers!
Nagilum wrote:Allright,
I managed to set up a repo today.
Nothing in there but the freeorion debs. In order to use it do:After that for installing:Code: Select all
echo 'deb http://www.nagilum.org/repo/ freeorion main' >>/etc/apt/sources.list.d/freeorion.list curl http://nagilum.org/repo/[email protected]|apt-key add -
And any updates should show up automagically...Code: Select all
apt-get update apt-get install freeorion
Code: Select all
sudo apt-add-repository 'deb http://www.nagilum.org/repo/ freeorion main'
Code: Select all
curl http://nagilum.org/repo/[email protected]|apt-key add
Code: Select all
shadowwraith@localhost:~$ sudo curl http://nagilum.org/repo/[email protected]|apt-key add
ERROR: This command can only be used by root.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1752 100 1752 0 0 10361 0 --:--:-- --:--:-- --:--:-- 20857
Now that you mention it, that line didn't work for me either, even as su. So instead I just fired up gedit as the superuser and added the line manually.shadowwraith wrote:Nagilum the command line string you posted above does not work ass the >> triggers a permission denied error even if sudo us used before echo
It works if you do it as root as I implied.shadowwraith wrote:Nagilum the command line string you posted above does not work ass the >> triggers a permission denied error even if sudo us used before echoNagilum wrote:Allright,
I managed to set up a repo today.
Nothing in there but the freeorion debs. In order to use it do:After that for installing:Code: Select all
echo 'deb http://www.nagilum.org/repo/ freeorion main' >>/etc/apt/sources.list.d/freeorion.list curl http://nagilum.org/repo/[email protected]|apt-key add -
And any updates should show up automagically...Code: Select all
apt-get update apt-get install freeorion
Again you misunderstand what is/needs to be done by sudo. The curl does not require root, the apt-key needs it. Unfortunately this pipe with sudo in front of apt-key will not work either because the curl output gets swallowed by sudo it seems.shadowwraith wrote:Code: Select all
shadowwraith@localhost:~$ sudo curl http://nagilum.org/repo/[email protected]|apt-key add ERROR: This command can only be used by root. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1752 100 1752 0 0 10361 0 --:--:-- --:--:-- --:--:-- 20857
Posted the key to http://pgp.mit.edu/ - not sure how this will help but no harm in trying..shadowwraith wrote:you need to post your public key otherwise users are going to get constant "Not authenticated" complaints from apt/synaptic or Software centre.
Failed to fetch http://www.nagilum.org/repo/dists/freeorion/Release Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Some index files failed to download. They have been ignored, or old ones used instead.
Yes, a few months back.shadowwraith wrote:Nagilum have you changed your repo?, as apt is now returning the following error whenever i run apt-get update
I think this means you have a "deb-src http://www.nagilum.org/repo/ freeorion main" line in your sources.list.shadowwraith wrote:Failed to fetch http://www.nagilum.org/repo/dists/freeorion/Release Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Some index files failed to download. They have been ignored, or old ones used instead.
Code: Select all
sudo apt-add-repository
Tried to download the new build via the link in the original post, but got the following error message:Nagilum wrote:Updated to builds to rev 5983.
Code: Select all
Not Found
The requested URL /FreeOrion-5983-Linux-Test.tar.xz was not found on this server.
Code: Select all
sudo apt-add-repository 'deb http://www.nagilum.org/repo/ freeorion main'
curl http://nagilum.org/repo/[email protected] > ~freeorion.key
sudo apt-key add ~freeorion.key
rm -f ~freeorion.key
sudo apt-get update
sudo apt-get install freeorion