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 fails on Raspberry Pi 4 / cleanup does not remove apt repo(?) #8

Open
Pfeil opened this issue Aug 5, 2022 · 1 comment

Comments

@Pfeil
Copy link

Pfeil commented Aug 5, 2022

Describe the bug

Installation does not work on a Raspberry Pi 4. Probably on ARM devices in general. After installation cleanup, if leaves a non-working apt repo for MongoDB non-arm devices. (Although I can not guarantee this hasn't been there before, I think this is not a coincidence)

Context

  • Hardware: Raspberry Pi 4
  • YunoHost version: 4.3.6.3
  • I have access to my server: Through SSH && through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: default

Steps to reproduce

  • Install overleaf from the web interface on a Raspberry Pi 4. (or sudo yunohost app install overleaf)
  • Configuration is almost the default (anonymous access = yes, language = en)

Expected behavior

  • Either install the app or tell the user that it is not ARM compatible.
  • On failure, remove apt repo of e.g., MongoDB if this installation added it (proper cleanup).

Logs

  • https://paste.yunohost.org/raw/zovobayine

  • I wanted to see if the issue was a missing apt update and found this:

    $sudo apt update
    Ign:1 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 InRelease
    Hit:2 http://archive.raspberrypi.org/debian buster InRelease                   
    Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease                
    Hit:4 http://forge.yunohost.org/debian buster InRelease                        
    Hit:5 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 Release        
    Hit:6 https://packages.sury.org/php buster InRelease                      
    Reading package lists... Done                       
    Building dependency tree       
    Reading state information... Done
    All packages are up to date.
    N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 InRelease' doesn't support architecture 'armhf'
    

    It seems that this apt repo of MongoDB is simply not compatible with arm? This guide seems to be official and up-to-date on how to do it on ARM (on Ubuntu): https://www.mongodb.com/developer/products/mongodb/mongodb-on-raspberry-pi/

@jeremyfix
Copy link

I did experienced the same issue on Raspberry pi3+ which is not installing due to mongodb issue. Here are the logs : https://paste.yunohost.org/raw/umomoyafec

On failure, yunohost also fails to uninstall overleaf-ynh-deps

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

No branches or pull requests

2 participants