pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Linux Update Experience
Date: Fri, 29 May 2020 09:09:49 +0200
Message-ID: <20200529070949.GA32670@hjp.at> (raw)
In-Reply-To: <f6ca973697c7497ba3cc6ab23a6d4e18@zuerich.ch>
References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch>
	<90960e1f-37ea-59f7-50cb-965865d985da@aklaver.com>
	<f6ca973697c7497ba3cc6ab23a6d4e18@zuerich.ch>

On 2020-05-28 14:36:34 +0000, Zwettler Markus (OIZ) wrote:
> I'm not talking about this specific bug or its resolution.
> 
> I want to talk about the Linux update problem in general.
> 
> 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


-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (6+ messages)  latest in thread

Message-ID: <20200529070949.GA32670@hjp.at>
Permalink:  ../20200529070949.GA32670@hjp.at/
Also on:    postgresql.org/message-id/20200529070949.GA32670@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Linux Update Experience
  In-Reply-To: <20200529070949.GA32670@hjp.at>
  References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch> <90960e1f-37ea-59f7-50cb-965865d985da@aklaver.com> <f6ca973697c7497ba3cc6ab23a6d4e18@zuerich.ch> <20200529070949.GA32670@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox