Package Details: aws-session-manager-plugin 1.2.245.0-1

Git Clone URL: https://aur.archlinux.org/aws-session-manager-plugin.git (read-only, click to copy)
Package Base: aws-session-manager-plugin
Description: AWS Session Manager Plugin for aws-cli.
Upstream URL: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html
Keywords: aws aws-cli plugin session-manager
Licenses: custom
Submitter: CallumDenby
Maintainer: P67
Last Packager: P67
Votes: 5
Popularity: 0.065997
First Submitted: 2019-09-17 12:47
Last Updated: 2021-09-28 17:56

Latest Comments

« First ‹ Previous 1 2 3 4

troyengel commented on 2019-11-20 21:02

Hi, can you please remove the automatic start and unit enablement of this package? I think you copied this from the Debian package, it doesn't belong on Arch. https://aur.archlinux.org/cgit/aur.git/tree/aws-session-manager-plugin.install?h=aws-session-manager-plugin

You can pretty much delete this whole file and stop including it in the package install - the /usr/bin symlink needs moved out of the scripts above and into your PKGBUILD so that the system can properly track who owns it as a deployed "file" - when you link and remove in scripts, it's "untracked" and leads to problems. Link it in the PKGBUILD package() section and the tooling will automatically do the right thing. It will install/remove the symlink with the package on it's own.

E.g. good vs. bad:

$ ls -l /usr/bin/{bunzip2,session-manager-plugin}
lrwxrwxrwx 1 root root  5 Nov 12 06:52 /usr/bin/bunzip2 -> bzip2
lrwxrwxrwx 1 root root 52 Nov 20 14:41 /usr/bin/session-manager-plugin -> /usr/sessionmanagerplugin/bin/session-manager-plugin

$ pacman -Qo /usr/bin/{bunzip2,session-manager-plugin}
/usr/bin/bunzip2 is owned by bzip2 1.0.8-3
error: No package owns /usr/bin/session-manager-plugin

As Arch is a systemd system, we do not need /etc/init/session-manager-plugin.conf as well. This is the only package out of 1,270 on my system placing a file in /etc/init/ :)

dar10d6 commented on 2019-11-01 03:39

I also ran into this problem on Manjaro. I searched briefly online and couldn't figure what cleanBuild was (I'm new to Manjaro / Arch / AUR).

For reference, the solution that worked for me was:

# remove existing build files
pamac clean -b

# update, which clones a fresh git repo
pamac update

jdreaver commented on 2019-10-27 02:27

@CallumDenby cleanBuild worked! Thanks, I didn't know that was an option. I wonder why cleanBuild was required.

CallumDenby commented on 2019-10-27 01:17

@jdreaver Do you have any tips to reproduce this? I can't recreate it on my end. Can you post the sha512sum of your download or try cleanBuild?

jdreaver commented on 2019-10-26 20:56

Thanks for making this package in the AUR!

Unfortunately, I'm getting a validation error on the .deb file in the latest version. This is part of my output when updating with yay:

==> Making package: aws-session-manager-plugin 1.1.33.0-1 (Sat 26 Oct 2019 01:54:56 PM PDT) ==> Retrieving sources... -> Found session-manager-plugin.deb ==> Validating source_x86_64 files with sha512sums... session-manager-plugin.deb ... FAILED ==> ERROR: One or more files did not pass the validity check!

CallumDenby commented on 2019-09-19 16:06

Thanks @gr211, updated with the changes.

gr211 commented on 2019-09-19 10:52

Hi

Thanks for this package. Made some changes here

https://pastebin.com/VTbr65Y4

to reflect the fact that files are being moved out of /usr/local into /usr.