Advertisement
aghoshpro

ISSUE_01 - PostgresSQL + Python3

May 4th, 2023 (edited)
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. arkaghosh@lat7410g:~$ sudo su - postgres
  2. postgres@lat7410g:~$ psql -c 'CREATE EXTENSION plpython3u'
  3. ERROR:  could not open extension control file "/usr/share/postgresql/12/extension/plpython3u.control": No such file or directory
  4. postgres@lat7410g:~$ exit
  5. logout
  6.  
  7. arkaghosh@lat7410g:~$ sudo service postgresql status
  8. ● postgresql.service - PostgreSQL RDBMS
  9.      Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
  10.      Active: active (exited) since Thu 2023-05-04 20:35:44 IST; 20min ago
  11.     Process: 1294 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
  12.    Main PID: 1294 (code=exited, status=0/SUCCESS)
  13.  
  14. May 04 20:35:44 lat7410g systemd[1]: Starting PostgreSQL RDBMS...
  15. May 04 20:35:44 lat7410g systemd[1]: Finished PostgreSQL RDBMS.
  16.  
  17. arkaghosh@lat7410g:~$ sudo apt-get install postgresql-contrib postgresql-plpython3-15.2
  18. Reading package lists... Done
  19. Building dependency tree      
  20. Reading state information... Done
  21. E: Unable to locate package postgresql-plpython3-15.2
  22. E: Couldn't find any package by glob 'postgresql-plpython3-15.2'
  23. E: Couldn't find any package by regex 'postgresql-plpython3-15.2'
  24.  
Tags: issuesLINUX
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement