Package Details: aws-session-manager-plugin

Git Clone URL: (read-only, click to copy)
Package Base: aws-session-manager-plugin
Description: AWS Session Manager Plugin for aws-cli.
Upstream URL:
Keywords: aws aws-cli plugin session-manager
Licenses: custom
Submitter: CallumDenby
Maintainer: P67
Last Packager: P67
Votes: 5
Popularity: 0.130120
First Submitted: 2019-09-17 12:47
Last Updated: 2021-08-27 09:23

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

troyengel commented on 2019-11-20 21:59

@CallumDenby I emailed you, easier to chat re: the versions. Not sure myself. :-/

troyengel commented on 2019-11-20 21:51

For anyone upgrading - because we just moved a non-package-tracked symlink into the package proper, you may see this when you attempt to upgrade to or above from an older version:

(1/1) checking for file conflicts                                                 [###############################################] 100%
error: failed to commit transaction (conflicting files)
aws-session-manager-plugin: /usr/bin/session-manager-plugin exists in filesystem

Just do a quick sudo rm /usr/bin/session-manager-plugin first then upgrade the package. Standard pacman behaviour, protecting you from possibly making a mistake.

CallumDenby commented on 2019-11-20 21:48

I found the same thing, I'm unsure whether to provide version 1.1.50 without it being documented within the web page. What do you advise?

troyengel commented on 2019-11-20 21:47

@CallumDenby I dug into the SHAs a bit, I think we're seeing a new version at the "latest" link which is not yet updated on the HTML page. After extracting the two payloads:

diff -uNr numbered/control/control latest/control/control
--- numbered/control/control    2019-10-11 17:28:21.000000000 -0500
+++ latest/control/control  2019-11-13 17:17:27.000000000 -0600
@@ -1,6 +1,6 @@
 Package: session-manager-plugin
 Architecture: amd64

(and other diffs saying the files don't match). Looks like a new is what "latest" actually is, not shrug

CallumDenby commented on 2019-11-20 21:45

/etc/init has now been removed, as has aws-session-manager-plugin.install

symlink is done within the package section in the PKGBUILD

CallumDenby commented on 2019-11-20 21:16

@troyengel checksums were updated, but it seems the links below have different checksums which I didn't check. Now updated. Going to add the other suggestions you made now.

troyengel commented on 2019-11-20 21:05

Also, I'm the one who just flagged it out of date - I think you updated the version, but did not update the SHA/checksum as I get an error now.

$ pikaur -S aws-session-manager-plugin


:: AUR package will be installed:
 aws-session-manager-plugin             ->


==> Retrieving sources...
  -> Downloading session-manager-plugin.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3940k  100 3940k    0     0  4759k      0 --:--:-- --:--:-- --:--:-- 4753k
==> Validating source_x86_64 files with sha512sums...
    session-manager-plugin.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!

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.

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.