×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[solved] odroid: unable to install from ppa?

  • Posts: 2255
  • Thank you received: 223
so I've done the following on my odroid running Ubuntu 14.10
root@bigsmall:/var/cache/apt# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.10
Release:	14.10
Codename:	utopic
root@bigsmall:/var/cache/apt#

root@bigsmall:/etc/apt# apt-add-repository ppa:mutlaqja/ppa
 Latest INDI Library and drivers!
 More info: https://launchpad.net/~mutlaqja/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
 
gpg: keyring `/tmp/tmp5_e0t5vu/secring.gpg' created
gpg: keyring `/tmp/tmp5_e0t5vu/pubring.gpg' created
gpg: requesting key 3F33A288 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp5_e0t5vu/trustdb.gpg: trustdb created
gpg: key 3F33A288: public key "Launchpad INDI" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
root@bigsmall:/etc/apt# apt-add-repository ppa:mutlaqja/astrometry.net
 
 More info: https://launchpad.net/~mutlaqja/+archive/ubuntu/astrometry.net
Press [ENTER] to continue or ctrl-c to cancel adding it
 
gpg: keyring `/tmp/tmp91_80_bx/secring.gpg' created
gpg: keyring `/tmp/tmp91_80_bx/pubring.gpg' created
gpg: requesting key 3F33A288 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp91_80_bx/trustdb.gpg: trustdb created
gpg: key 3F33A288: public key "Launchpad INDI" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
root@bigsmall:/etc/apt#

following by the obligatory apt-get update command.


Now when I search for any package from the ppa repository, nothing comes up.
root@bigsmall:/var/cache/apt# apt-cache search indi-aagcloudwatcher
root@bigsmall:/var/cache/apt# apt-get install indi-aagcloudwatcher
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package indi-aagcloudwatcher
root@bigsmall:/var/cache/apt# 

I'm sure I'm doing something wrong somewhere, just can't figure it out.
Last edit: 9 years 1 month ago by Gonzothegreat.
9 years 1 month ago #3282

Please Log in or Create an account to join the conversation.

You can't install the PPA on ODroid. The PPA is only for x86 and 64, not Arm. Download the Raspberry PI package for ODroid, I didn't try installing it there.. if it doesn't work, I'll make an ODroid package.
9 years 1 month ago #3283

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
ah ok, makes sense now as to you I can't install anything from the ppa.
Would it be worth doing an Arm repos or do you think it's not necessary?

I'm installing the indi packages now from indilib.org/download/category/6-raspberry-pi.html
It worked in the past, no reason why it would not now on Odroid running 14.10
I was more after a stable updates of the indi packages.
9 years 1 month ago #3284

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Jasem,

How difficult would it be or time consuming to setup a repository for the Arm processor please in your PPA?
I'm using the deb packages from the download section but they are not kept up to date.

I fear that most of my late issues are due to the out-dated Raspberry PI packages which are not receiving regular updates like for Kstars-bleeding.
9 years 1 month ago #3337

Please Log in or Create an account to join the conversation.

I had ARM enabled but then I requested to disable it since quite a few packages were failing, will look into enabling it again. It will only be useful for ODroid or Ubuntu arm anyway and not Raspberry PI.
9 years 1 month ago #3338

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Thanks, your efforts are much appreciated.
As for the Raspberry PI, once you've tried an Odroid C1, you don't use a PI again..... lol

let us know when the Arm repo is setup please, at the moment I'm using Debian on the C1 but will swap back again to Ubuntu 14.10 just to get your repo and all the updates.
9 years 1 month ago #3340

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
I've re-installed Ubuntu 14.10 on my Odroid-C1 in readiness as to hen you'll get the Arm repo enabled again.
If it all fail, I need to look into a way to automatically build a deb package from a SVN repo, I'm sure that's possible.
9 years 1 month ago #3354

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
I've discovered the tool "checkinstall"
root@bigsmall:/home/indi-code/3rdparty/indi-eqmod_build# checkinstall --install=no --pkgname=indi-eqmod --pkgversion=0.2 --pkgrelease=r2048 -y
 
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.
 
 
The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: y
 
