Search Criteria
Package Details: aws-session-manager-plugin 1.2.312.0-2
Package Actions
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 (whynothugo, ChrisLane) |
Last Packager: | ChrisLane |
Votes: | 11 |
Popularity: | 0.57 |
First Submitted: | 2019-09-17 12:47 (UTC) |
Last Updated: | 2022-04-06 13:22 (UTC) |
Latest Comments
P67 commented on 2022-04-06 11:41 (UTC)
@ChrisLane - Indeed, did it manually at first. Generated through makepkg now.
I'll add you to the co-maintainers, along with @whynothugo so this project can be maintained properly. If you want, you can of course take maintainer instead of just co.
ChrisLane commented on 2022-04-06 11:22 (UTC)
@P67 I'm happy to help maintain or own.
Also, it looks like you might've updated .SRCINFO manually since it's not currently valid. Happy to fix for you but if not here's a diff:
whynothugo commented on 2022-04-06 10:08 (UTC)
I can help co-maintain this. I use it little, but use it on both x86_64 and aarch64.
P67 commented on 2022-04-06 09:56 (UTC)
I've updated the PKGBUILD to the new 1.2.312.0 version, including aarch64 support and also cleaned up Contributors/maintainers from the PKGBUILD contributor comments.
I am however no longer actively using ArchLinux (As a main machine, hence the slower updates.); if someone wishes to co-maintain or own the package, please step forward.
whynothugo commented on 2022-03-23 00:15 (UTC)
I can leave patches if anything breaks for it for me only on aarch64.
P67 commented on 2022-03-22 21:40 (UTC) (edited on 2022-03-22 21:41 (UTC) by P67)
I personally cannot test aarch64 builds from build to install and functionality due to the sheer lack of having no system with this architecture in my possession.
I can however add it to supply this functionality based on the sums that are gotten from the files, if that's OK?
whynothugo commented on 2022-03-22 11:56 (UTC)
Sorry for the noise. This diff is more solid:
I had to specify different names for both sources, otherwise tools like
updpkgsums
and some AUR helpers mix them up. This'll probably make updating the package in future more of a breeze too, since the filename won't collide for checksums any more.P67 commented on 2022-03-15 12:29 (UTC)
Bumped the version. The patch concerning checksums I'll implement in either next release or asap as well. Thanks!
bobsaintcool commented on 2022-03-07 23:08 (UTC)
In addition to @yan12125 patch could you consider bumping the version to the last release please?
Below is another patch:
yan12125 commented on 2022-02-19 18:05 (UTC)
Even when Amazon does not replace files, checksums can still fail as deb files for different versions are downloaded as the same name. Please reconsider adding $pkgname-$pkgver.deb to the source array as suggested by @gdamjan and Arch package guidelines [1]. Here is the complete patch:
[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_sources
vanaoff commented on 2021-11-21 19:40 (UTC)
Hey, I think
pkgrel
in.SRCINFO
was forgotten to bump to2
.P67 commented on 2021-09-28 17:51 (UTC)
Hey hey, sorry missed that one. - Adjusted in release 2 now.
@SpineEyE: The PKGBUILD does refer to a ${pkgver}: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=aws-session-manager-plugin#n15
christoph.gysin commented on 2021-09-28 12:19 (UTC) (edited on 2021-09-28 12:19 (UTC) by christoph.gysin)
.SRCINFO still refers to 1.2.234.0: https://aur.archlinux.org/cgit/aur.git/tree/.SRCINFO?h=aws-session-manager-plugin#n15
SpineEyE commented on 2021-09-23 14:45 (UTC)
Download validation fails. You should use ${pkgver} in the source location.
P67 commented on 2021-08-27 09:24 (UTC)
Hey @dhummel.
Indeed, I've released a new pkgrel, removing these extra spaces. Thanks!
dhummel commented on 2021-08-11 04:46 (UTC) (edited on 2021-08-11 04:51 (UTC) by dhummel)
There seems to be some extra spaces after
pkgver
:ElijahLynn commented on 2021-07-09 21:33 (UTC) (edited on 2021-07-09 21:34 (UTC) by ElijahLynn)
For those getting the validity check failure and using
yay
:rm -rf ~/.cache/yay/aws-session-manager-plugin/
languitar commented on 2021-03-25 08:44 (UTC)
Removing the cached file helped. Pretty annoying when upstream changes contents without changing versions.
troyengel commented on 2021-03-24 18:47 (UTC) (edited on 2021-03-24 23:04 (UTC) by troyengel)
@gdamjan - it's in a numbered subdirectory if you look, the problem is a vendor is secretly replacing one archive file with another by the same name, something which Amazon has done before with this package if you read past comments. The only real solution is to wait a bit until the final one reveals itself then update the PKGBUILD to match what everyone sees. A vendor really should not be doing what they do, the shasum of a released (tarball, package, etc.) should never change - you bump the version if you do that, which they do not - it appears that they just repackage and overwrite the same named file.
2021-03-24 23:00 UTC - the archive downloaded from my laptop just now matches the same sha512sum as when I built the update about 23h ago; no change here yet, PKGBUILD working
gdamjan commented on 2021-03-24 14:59 (UTC) (edited on 2021-03-24 15:02 (UTC) by gdamjan)
ahh, the archive seems to have been cached. maybe change source=($pkgname-$pkgver.deb::…the url)
gdamjan commented on 2021-03-24 14:57 (UTC)
b581e68546f102df1b196feeb852f5029495c8c5671efa4493b0ede4b7acb5daa6ded4fd632dfe5d17c2439e20c016597ce5ec0d08eb4209ce81f17767b94238 session-manager-plugin.deb
troyengel commented on 2021-03-24 13:32 (UTC)
@languitar - this has happened before with Amazon's download, I just updated my work laptop and it validated fine. I suspect that (a) they swapped out the package with a hidden fix, and (b) there's a geo-based CDN delivering the download and I'm getting one version of the DEB, you're getting another version as the CDNs are not in sync (as it's the same filename, one of them simply skipped re-syncing it).
Since it's passing sha512sum for me just now, I'll assume this laptop hit the same CDN as my other machine last night - for now, you can just edit the pkgbuild until they converge upstream and we get the same DEB file (sha512) for everyone... (and we can update the pkgbuild when the dust settles, if needed)
languitar commented on 2021-03-24 08:15 (UTC)
For me, the validity check fails now
troyengel commented on 2021-03-24 00:04 (UTC)
P67 must be out right now, backup maintainer here - I updated to the new 1.2.54.0 release and deprecated 32bit support while I was in there.
P67 commented on 2021-01-04 10:24 (UTC)
Huh, That's typical.
I updated the package with the sha512sum
makepkg -g
gave back. That URL is the same it had gotten, but gives back a wholly different sha512sum as the curl apparently. To make it even more wonky, I do get theb581...
sum now.Should be fixed in the 1.2.30.0-2 released just now!
troyengel commented on 2021-01-03 14:14 (UTC)
@Canha I confirm the same, AWS has updated the same-named package in some way which has changed the SH512 signature, this is not the first time this has happened. Until @P67 gets a moment to update the PKGBUILD for us, use curl and calculate it manually and update your PKGBUILD:
...is what I'm seeing as of this writing.
Canha commented on 2021-01-03 13:40 (UTC) (edited on 2021-01-03 13:42 (UTC) by Canha)
Currently getting:
ElijahLynn commented on 2020-05-16 03:19 (UTC) (edited on 2020-05-16 03:28 (UTC) by ElijahLynn)
[RESOLVED - see bottom] I am getting the error:
The issue appears to be that https://s3.amazonaws.com/session-manager-downloads/plugin/1.1.61.0/ubuntu_64bit/session-manager-plugin.deb has a
sha256sum
ofd4d578a64210165ec434d658212304a968acb2efa49074868552427e738ea97c
and thesha256sum
in PKGBUILD is21c7778ece8fadaf3f5510c7af5f90b6bbe1c41eb4d71cae57630c8bda8bba3bc19aabd44e2a0abcb56e18306cc05b060e377f2fb57ef78dcfd17bf1e784ce66
.Anyone else getting this?
I had previously installed 1.1.50.0 with https://github.com/ElijahLynn/aur-aws-session-manager-plugin (my first PKGBUILD/AUR) so I do wonder if that may be confusing things, but it seems like the mismatched SHA is the issue.
UPDATE: NVM - Yeah, I was using
sha256sum
instead ofsha512sum
. It matches, and does seem to be because of my previous install. Iyay --remove aws-session-manager-plugin
and reinstalled but same error so then Irm -rf ~/.cache/yay/aws-session-manager-plugin
and reinstalled and all is well.troyengel commented on 2020-04-16 16:31 (UTC)
I really hated to do this, but as I've tried to contact the packager twice (he was initially responding to email, then went MIA) and received no replies I've used the Submit Request to the Arch TU team to add a co-maintainer or orphan the package so someone else can update it. @P67 I'll forward you the auto-generated email and keep you in the loop.
P67 commented on 2020-04-16 16:20 (UTC) (edited on 2020-04-16 16:21 (UTC) by P67)
Hey @CallumDenby. Is there a possibility to get this updated? I'd love to collaborate to keep this package up to date..
I've already got a working PKGFILE handy if need be.
languitar commented on 2020-03-27 13:02 (UTC)
Any chance to get this updated?
crou commented on 2019-11-22 02:30 (UTC)
@troyengel you are right, /opt is a much better location! I vote for it :-)
troyengel commented on 2019-11-21 20:07 (UTC) (edited on 2019-11-21 20:07 (UTC) by troyengel)
@crou I was thinking about that overnight as well, I think
/opt
would be a more LFHS standard / compliant path to use rather than/usr/local
(spec)- Amazon is our vendor and delivering a binary payload, which matches the general concept of other vendor tooling we have in AUR (google-cloud-sdk, Zoom, etc.) and how it's delivered to users.crou commented on 2019-11-21 18:59 (UTC) (edited on 2019-11-21 19:01 (UTC) by crou)
I haven't realized before, but is that expected to have this binary installed in /usr/sessionmanagerplugin/ ? /usr/local/sessionmanagerplugin would be more appropriate ;-)
troyengel commented on 2019-11-20 21:59 (UTC)
@CallumDenby I emailed you, easier to chat re: the versions. Not sure myself. :-/
troyengel commented on 2019-11-20 21:51 (UTC)
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 1.1.35.0-3 or above from an older version:
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 (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?
troyengel 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:
(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
troyengel 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.
troyengel 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 PKGBUILDpackage()
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:
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:
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!
CallumDenby commented on 2019-09-19 16:06 (UTC)
Thanks @gr211, updated with the changes.
gr211 commented on 2019-09-19 10:52 (UTC)
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.