Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-get gives an old version. #29

Closed
augisbud opened this issue Mar 4, 2019 · 11 comments
Closed

apt-get gives an old version. #29

augisbud opened this issue Mar 4, 2019 · 11 comments
Labels

Comments

@augisbud
Copy link

augisbud commented Mar 4, 2019

Hello, when I use the image provided I get totally different design, than when I use apt-get install comitup. Any possibility to change that?

@davesteele
Copy link
Owner

Design?

If you mean web design, you can do an apt-get upgrade on the booted image to get the most recent version.

@augisbud
Copy link
Author

augisbud commented Mar 4, 2019

I did that, the design hasn't changed, I will try again

@augisbud
Copy link
Author

augisbud commented Mar 4, 2019

UPDATE: did sudo apt-get update && sudo apt-get upgrade, the design hasn't changed.

@davesteele
Copy link
Owner

What comitup versions are we talking about?

@augisbud
Copy link
Author

augisbud commented Mar 4, 2019

the latest i'm getting from sudo apt-get install comitup on raspbian stretch

@augisbud
Copy link
Author

augisbud commented Mar 4, 2019

How can I install directly by using git clone, and the setup.py file?

@davesteele
Copy link
Owner

davesteele commented Mar 4, 2019

Ah. You need to add a line to /etc/apt/sources.list referencing the comitup repository to get the latest:

deb http://davesteele.github.io/comitup/repo comitup main

Or you can get the latest deb from the archive.

@augisbud
Copy link
Author

augisbud commented Mar 4, 2019

still not getting it :(

@davesteele
Copy link
Owner

davesteele commented Mar 4, 2019

The command to install via setup.py is "python3 setup.py install".

N.B. I've never done that. I can think of at least one reason that would fail.

The git archive currently builds the latest deb, using the "debuild" command.

Re - still not getting it. Make sure you do the "apt-get update" after updating sources.list.

@augisbud
Copy link
Author

augisbud commented Mar 4, 2019

pi@raspberry:~ $ sudo apt install ./comitup_1.3.1-1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'comitup' instead of './comitup_1.3.1-1_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 comitup : Depends: python3-networkmanager (>= 2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

output from the deb installation.

YUP I'm dumb, forgot to sudo apt-get update

@augisbud augisbud closed this as completed Mar 4, 2019
@davesteele
Copy link
Owner

Re installing from git. For development, what I do is install the deb, then use a small deploy script that copies py files from the cli, comitup, and web directories to the corresponding directories in /usr/share/comitup/, then restart the comitup service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants