postgresql-plpython-.* install fails on focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PostgreSQL Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am attempting to deploy postgresql and am hitting issues with the 'leader-
```
This is a Juju debug-hooks tmux session. Remember:
1. You need to execute hooks/actions manually if you want them to run for trapped events.
2. When you are finished with an event, you can run 'exit' to close the current window and allow Juju to continue processing
new events for this unit without exiting a current debug-session.
3. To run an action or hook and end the debugging session avoiding processing any more events manually, use:
./hooks/
tmux kill-session -t landscape-
4. CTRL+a is tmux prefix.
More help and info is available in the online documentation:
https:/
root@landscapes
root@landscapes
none
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-
E: Unable to locate package postgresql-
E: Couldn't find any package by glob 'postgresql-
E: Couldn't find any package by regex 'postgresql-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-
E: Unable to locate package postgresql-
E: Couldn't find any package by glob 'postgresql-
E: Couldn't find any package by regex 'postgresql-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-
E: Unable to locate package postgresql-
E: Couldn't find any package by glob 'postgresql-
E: Couldn't find any package by regex 'postgresql-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-
E: Unable to locate package postgresql-
E: Couldn't find any package by glob 'postgresql-
E: Couldn't find any package by regex 'postgresql-
Traceback (most recent call last):
File "/usr/lib/
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmppxtf9657' -> '/var/lib/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./hooks/
main()
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
helpers.
File "/var/lib/
shutil.
File "/usr/lib/
copy_
File "/usr/lib/
copyfile(src, dst, follow_
File "/usr/lib/
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/
```
Changed in postgresql-charm: | |
status: | New → Invalid |
information type: | Public → Private |
information type: | Private → Public |
I believe that this package is actually requested by FCE not Postgresql. To work around the issue I had to force postgresql to deploy on bionic. This is not an issue with the charm and can be closed. Thank you!