1
N: Ignoring file 'pgdg.listsudo' in directory '/etc/apt/sources.list.d/'
  as it has an invalid filename extension
Zanna
  • 70,465

1 Answers1

3

That is not an error, but a Notice (N:).

Filename extension should be .list instead of .listsudo. Probably you made a copy-paste mistake.

Fix:

sudo mv /etc/apt/sources.list.d/pgdg.listsudo /etc/apt/sources.list.d/pgdg.list

--

That said, unless you explicitly need a newer version, you should probably install the postgresql package that is provided by Ubuntu instead of using third-party repositories.

pLumo
  • 26,947