Package Details: aws-session-manager-plugin 1.2.650.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: Apache-2.0
Submitter: CallumDenby
Maintainer: ChrisLane
Last Packager: ChrisLane
Votes: 19
Popularity: 0.67
First Submitted: 2019-09-17 12:47 (UTC)
Last Updated: 2024-08-28 09:30 (UTC)

Latest Comments

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

CallumDenby commented on 2019-11-20 21:48 (UTC)

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?

tengel commented on 2019-11-20 21:47 (UTC)

@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
-Version: 1.1.35.0-1
+Version: 1.1.50.0-1

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

CallumDenby commented on 2019-11-20 21:45 (UTC)

/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 (UTC) (edited on 2019-11-20 21:17 (UTC) by CallumDenby)

@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.

https://s3.amazonaws.com/session-manager-downloads/plugin/1.1.35/ubuntu_64bit/session-manager-plugin.deb

https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb

tengel commented on 2019-11-20 21:05 (UTC)

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            1.1.33.0-1           -> 1.1.35.0-1

...

==> 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!

tengel commented on 2019-11-20 21:02 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC)

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!