Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

QPM doesn't work via Qt Maintenance tool on Windows #2

Open
ElderOrb opened this issue Sep 10, 2015 · 15 comments
Open

QPM doesn't work via Qt Maintenance tool on Windows #2

ElderOrb opened this issue Sep 10, 2015 · 15 comments
Assignees

Comments

@ElderOrb
Copy link

image

@ElderOrb ElderOrb changed the title QPM doesn't work via Qt Maintenance tool QPM doesn't work via Qt Maintenance tool on Windows Sep 10, 2015
@jrbarron jrbarron self-assigned this Sep 10, 2015
@jrbarron
Copy link
Collaborator

Also broken for Mac.

@jrbarron
Copy link
Collaborator

I just tried regenerating the repository, but the error still persists 😠 It's strange to me that Qt's installer framework is trying to run a SHA1 checksum on the meta data archive because the repogen.exe tool that we use to create the repository does not generate the checksum for those files.

@den3000
Copy link

den3000 commented Jan 20, 2016

The same problem, any ideas how to fix this ?

@jrbarron
Copy link
Collaborator

I think it worked for a while, hence the reason @ElderOrb closed the task, but it indeed seems to be broken again now 😠 No idea what is going on here.

@den3000
Copy link

den3000 commented Jan 23, 2016

OK, I hope it will be fixed soon again.

@rpalmeida
Copy link

Hi everyone,
This is still happening on Mac, what can I do instead to fix it?
Thanks for the help

@jrbarron
Copy link
Collaborator

@rpalmeida Hi there! I haven't looked at this issue in a while, but it is most likely caused by us not using the Qt installer framework correctly to build a repository. We're aiming for a 1.0 release of qpm before the end of the year so hopefully we can find the time to address this issue before then, but if not, I suggest trying one of the other methods for downloading/building the binary (it's only a single executable with no dependencies).

If you have Go installed, it's as easy as go get qpm.io/qpm, otherwise you should be able to grab a pre-built binary from here:

https://storage.googleapis.com/www.qpm.io/download/v0.10.0/darwin_amd64/qpm

I understand that downloading a binary off some random server is not a good security practice though :) Finally, if you happen to be using Homebrew on Mac, you should be able to run brew install qpm.

@jrbarron jrbarron reopened this Nov 23, 2016
@rpalmeida
Copy link

Thanks for the quick answer @jrbarron!
I've installed it using Homebrew but it gives a warning saying "qpm-0.10.0 is already installed, it's just not linked".
How can I link it?

@jrbarron
Copy link
Collaborator

@rpalmeida You can try brew link qpm and see if that solves the issue. If that fails, you should make sure that the binary is executable (it's probably located in /usr/local/Cellar/qpm/0.10.0/bin/)

If that still doesn't solve it, try brew doctor.

@rpalmeida
Copy link

Thank you so much for the help @jrbarron!

@Cellari
Copy link

Cellari commented May 18, 2017

image
I have the same problem with Ubuntu 16.04 LTS. Ubuntu installation is from a month ago and maintenance tool is 2.0.5 (http://blog.qt.io/blog/2017/04/20/please-update-qt-online-installers-maintenance-tool/ <-- here's why the version might matter).

I have a fresh project so no depedencies yet on qpm, but I would prefer to use a user defined repository in maintenance tool instead of learning how to use Go. I would like to know if others have the same problem?

@ElderOrb
Copy link
Author

ElderOrb commented May 18, 2017 via email

@Cellari
Copy link

Cellari commented May 18, 2017

Not really sure where the checksums are fetched, but if I would have to make an elementary guess I suspect the updates to qpm break the checksum match. #2 (comment) <-- this post is why I think this might be the case: It was fixed, but then it breaks again. I have no way to confirm.

Edit:
Ah I just reread #2 (comment). Seems like they already know of it.

@Skycoder42
Copy link

Skycoder42 commented May 18, 2017

Hint: The meta.7z checksum is part of the Updates.xml file. (https://storage.googleapis.com/www.qpm.io/repository/Updates.xml) Make shure the content of the <SHA1> Tags matches the Sha1 checksum of the 0.10.0meta.7z files

@mbnoimi
Copy link

mbnoimi commented Mar 31, 2018

Same bug under Linux Mint 18.3!
image

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

No branches or pull requests

7 participants