Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Issues in installing qtrpi....



  • Hello to everybdoy,
    I want to install qtrpi3 for my Raspberry 'Jessie' and I follow the instruction and the procedure described in the following link: https://scribles.net/qt-creator-cross-compiling-environment-for-raspberry-pi3-with-qtrpi/
    But when I prompt the command
    sudo apt-get install git realpath unzip zip -y
    it stops at 3%


  • Moderators

    That's some problem with your distribution or Internet connection, not with Qt.

    Things which may help:

    # Make sure all previous installations succeeded
    sudo dpkg --configure -a
    # Get newest package info
    sudo apt update
    # Install your stuff
    sudo apt install git realpath unzip zip
    


  • Hello @sierdzio...
    I follwed your suggestions, but I got some errors....
    What's happening ?

    root@debian:/home/davide# sudo dpkg --configure -a
    dpkg: attenzione: analisi del file "/var/lib/dpkg/status" vicino alla riga 35785 pacchetto "avahi-daemon":
     maintainer mancante
    dpkg: errore: analisi del file "/var/lib/dpkg/status" vicino alla riga 35785 pacchetto "avahi-daemon":
     version mancante
    root@debian:/home/davide# sudo apt update
    Ign:1 http://ftp.it.debian.org/debian stretch InRelease
    Ign:2 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu cosmic InRelease
    Scaricamento di:3 http://ftp.it.debian.org/debian stretch-updates InRelease [91,0 kB]
    Scaricamento di:4 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB]
    Err:5 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu cosmic Release       
      404  Not Found
    Trovato:6 http://ftp.it.debian.org/debian stretch Release     
    Scaricamento di:7 http://security.debian.org/debian-security stretch/updates/main Sources [164 kB]
    Scaricamento di:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [391 kB]
    Scaricamento di:9 http://security.debian.org/debian-security stretch/updates/main Translation-en [186 kB]
    Annullatolenco dei pacchetti... 97%                                            
    root@debian:/home/davide# sudo apt install git realpath unzip zip
    Annullatolenco dei pacchetti... 3%
    root@debian:/home/davide#
    

  • Moderators

    I don't understand that language (Italian?) so I can't comment on the error messages. But there is definitely some old installation error that prevents dpkg and apt from going forward. You need to fix that.

    Judging from the apt URLs, though, it looks like you've got some serious mess in your software sources directory. Are you using Debian Stretch or Ubuntu 18.10?

    My recommendation would be to pick one (released, not alpha version) distro and try it there, installing a fresh system if need be. Alternatively, remove the software sources which do not come from your distribution and try again.



  • Yes, you're right... it's italian language.
    Aniway the log messages tells that

    dpkg: attenzione: analisi del file "/var/lib/dpkg/status" vicino alla riga 35785 pacchetto "avahi-daemon":
     maintainer mancante
    dpkg: errore: analisi del file "/var/lib/dpkg/status" vicino alla riga 35785 pacchetto "avahi-daemon":
     version mancante```
    

    avahi-daemon packet is missing... from where could I download ?


  • Moderators

    @Davide said in Issues in installing qtrpi....:

    avahi-daemon packet is missing... from where could I download ?

    Search on launchpad.

    However, since it's dpkg complaining, it rather complains about some clash between dependency definitions (again, because you mix sources from 2 distributions!), so it could still complain after you install avahi.



  • @sierdzio Thanks again for your help; I'll try to solve...
    Btw is there a QT RPI packet compatible with Qt 5.11.2 ?


  • Moderators

    @Davide said in Issues in installing qtrpi....:

    @sierdzio Thanks again for your help; I'll try to solve...
    Btw is there a QT RPI packet compatible with Qt 5.11.2 ?

    Qt 5.11.2 is not released yet. And Qt 5.11.1 does not compile on RPi. Better check 5.10.1.


Log in to reply