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 1jeZ9R-0004Oj-Bn for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 07:09:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jeZ9Q-00078u-9Q for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 07:09:56 +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 1jeZ9Q-00078n-1s for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 07:09:56 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeZ9L-0003Gz-ID for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 07:09:54 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 917A33144; Fri, 29 May 2020 09:09:49 +0200 (CEST) Date: Fri, 29 May 2020 09:09:49 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Linux Update Experience Message-ID: <20200529070949.GA32670@hjp.at> References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch> <90960e1f-37ea-59f7-50cb-965865d985da@aklaver.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-05-28 14:36:34 +0000, Zwettler Markus (OIZ) wrote: > I'm not talking about this specific bug or its resolution. >=20 > I want to talk about the Linux update problem in general. >=20 > Anyone updating Linux might get such nerving dependency troubles. In my experience (having administrated Linux servers for 25 years), dependency troubles outside of major updates are rare. But of course if you do that long enough with enough different systems you will run into one sooner or later. Some ways to minimize the frequency of such troubles: * Use a base distribution with a lot of packages. RHEL has a lot fewer packages than Debian, so when we used RHEL (we still have a few servers) we used external repositories (RPMForge, EPEL, ...) a lot more. Some of those external repos may not be as well maintained as the base distro and of course they may not coordinate with each other. So more external repos mean a higher risk of conflicts. * Use specialized systems. In the 90's servers were big and expensive, so we had few of them and each was running a lot of different services. Planning an upgrade took months. These days we use (mostly) VMs, each of which is running only one service. That greatly reduces the number or packages installed and the number of external repos, thus reducing the potential for conflicts. * Update frequently. That reduces the risk of needing a package which has since been deleted from a repo, but more importantly it makes it easier to pinpoint the cause of a conflict. When a conflict does occur. being familiar with the packaging system helps a lot. Sometimes just uninstalling a few packages helps. Sometimes something in a repo has changed and you need to change the configuration to match (as has apparently happened here), so being on relevant announce-lists of having the URL of the repo website handy helps. Sometimes you can force installation (althought that will often cause problems later). In some cases I built my own packages. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl7QtTgACgkQ8g5IURL+ KF06yQ//dHrlY2bDQWMkY3L1c2AqPPVCbvTu5szeXcDSwsymOF+lJaQrtKsv4ZBm ETcqs6pO+9KO7QU2/nDCuqu/PdwxqQHdz0IqihmXVN32lM8FiC+rY0VYQVG015u3 TEwOlqaZeUSIj3KhpBlhfomHDZPaMG2CcCgzvW75E8BMvakfRELkJrgMzFRgBWLv OxPk/vb637g7KEdh7n2udyi/BUCJ3E4lGBjso21JfLvmxFJH7H+uePuYrnhpione nOWv8mFCoRV4Hzyehciz4NbhyWCFPtYQn7CCrnwq+JDSzNSZ7fMP59AH3BIW26Zq qejXavkWtjxhmhlsmfEsGdGt0m8ldxYNRuYtzRQaBLzoNNp844BqDqbNFqNLFSVt i2+Hh3V6uq1usJaUQgFxGuonMyVVN79yhOT6POdvyK5QjcMhNt0ACF5EqIdiB1u5 5BUEjHF5mNS1UF8v/HWGx0dgEQ7S6OEqiZFpxnBBE+2+uFeEjTxSTNga1JJwBkFP emuNAiKqa3sXvJ6EkIxqfSTQNHy9uXV4byJJc7stX2pRfGVmCwJfHajWzNJFbqB3 l3updBYy+1KvovBSKlhrpClwZ7enpRCwwawrA//E0vKkJQXWQ0YUs6s6OlKI/T2Z U5CVHPl1CIeqEwiUkKQmtPfOqeh0B32kEujpxH0dm9NMuMAPkW8= =LhsF -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--