Preparing package documentation...OK
 
*** No known documentation files were found. The new package 
*** won't include a documentation directory.
 
*****************************************
**** Debian package creation selected ***
*****************************************
 
This package will be built according to these values: 
 
0 -  Maintainer: [ root@bigsmall ]
1 -  Summary: [ Package created with checkinstall 1.6.2 ]
2 -  Name:    [ indi-eqmod ]
3 -  Version: [ 0.2 ]
4 -  Release: [ r2048 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ armhf ]
8 -  Source location: [ indi-eqmod_build ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ indi-eqmod ]
12 - Conflicts: [  ]
13 - Replaces: [  ]
 
Enter a number to change any of them or press ENTER to continue: 
 
Installing with make install...
 
========================= Installation results ===========================
Scanning dependencies of target indi_eqmod_telescope
[  8%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmod.o
[ 16%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmoderror.o
[ 25%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/skywatcher.o
[ 33%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/simulator/simulator.o
[ 41%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/simulator/skywatcher-simulator.o
[ 50%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/align/align.o
[ 58%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/align/pointset.o
[ 66%] Building C object CMakeFiles/indi_eqmod_telescope.dir/align/htm.o
[ 75%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/align/triangulate.o
[ 83%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/align/triangulate_chull.o
[ 91%] Building C object CMakeFiles/indi_eqmod_telescope.dir/align/chull/chull.o
/home/indi-code/3rdparty/indi-eqmod/align/chull/chull.c: In function ‘AddOne’:
/home/indi-code/3rdparty/indi-eqmod/align/chull/chull.c:431:10: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘tFace’ [-Wformat=]
 
 
----SNIP----
 
 
/home/indi-code/3rdparty/indi-eqmod/align/chull/chull.c: In function ‘CheckEndpts’:
/home/indi-code/3rdparty/indi-eqmod/align/chull/chull.c:1061:13: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘tFace’ [-Wformat=]
             fprintf(stderr,"  addr: %8x;", faces );
             ^
[100%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/scope-limits/scope-limits.o
Linking CXX executable indi_eqmod_telescope
[100%] Built target indi_eqmod_telescope
Install the project...
-- Install configuration: ""
-- Installing: /usr/bin/indi_eqmod_telescope
-- Up-to-date: /usr/share/indi/indi_eqmod.xml
-- Up-to-date: /usr/share/indi/indi_eqmod_sk.xml
-- Up-to-date: /usr/share/indi/indi_eqmod_simulator_sk.xml
-- Up-to-date: /usr/share/indi/indi_align_sk.xml
-- Up-to-date: /usr/share/indi/indi_eqmod_scope_limits_sk.xml
 
======================== Installation successful ==========================
 
Some of the files created by the installation are inside the home directory: /home
 
You probably don't want them to be included in the package.
Do you want me to list them?  [n]: n
Should I exclude them from the package? (Saying yes is a good idea)  [n]: n
 
Some of the files created by the installation are inside the build
directory: /home/indi-code/3rdparty/indi-eqmod_build
 
You probably don't want them to be included in the package,
especially if they are inside your home directory.
Do you want me to list them?  [n]: n
Should I exclude them from the package? (Saying yes is a good idea)  [y]: y
 
Copying files to the temporary directory...OK
 
Stripping ELF binaries and libraries...OK
 
Compressing man pages...OK
 
Building file list...OK
 
Building Debian package...OK
 
NOTE: The package will not be installed
 
Erasing temporary files...OK
 
Writing backup package...OK
OK
 
Deleting temp dir...OK
 
 
**********************************************************************
 
 Done. The new package has been saved to
 
 /home/indi-code/3rdparty/indi-eqmod_build/indi-eqmod_0.2-r2048_armhf.deb
 You can install it in your system anytime using: 
 
      dpkg -i indi-eqmod_0.2-r2048_armhf.deb
 
**********************************************************************
 
root@bigsmall:/home/indi-code/3rdparty/indi-eqmod_build#


I'm going to automate this install even further....
9 years 1 month ago #3355

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Thanks Jasem for adding the armf packages in the ppa, much appreciated.
9 years 1 month ago #3540

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds