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

Installation error - boost python error in packages #1037

Closed
erikdubois opened this issue Sep 30, 2018 · 22 comments

Comments

Projects
None yet
6 participants
@erikdubois
Copy link

commented Sep 30, 2018

I can not give too much detail about the issue at hand. I post this for one of our users.

What do I know?
ArcoLinuxB 18.9.5 Xfce
Calamares 3.2.1-1
Content of iso : https://pastebin.com/xyKNhWB1

One of our users, from India working behind a proxy, has send us this error and asks for help.

img_20180930_165144597

You can ask him more info on our forum.
https://arcolinuxforum.com/viewtopic.php?f=90&t=854&p=3286&sid=9fa0c449a6bbcd9b6d570a17d4b0832a#p3286

@philmmanjaro

This comment has been minimized.

Copy link
Member

commented Oct 1, 2018

Well, the issue seems simple. Behind a proxy and therefore the fresh system has no internet. Since you have a module relying on that the installation failed.

He should rerun the installation from within a terminal using sudo -E calamares -d and paste the whole terminal output.

On the other hand find out which module tries to update the system and make the installation possible also without internet connection. Manjaro for example you can install without internet.

@arcolinuxz

This comment has been minimized.

Copy link

commented Oct 3, 2018

The user send us more information here :
link

@philmmanjaro

This comment has been minimized.

Copy link
Member

commented Oct 3, 2018

Well, the terminal output could have been simply exported to a textfile. Most terminals support select all and copy. Anyway, it is OK. The error is with the module packages in line 253 not able to update the DB (update_db). Also it seems not to be the latest module from master. Also I recommend to enable skip_if_no_internet: true in packages.conf. The issue is simply not being able to properly detect internet connection and trying to ping a server which is not working via the proxy. In general I don't recommend modules needing internet connection.

@arcolinuxz

This comment has been minimized.

Copy link

commented Oct 3, 2018

The thing is .... I have a MacBook pro laptop here - no Lan and when I install I do not go on my wifi. So no internet and it installs fine.
After reboot then I enable the wifi.
Can there be a line in there why mine passes and his not. We keep calamares changes to a minimum so follow your version?
In our packages.conf it says indeed skip_if_no_internet: false - still it installs on mine.
It also says update_db: true.
Should I set that to false too then?

@philmmanjaro

This comment has been minimized.

Copy link
Member

commented Oct 3, 2018

@arcolinuxz: the issue with the user is the proxy. Depending which URL you ping in your internet check it may say it has internet. So it is a mixed issue here. The user can simply disable his internet connection and will be able to install. The code needs to be improved to skip package installations when the cmd fails and not fail totally cos of it.

@arcolinuxz

This comment has been minimized.

Copy link

commented Oct 3, 2018

ok will tell him to disable his internet.
Hope he has an hardware button to do that.

@philmmanjaro

This comment has been minimized.

Copy link
Member

commented Oct 3, 2018

Network-Manager normally supports it via UI to disconnect.

@kkofler

This comment has been minimized.

Copy link
Contributor

commented Oct 3, 2018

You may want to set a different internetCheckUrl in welcome.conf.

@kkofler

This comment has been minimized.

Copy link
Contributor

commented Oct 3, 2018

Also, NetworkManager can be configured to check connectivity, and if that does not work as expected, it will report unavailable Internet to applications such as Calamares:
https://wiki.archlinux.org/index.php/NetworkManager#Checking_connectivity
That too might not be configured optimally on your image.

@erikdubois

This comment has been minimized.

Copy link
Author

commented Oct 4, 2018

Thanks for the assist - it seems the user can now install ArcoLinux.
Will change the setting in our calamares and do some more testing and roll out like that.

Also I recommend to enable skip_if_no_internet: true in packages.conf.

Closing now

@erikdubois erikdubois closed this Oct 4, 2018

@erikdubois

This comment has been minimized.

Copy link
Author

commented Oct 4, 2018

Ps. the user sends his thanks to the Calamares team

@erikdubois erikdubois reopened this Oct 4, 2018

@erikdubois

This comment has been minimized.

Copy link
Author

commented Oct 4, 2018

I changed the code in module packages.conf to skip_if_no_internet:true
and tried to similate the fact that I do not have internet - networkmanager disconnected.
Then he still tries to do a pacman -Sy - Did I do something wrong. Or should the code be revisited.

test

@philmmanjaro

This comment has been minimized.

Copy link
Member

commented Oct 4, 2018

Please compare the code with the one upstream. Is it the latest?

@arcolinuxz

This comment has been minimized.

Copy link

commented Oct 4, 2018

Do you mean comparing module packages from 3.2.1 and the latest on github
Then yes they are the same.
Done a meld between two modules. Or do you mean something else

@arcolinuxz

This comment has been minimized.

Copy link

commented Oct 4, 2018

Made a new calamares on 3.2.2 and will advise further.
No assistance needed at this point.

@arcolinuxz

This comment has been minimized.

Copy link

commented Oct 4, 2018

Installing calamares 3.2.2 from this pkgbuild results in a message that the following modules could not be loaded services. I see no folder called services in my modules. I guess I am missing some package or is there an other reason? There is no significant difference between Calamares 3.2.1 from this pgkbuild. So 3.2.1 works and 3.2.2 does not....

I can not test this issue unless we solve this.

calamares

@erikdubois

This comment has been minimized.

Copy link
Author

commented Oct 4, 2018

I went back to Calamares 3.2.1 and I discovered something odd.
I added the code skip_if_no_internet: false to packages.conf but this had not the effect I had expected.

I read in the last version of calamares that the whole module is skipped if there is no internet.

I discovered that because in that package.conf is a bunch of Calamares packages I uninstall afterwards. So they never got deleted on my laptop (no internet connection) but everything installed fine on my virtualbox (with internet connection).

Skipping the whole uninstallation of packages in packages.conf can (I think) not be the intention. We can still clean up the local applications even if we do not have internet. Just a thought I would like to share.

@philmmanjaro

This comment has been minimized.

Copy link
Member

commented Oct 4, 2018

@arcolinuxz: Sorry, but it seems you didn't read the release notes. services got renamed. I even have mentioned it on my end here.

@erikdubois

This comment has been minimized.

Copy link
Author

commented Oct 4, 2018

thanks for getting back to me - will give it another go

@kkofler

This comment has been minimized.

Copy link
Contributor

commented Oct 5, 2018

For now, you can configure 2 instances of the packages module (see the webview instances example for how to do it), one with skip_if_no_internet: true and one with skip_if_no_internet: false.

@adriaandegroot

This comment has been minimized.

Copy link
Contributor

commented Jan 9, 2019

Yes, multiple instances is the way to go. Then you do one which is not-skipped-when-no-internet, which uses try_install, and one which is skipped-when-no-internet.

I'm closing this one as "can be fixed in configuration downstream" .. @erikdubois , if you find that the documentation -- on the wiki or in the config example -- please file a PR with fixes (or ask for specific documentation things in an issue and I can sit down to it).

@marine1988

This comment has been minimized.

Copy link

commented May 22, 2019

After antergos news I search and all people say that Arco is the most close distribution and by the troubles I'm having with the installer I think they right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.