You are not logged in.

#1 2020-11-10 11:54:53

z0mb1e_kgd
Member
Registered: 2020-11-10
Posts: 4

[SOLVED] Package post installation notes

Hello everyone,

how do I see package post installation notes that pacman shows right after installation (if there are ones)?

I was dumb enough to run package update over ssh without tmux or screen, the session link broke so I could not see the openvpn package message upon switching to openvpn:network user:group strict, so I've spent hours on problem discovery with "Permission denied" error on unit start.

I tried to use pacman -Qc openvpn but it showed me "No changelog" message.

Last edited by z0mb1e_kgd (2020-11-10 13:07:40)

Offline

#2 2020-11-10 12:13:14

Awebb
Member
Registered: 2010-05-06
Posts: 5,634

Re: [SOLVED] Package post installation notes

You go to the package page (https://www.archlinux.org/packages/) and search for your package. On the top right in the "Package Actions" box there are the "Source Files". If there is anything relevant, you'll find a .install file, that contains the stuff like post_upgrade. See here: https://wiki.archlinux.org/index.php/PKGBUILD#install

EDIT: Also: /var/log/pacman.log, I think under the [ALPM-SCRIPTLET] handle.

Last edited by Awebb (2020-11-10 12:14:51)

Offline

#3 2020-11-10 13:04:35

z0mb1e_kgd
Member
Registered: 2020-11-10
Posts: 4

Re: [SOLVED] Package post installation notes

Awebb wrote:

You go to the package page (https://www.archlinux.org/packages/) and search for your package. On the top right in the "Package Actions" box there are the "Source Files". If there is anything relevant, you'll find a .install file, that contains the stuff like post_upgrade. See here: https://wiki.archlinux.org/index.php/PKGBUILD#install

EDIT: Also: /var/log/pacman.log, I think under the [ALPM-SCRIPTLET] handle.

Thanks, this was it.

Offline

#4 2020-11-10 13:05:57

ayekat
Member
Registered: 2011-01-17
Posts: 1,409
Website

Re: [SOLVED] Package post installation notes

Also /var/lib/pacman/local/{pkgname}-{pkgver}-{pkgrel}/ contains the install file for a package (if it has one).


{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

Board footer

Powered by FluxBB