Git Product home page Git Product logo

Comments (5)

tteck avatar tteck commented on June 2, 2024

🏁 The script runs without any problems from this end.

    ____             __                 _____ ____    __ 
   / __ \____  _____/ /_____ _________ / ___// __ \  / / 
  / /_/ / __ \/ ___/ __/ __  / ___/ _ \\__ \/ / / / / /  
 / ____/ /_/ (__  ) /_/ /_/ / /  /  __/__/ / /_/ / / /___
/_/    \____/____/\__/\__, /_/   \___/____/\___\_\/_____/
                     /____/                              
Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: password
Container ID: 110
Using Hostname: postgresql
Using Disk Size: 4
Allocated Cores: 1
Allocated RAM: 1024
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: yes
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a PostgreSQL LXC using the above advanced settings
 βœ“ Using local for Template Storage.
 βœ“ Using thin-pool for Container Storage.
 βœ“ Updated LXC Template List
 βœ“ LXC Container 110 was successfully created.
 βœ“ Started LXC Container
 βœ“ Set up Container OS
 βœ“ Network Connected: 192.168.86.250 
 βœ“ IPv4 Internet Connected
 βœ— IPv6 Internet Not Connected
 βœ“ DNS Resolved github.com to 140.82.114.4
 βœ“ Updated Container OS
 βœ“ Installed Dependencies
 βœ“ Setup PostgreSQL Repository
 βœ“ Installed PostgreSQL
Would you like to add Adminer? <y/N> 
 βœ“ Cleaned
 βœ“ Completed Successfully!

from proxmox.

tteck avatar tteck commented on June 2, 2024
root@postgresql:~# psql --version
psql (PostgreSQL) 16.3 (Debian 16.3-1.pgdg120+1)

from proxmox.

tteck avatar tteck commented on June 2, 2024

I think this is because postgres 16 is not available in the apt repository as anyone can see here: https://apt.postgresql.org/pub/repos/apt/pool/

That's not the repo that the script uses:

VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
echo "deb http://apt.postgresql.org/pub/repos/apt ${VERSION}-pgdg main" >/etc/apt/sources.list.d/pgdg.list
curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor --output /etc/apt/trusted.gpg.d/postgresql.gpg

https://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/

from proxmox.

tteck avatar tteck commented on June 2, 2024

🧐 As this issue is unrelated to the script, it is considered closed.

from proxmox.

jfisbein avatar jfisbein commented on June 2, 2024

Maybe it depends on the location (I'm in pain) but in my case, as you can see in the log I pasted, it's using that server:
Err:11 http://apt.postgresql.org/pub/repos/apt bookworm-pgdg/main amd64 postgresql-16 amd64 16.2-1.pgdg120+2 404 Not Found [IP: 147.75.85.69 80]

from proxmox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.