[Qgis-user] installation - Linux - small problem with PREinstallation

Gerard Frijters gerard.frijters at gmail.com
Wed Jan 26 06:51:19 PST 2022


THANKS Richard Greenwood!

This was the solution:

$ sudo add-apt-repository "deb [arch=amd64] https://qgis.org/ubuntu 
$(lsb_release -c -s) main"

If I can give Richard another tip, make sure it is mentioned on this 
page as well:

https://www.qgis.org/en/site/forusers/alldownloads.html#linux



On 26-01-2022 14:48, Richard Greenwood wrote:
> The "apt" package manager is looking for a 32 bit version of QGIS, 
> which doesn't exist and which you don't want. Adjust your
>    /etc/apt/sources.list
> to look something like:
>    deb *[arch=amd64]* https://qgis.org/ubuntu-ltr focal main
>    deb-src *[arch=amd64]* https://qgis.org/ubuntu-ltr focal main
> for the LTR releases or:
>    deb *[arch=amd64]* https://qgis.org/ubuntu focal main
>    deb-src *[arch=amd64]* https://qgis.org/ubuntu focal main
> for the current releases. The important part is in bold: 
> *[arch=amd64]* you might not be on "focal".
>
>
> On Wed, Jan 26, 2022 at 6:29 AM Gerard Frijters 
> <gerard.frijters at gmail.com> wrote:
>
>     Hi everybody, I am using a Linux system, Ubuntu.
>
>     I just have a little problem with the preinstallation of QGIS. Can
>     any of you tell me how to fix this?
>
>
>     https://www.qgis.org/en/site/forusers/alldownloads.html#linuxQuickstart
>
>
>     Debian/Ubuntu
>
>     sudo  apt  install  gnupg  software-properties-common wget  -qO  -  https://qgis.org/downloads/qgis-2021.gpg.key  |  sudo  gpg  --no-default-keyring  --keyring  gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg  --import
>     sudo  chmod  a+r  /etc/apt/trusted.gpg.d/qgis-archive.gpg sudo  add-apt-repository  "deb https://qgis.org/ubuntu $(lsb_release -c -s) main"
>
>     Here I come across the following message:
>
>         N: Skipping acquire of configured file
>     'main/binary-i386/Packages' as repository 'https://qgis.org/ubuntu
>     focal InRelease' doesn't support architecture 'i386'
>
>
>     The output of the last command:
>
>     $ sudo add-apt-repository "deb https://qgis.org/ubuntu
>     $(lsb_release -c -s) main"
>
>         Hit:1 http://nl.archive.ubuntu.com/ubuntu focal InRelease
>         Get:2 http://nl.archive.ubuntu.com/ubuntu focal-updates
>     InRelease [114 kB]
>         Hit:3 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu
>     focal InRelease
>         Hit:4 http://ppa.launchpad.net/linuxgndu/sqlitebrowser/ubuntu
>     focal InRelease
>         Get:5 http://nl.archive.ubuntu.com/ubuntu focal-backports
>     InRelease [108 kB]
>         Hit:6 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu focal
>     InRelease
>         Get:7 https://qgis.org/ubuntu focal InRelease [2.731 B]
>         Get:8 http://security.ubuntu.com/ubuntu focal-security
>     InRelease [114 kB]
>         Get:9 http://nl.archive.ubuntu.com/ubuntu focal-updates/main
>     i386 Packages [592 kB]
>         Hit:10 https://download.sublimetext.com apt/dev/ InRelease
>         Get:11 http://nl.archive.ubuntu.com/ubuntu focal-updates/main
>     amd64 Packages [1.510 kB]
>         Get:12 https://qgis.org/ubuntu focal/main amd64 Packages [26,4
>     kB]
>         Get:13 http://nl.archive.ubuntu.com/ubuntu focal-updates/main
>     amd64 DEP-11 Metadata [281 kB]
>         Get:14 http://nl.archive.ubuntu.com/ubuntu
>     focal-updates/universe i386 Packages [664 kB]
>         Get:15 http://nl.archive.ubuntu.com/ubuntu
>     focal-updates/universe amd64 Packages [894 kB]
>         Get:16 http://security.ubuntu.com/ubuntu focal-security/main
>     amd64 DEP-11 Metadata [40,7 kB]
>         Get:17 http://security.ubuntu.com/ubuntu
>     focal-security/universe amd64 DEP-11 Metadata [66,4 kB]
>         Get:18 http://nl.archive.ubuntu.com/ubuntu
>     focal-updates/universe amd64 DEP-11 Metadata [364 kB]
>         Get:19 http://security.ubuntu.com/ubuntu
>     focal-security/multiverse amd64 DEP-11 Metadata [2.464 B]
>         Get:20 http://nl.archive.ubuntu.com/ubuntu
>     focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
>         Get:21 http://nl.archive.ubuntu.com/ubuntu
>     focal-backports/main amd64 DEP-11 Metadata [7.988 B]
>         Get:22 http://nl.archive.ubuntu.com/ubuntu
>     focal-backports/universe amd64 DEP-11 Metadata [12,2 kB]
>
>         Fetched 4.801 kB in 2s (2.797 kB/s)
>         Reading package lists... Done
>
>         N: Skipping acquire of configured file
>     'main/binary-i386/Packages' as repository 'https://qgis.org/ubuntu
>     focal InRelease' doesn't support architecture 'i386'
>
>     _______________________________________________
>     Qgis-user mailing list
>     Qgis-user at lists.osgeo.org
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> -- 
> Richard W. Greenwood
> www.greenwoodmap.com <http://www.greenwoodmap.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220126/a7e388d5/attachment-0001.html>


More information about the Qgis-user mailing list