Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ja7DD-0004A6-5q for pgsql-general@arkaria.postgresql.org; Sun, 17 May 2020 00:31:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ja7DC-00021j-29 for pgsql-general@arkaria.postgresql.org; Sun, 17 May 2020 00:31:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ja7DB-0001yh-Nj for pgsql-general@lists.postgresql.org; Sun, 17 May 2020 00:31:25 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ja7D8-00075S-7J for pgsql-general@lists.postgresql.org; Sun, 17 May 2020 00:31:24 +0000 Received: by mail-pg1-x52f.google.com with SMTP id f23so2915225pgj.4 for ; Sat, 16 May 2020 17:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:message-id:date :mime-version; bh=oXt2NUuXLUyDuyIyUe3YJOS1WvclbwmUm6LG+pQ2Xck=; b=kgTfU8yTjA2kEFp7UGp2aCPiZcPI6295ih6IalJoloLIw6I7itiBqzwIWXwCYFWppk 21bUPG1M+zr6fmMDUPqtZN9pjM2vX6bQt8kwqzC4O2UgufMXeQIUzd0qVE18/yis8ywP YxE2ICS+0Ks1xNDJuNuhvsUZq8gCgnY283OyspXeEfVj0Sk2ucbiiSWRRyRMCfhK42T3 NhEe3uT85AYSzUnV3seQ2NqLo1PyU76xYHlH2yDC39xBMLF9DRpnyiMYm+rGmlYekQh4 PCI9she4knOcwJP+Ee6zcomtIUEwshvnjqKGaSELlq1VCfQROrLejmwcvB6n3rSJfPyD UG7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:message-id:date:mime-version; bh=oXt2NUuXLUyDuyIyUe3YJOS1WvclbwmUm6LG+pQ2Xck=; b=oFPg4pDFDEdolwpXzrP7G7acvNP8ecel/kI6z9leZnJ6JIh5dik6Q/QEyNNKD/6r4w /BdPPC3AmLhNhhtlXOD1g83r/+YH3Qdd55ouI+q9oaVLMDHLKfg54/+y23uZcLhJ9nWA uB3yas55b2PrO2ARf8Xpc5tipXukWG6pJk68swUea5hzStvyKVGf5ZU2EiGdSemQ73gS n1ycYKbWEOL3S70lUG683/P9qCc2iJiOWq+kFxp9QHqzih7wrLmyAk0xn6t4r2KlUe0B wGe4VVeCoXduIiUvPTalTS7e1eCFWqpudrwz2ICWhQx4Jg55AZySF+7J8KlzYGBKxh7k Rzxg== X-Gm-Message-State: AOAM530eqNDPp1QWqqxMWZ5nH8vzwxvgwQxUW6SNg7tOcgK8aBVd+utR tSV6kSGi8CynWHCOnOpJYBCmF2cy X-Google-Smtp-Source: ABdhPJx7y8lOMIoPdUjEqBJ1xp5/bWDQI+Mqm78Q9RwWssZdBJ7mZbbBJUXY/5M7/3qFBuR3xSQzsg== X-Received: by 2002:a63:1c4c:: with SMTP id c12mr2245594pgm.26.1589675479473; Sat, 16 May 2020 17:31:19 -0700 (PDT) Received: from tim-desktop (203-173-25-235.dyn.iinet.net.au. [203.173.25.235]) by smtp.gmail.com with ESMTPSA id l6sm5037086pfl.128.2020.05.16.17.31.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 May 2020 17:31:18 -0700 (PDT) References: <1529896247.178099.1589669116104.ref@mail.yahoo.com> <1529896247.178099.1589669116104@mail.yahoo.com> User-agent: mu4e 1.4.5; emacs 27.0.91 From: Tim Cross To: pgsql-general@lists.postgresql.org Subject: Re: Ubuntu 20.04: apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386' In-reply-to: <1529896247.178099.1589669116104@mail.yahoo.com> Message-ID: <87k11bl7vx.fsf@gmail.com> Date: Sun, 17 May 2020 10:31:14 +1000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hugh writes: > Hi, > > While this doesn't appear to be a bug that causes problems of any kind, I do have a question about its cause. > > The "error" listed in the Subject: line is basically what I'm seeing. The entire message is below, particularly the 'N:' at the end. Is there a repo setting I should change to prevent the request for '386' architecture? Thank you in advance for your assistance. > > user@ubuntu:~$ sudo apt update > > Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease > Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB] > Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB] > Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB] > Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [90.4 kB] > Hit:6 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease > Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [21.4 kB] > Get:8 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [532 B] > Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [16.6 kB] > Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [208 B] > Fetched 441 kB in 1s (367 kB/s) > 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-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386' > This error is because by default the debian package manager is trying to download details on all supported architectures, but failing to find one for i386. You can add an architecture tag to the repository definition in the source list file i.e. /etc/apt/sources.list or /etc/apt/sources.list.d/postgres.list (or whatever you have called itIf). Try adding the arch option as deb [ arch=amd64 ] http://..... deb-src [arch=amd64 ] ... This should tell apt to only look for the amd64 packages. -- Tim Cross