Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [wip] add postgresql14, remove postgresql12
Date: Thu, 09 Dec 2021 19:38:40 +0100	[thread overview]
Message-ID: <20211209183840.QRQs8Mophmf75vkBnV3b19NCWGS_tCFtZ0qQBT5Xzds@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33195@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 5137 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/33195#issuecomment-990119554

Comment:
My system has `postgresql13` and `postgresql13-client` (and `postgresql-libs-13.5_1` as dependency).

I ran `./xbps-src pkg postgresql14 -K` and afterwards `xi postgresql14` and it spits out the following dependency error:
```
postgresql-libs-14.1_1 in transaction breaks installed pkg `postgresql13-13.5_1'
postgresql-libs-14.1_1 in transaction breaks installed pkg `postgresql13-client-13.5_1'
Transaction aborted due to unresolved dependencies
```
I did find an interesting error when mucking around with this in a (completely fresh) chroot:
```
$ ./xbps-src chroot
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[joel@/home/joel/repos/void-packages/masterdir /]$ xbps-install postgresql13 postgresql14

Name            Action    Version           New version            Download size
icu-libs        install   -                 69.1_2                 11MB 
libxml2         install   -                 2.9.10_5               662KB 
pam-libs        install   -                 1.5.2_1                35KB 
postgresql13    install   -                 13.5_1                 6612KB 
postgresql-libs install   -                 14.1_1                 - 
postgresql14    install   -                 14.1_1                 - 

Size to download:               19MB
Size required on disk:          84MB
Space available on disk:       310GB

Do you want to continue? [Y/n] y

[*] Downloading packages
icu-libs-69.1_2.x86_64.xbps.sig: 512B [avg rate: 15MB/s]
icu-libs-69.1_2.x86_64.xbps: 11MB [avg rate: 76KB/s]
icu-libs-69.1_2: verifying RSA signature...
libxml2-2.9.10_5.x86_64.xbps.sig: 512B [avg rate: 16MB/s]
libxml2-2.9.10_5.x86_64.xbps: 662KB [avg rate: 59KB/s]
libxml2-2.9.10_5: verifying RSA signature...
pam-libs-1.5.2_1.x86_64.xbps.sig: 512B [avg rate: 15MB/s]
pam-libs-1.5.2_1.x86_64.xbps: 35KB [avg rate: 130KB/s]
pam-libs-1.5.2_1: verifying RSA signature...
postgresql13-13.5_1.x86_64.xbps.sig: 512B [avg rate: 14MB/s]
postgresql13-13.5_1.x86_64.xbps: 6612KB [avg rate: 68KB/s]
postgresql13-13.5_1: verifying RSA signature...

[*] Verifying package integrity
postgresql-libs-14.1_1: verifying SHA256 hash...
postgresql14-14.1_1: verifying SHA256 hash...

[*] Collecting package files
icu-libs-69.1_2: collecting files...
libxml2-2.9.10_5: collecting files...
pam-libs-1.5.2_1: collecting files...
postgresql13-13.5_1: collecting files...
postgresql-libs-14.1_1: collecting files...
postgresql14-14.1_1: collecting files...

[*] Unpacking packages
icu-libs-69.1_2: unpacking ...
libxml2-2.9.10_5: unpacking ...
pam-libs-1.5.2_1: unpacking ...
postgresql13-13.5_1: unpacking ...
postgresql-libs-14.1_1: unpacking ...
postgresql14-14.1_1: unpacking ...

[*] Configuring unpacked packages
icu-libs-69.1_2: configuring ...
icu-libs-69.1_2: installed successfully.
libxml2-2.9.10_5: configuring ...
libxml2-2.9.10_5: installed successfully.
pam-libs-1.5.2_1: configuring ...
pam-libs-1.5.2_1: installed successfully.
postgresql13-13.5_1: configuring ...
WARNING: cannot create postgres system account (missing useradd or usermod)
The following system account must be created:
   Account: postgres
   Description: 'PostgreSQL database server user'
   Homedir: '/var/lib/postgresql'
   Shell: '/bin/sh'
chown: invalid user: ‘postgres:postgres’
Failed to set perms 0750 postgres:postgres to ./var/lib/postgresql!
chown: invalid user: ‘postgres:postgres’
Failed to set perms 0750 postgres:postgres to ./var/lib/postgresql13!
postgresql13-13.5_1: installed successfully.
postgresql-libs-14.1_1: configuring ...
postgresql-libs-14.1_1: installed successfully.
postgresql14-14.1_1: configuring ...
WARNING: cannot create postgres system account (missing useradd or usermod)
The following system account must be created:
   Account: postgres
   Description: 'PostgreSQL database server user'
   Homedir: '/var/lib/postgresql'
   Shell: '/bin/sh'
chown: invalid user: ‘postgres:postgres’
Failed to set perms 0750 postgres:postgres to ./var/lib/postgresql!
chown: invalid user: ‘postgres:postgres’
Failed to set perms 0750 postgres:postgres to ./var/lib/postgresql14!
postgresql14-14.1_1: installed successfully.

4 downloaded, 6 installed, 0 updated, 6 configured, 0 removed.
```
I'm honestly still trying to wrap my head around the dependency situation here. I tried to build postgresql13 again to include `postgresql13-libs`, but it gives the same results afterwards as well.

  parent reply	other threads:[~2021-12-09 18:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 20:29 [PR PATCH] " Chocimier
2021-10-26 18:14 ` [PR PATCH] [Updated] " Chocimier
2021-12-09 16:49 ` TinfoilSubmarine
2021-12-09 17:02 ` Chocimier
2021-12-09 18:38 ` TinfoilSubmarine [this message]
2021-12-09 18:46 ` Chocimier
2021-12-09 19:33 ` TinfoilSubmarine
2021-12-13 22:43 ` [PR PATCH] [Updated] " Chocimier
2021-12-18 14:03 ` Chocimier
2021-12-18 14:05 ` [PR PATCH] [Merged]: " Chocimier
2021-12-18 14:08 ` Chocimier

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211209183840.QRQs8Mophmf75vkBnV3b19NCWGS_tCFtZ0qQBT5Xzds@z \
    --to=tinfoilsubmarine@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).