From 12c20ea77f011ea0b91749dcb5dcab2ad6c2fdb2 Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Wed, 4 Nov 2026 17:34:45 -0800 Subject: [PATCH] Drop trailing period from no-candidate error string golangci-lint v2 (from #223) flags ST1005 on error strings ending in punctuation. Rebuild the committed apt_query binaries and source hash. Co-Authored-By: Claude Opus 5.5 --- apt_query-arm64 | Bin 3472000 -> 3472000 bytes apt_query-x86 | Bin 3614981 -> 3614981 bytes apt_query.srchash | 2 +- src/internal/common/apt.go | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apt_query-arm64 b/apt_query-arm64 index 0a8d40c9d022be87f08dacc21428a1bb73ccb9f2..50032d0933b52173d9b9ffec083f2cd86054b30b 100755 GIT binary patch delta 363 zcmWN@y-NaN90%}w@_NtiS6-H-y_a5TcGeXwEd@tt8gvrbB#HJSB_vTpAW@Iu($L@^ z(UJ{blT=$xfqPJMqm5zT;RB!CZ{@;!qF;L6E@$dN?Zl+*jqdXZ`bu z?L^+oj$0SMa$XWA#;Jjmg_Fpsky8_=W=<`fS~<0GYUk8ZChPSwtC>7(wJ=u87a~@( z5a}$J#4p>$V{w&9Uhx~tXPE>9UC<3SGt1;Pck#s||B3Z_UC37y8G67Dz0d~^=!XGt rf(r&=2!>$4IWTn3Z}seK9~VN%z_F5m@_NN{OiX*sRn>5 delta 365 zcmWN@y-Nad90%b0<@I7^_pL4~dok@rugupVT7sZDGx0!6tx;5n3M-BRCkgslt_{*3 z(9lri;w>T6($XL`we~**1r2?M2cFXR2P?tjrKE&&yNl6mI+snHrjNo0MeT5N-xtZR z#S6!&Ofjhj3*l6xuyPW=u1VIVGd+{t@kiFTl6f_*MFZ)Ct_q?c2r`&Jjcp4zp*!>2 z{S$rus<*cE-q*twe?2Eoj8h9I6DN^VE2lP2?VLI|nK^ZG>f+R0C(Fe$`!RUTVq)y4 zT+u8>MeC{8M2EffUR`C9M|5Ikok>8@3w_XU=uF;lF>m$RE&o-UZdoih6d4A<3WG2N w!(f9E7=>gC|~hUMl31hrwJ@+0QugyXllG zx)G3Lxp*pkDj&sU_sxUBC?_J>t%5CioIZ#uQaqGBi*AQFJ;!k(>Tq*skE?w=Sp@aB z*?N0yD(BUE>H15#AVxf+4n{ggdPbd$x)^mc>S5H&sE<)UqX9;PH4@&D4CcdrRs$}QerG`p4gu^&eZ>VA+tOf4GKh60q>P!Bzh@)u4F&sw|PT(X? u;WWj4NoxRb0b$w4ogx=tLK~(Su&})%|7Z`RX64YlKDs delta 369 zcmWN=%Sr-a7zW^(v~%fKO_rTcR#s}(%tR4_SSpw?A&PBHuwV$mK$KR2zd;a0#H20l z0xTjI1#N_ATbqKQI|y2Z(4zN&C-?fv=dgTiv}Tft)WNPd?(>P^SR@q`ogUQ@*i+W` zMR$BHn%tHG(U7R_ES=vNP0Jg8Nw#?+>5vpu-Pvq96-}s|p5r(Hb?Dm+bGMIozh8$> zXDbgU-`ThFs`q;9>WCQejOrNa80i_+GiqSe$f$`?Gouzpt&G|jwcnHB-NMJT56SSt zU*=1)0gaWCOh0D6rd=px=WF?@LfCoJK3o;4IFe4ejW_d353eE~1E1#Z{D_PyYcUD}*rs diff --git a/apt_query.srchash b/apt_query.srchash index 33c4314..f4a84cf 100644 --- a/apt_query.srchash +++ b/apt_query.srchash @@ -1 +1 @@ -601b17f706b904c5c53ea89618154d8a347d450aad26a364fc478a9fcd93fc63 +c2d4d075efc1a08b7de3b14dde524f04e8584dd3b14a898e1d4d9477ed0a6425 diff --git a/src/internal/common/apt.go b/src/internal/common/apt.go index 9aa048d..868fb33 100644 --- a/src/internal/common/apt.go +++ b/src/internal/common/apt.go @@ -65,7 +65,7 @@ func getNonVirtualPackage(executor exec.Executor, name string) (pkg *AptPackage, logging.Debug("No reverse provides found for '%s' in apt-cache showpkg output:\n%s", name, execution.CombinedOut) return pkg, fmt.Errorf( "package '%s' has no installation candidate: it is virtual or missing from the APT package lists, and no package provides it. "+ - "Use a concrete package name instead, or if the APT package lists may be stale, run 'sudo apt-get update' before this action.", name) + "Use a concrete package name instead, or if the APT package lists may be stale, run 'sudo apt-get update' before this action", name) } func getPackage(executor exec.Executor, paragraph string) (pkg *AptPackage, err error) {