Re: [webmin-l] Webmin and Freebsd pkg upgrade

Jamie Cameron <[email protected]> Tue, 29 Aug 2023 02:37:13 +0000
Newsgroups gmane.comp.web.webmin.general
Message-ID <0111018a3f26fb68-3e661167-ae5d-4335-82cc-6cc88afcfddc-000000@us-west-1.amazonses.com>
This is a multi-part message in MIME format.

--bound1693276632
Content-Type: multipart/alternative; boundary="altsbound1693276632"
Content-Transfer-Encoding: 7bit


--altsbound1693276632
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Oh I see, you're using packages and not ports.
In that case, what output do you get if you run :
pkg search -Q comment glib
On 28/Aug/2023 18:53 Dave Overton via webadmin-list  wrote ..  Initially, the "make search" fails because I don't use or care about "/usr/ports" except when something strange happens.  So I went ahead and did a make fetchindex so it would work, then it just gives a list of 12,300 available programs.  So yes, the command as provided returned nothing to start with.   From: Jamie Cameron [mailto:[email protected]] 
Sent: Monday, August 28, 2023 6:46 PM
To: Webmin users list
Subject: Re: [webmin-l] Webmin and Freebsd pkg upgrade Wait, so does the command : make search 'key=3D.*' | grep glib Not output anything?
On 28/Aug/2023 10:48 Dave Overton via webadmin-list wrote .. Before the grep, it returns:    The search target requires INDEX-13. Please run make index or make fetchindex. So, since the index isn=E2=80=99t really necessary to the pkg system, not a useful answer.  But for fun=E2=80=A6  # make fetchindex#  grep glib12,300 lines returned.   Dave OvertonOwner SYIX.COM530.755.1751 From: Jamie Cameron
Sent: Friday, August 25, 2023 10:23 PM
To: [email protected]; Webmin users list
Subject: Re: [webmin-l] Webmin and Freebsd pkg upgrade You may be right about the version number.  If you SSH in as root and run : cd /usr/ports && make search 'key=3D.*' | grep glib What does it output?   
On 25/Aug/2023 18:06 Dave Overton via webadmin-list wrote .. Using webmin on FreeBSD 13.2System Info (Dashboard) says there is a package update.Click it, there are none listedRefresh using the button, still none listed.SSH into the machine:  #pkg upgradeUpdating FreeBSD repository catalogue...FreeBSD repository is up to date.All repositories are up to date.< /p>Checking for upgrades (18 candidates): 100%Processing candidates (18 candidates): 100%The following 1 package(s) will be affected (of 0 checked):Installed packages to be UPGRADED:        glib: 2.76.4,2 -> 2.76.4_1,2Number of packages to be upgraded: 13 MiB to be downloaded.Proceed with this action? [y/N]: y[1/1] Fetching glib-2.76.4_1,2.pkg: 100%    3 MiB   1.2MB/s    0 0:03I suspect its the "," in the version number breaking things
 Dave Overton, [email protected]   
 
 

--altsbound1693276632
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p style=3D"margin: 0; padding: 0; line-height: 1.231;">Oh I see, you're using packages and not ports.</p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><br></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">In that case, what output do you get if you run :</p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><br></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">pkg search -Q comment glib</p><br>On 28/Aug/2023 18:53 Dave Overton via webadmin-list <[email protected]> wrote ..
<blockquote style=3D"margin: 0 0 0 .8ex; border-left: 1px solid #ccc !important; padding-left: 1ex;">
<div class=3D"WordSection1"><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Initially, the "make search" fails because I don't use or care about "/usr/ports" except when something strange happens.&nbsp; So I went ahead and did a make fetchindex so it would work, then it just gives a list of 12,300 available programs. <o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So ye
 s, the command as provided returned nothing to start with.<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Cali
 bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"fon
 t-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jamie Cameron [mailto:[email protected]] <br><b>Sent:</b> Monday, August 28, 2023 6:46 PM<br><b>To:</b> Webmin users l
 ist<br><b>Subject:</b> Re: [webmin-l] Webmin and Freebsd pkg upgrade<o:p></o:p></span></p></div></div><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Wait, so does the command :&nbsp;make search 'key=3D.*' | grep glib<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Not output anything?<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><br>On 28/Aug/2023 10:48 Dave Overton via webadmin-list wrote .. <o:p></o:p></p><div><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Before the grep, it returns:&nbsp;&nbsp; <o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp
 ;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">The search target requires INDEX-13. Please run make index or make fetchindex.<o:p></o:p></p><p style=3D"margin: 0; pa
 dding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">So, since the index isn=E2=80=99t really necessary to the pkg system, not a useful answer.&nbsp; But for fun=E2=80=A6 <o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"># make fetchindex<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"># &nbsp;grep glib<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">12,300 lines returned.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&n
 bsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Dave Overton<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Owner <o:p></o:p></p><p style=3D
 "margin: 0; padding: 0; line-height: 1.231;">SYIX.COM<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">530.755.1751<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From: </b><a href=3D"_unsafe_link_">Jamie Cameron</a><br><b>Sent: </b>Friday, August 25, 2023 10:23 PM<br><b>To: </b><a href=3D"_unsafe_link_">[email protected]</a>; <a href=3D"reply_mail.cg%20i?new=3D1&amp;to=3Dwebadmin%2Dlist%40lists%2Esourceforge%2Enet">Webmin users list</a><br><b>Subject: </b>Re: [webmin-l] Webmin and Freebsd pkg upgrade<o:p></o:p></p></div><p style=3D"margin: 0; padding: 0; line-
 height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">You may be right about the version number. <o:p></o:p></p><p style=3D"margin: 0; padding: 0; line
 -height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">If you SSH in as root and run : cd /usr/ports &amp;&amp; make search 'key=3D.*' | grep glib<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">What does it output?<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><br>On 25/Aug/2023 18:06 Dave Overton via webadmin-list wrote .. <o:p></o:p></p><blockquote style=3D"margin-left:4.8pt;margin-top:5.0pt;margin-r
 ight:0in;margin-bottom:5.0pt"><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Using webmin on FreeBSD 13.2<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Syste
 m Info (Dashboard) says there is a package update.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Click it, there are none listed<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Refresh using the button, still none listed.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">SSH into the machine:<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp; #pkg upgrade<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Updating FreeBSD repository catalogue...<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">FreeBSD repository is up to date.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">All repositories are up to date.&lt; /p&gt;<o:p></o:p></p><p sty
 le=3D"margin: 0; padding: 0; line-height: 1.231;">Checking for upgrades (18 candidates): 100%<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Processing candidates (18 
 candidates): 100%<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">The following 1 package(s) will be affected (of 0 checked):<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Installed packages to be UPGRADED:<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; glib: 2.76.4,2 -&gt; 2.76.4_1,2<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Number of packages to be upgraded: 1<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">3 MiB to be downloaded.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Proceed with this action? [y/N]: y<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">[1/1] Fetching glib-2.76.
 4_1,2.pkg: 100%&nbsp;&nbsp;&nbsp; 3 MiB&nbsp;&nbsp; 1.2MB/s&nbsp;&nbsp;&nbsp; 0 0:03<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">I suspect its the "," in the versio
 n number breaking things<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Dave Overton, Owner<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">SYIX.COM<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">[email protected]<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">530-755-1751<o:p></o:p></p></blockquote><p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0pt">&nbsp;<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p></div><p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p></div></div></blockquote><br>
<br>
	<style>
	  html, body { overflow-y: hidden; }
	  div[contenteditable] { outline: none; }
	  
	</style></[email protected]><style data-iframe-mode=3D"simple">.ql-align-left{text-align:left}.ql-align-center{text-align:center}.ql-align-right{text-align:right}p{margin:0;padding:0;line-height:1.231;}blockquote{margin:0 0 0 .8ex;border-left:1px solid #ccc!important;padding-left:1ex} </style>

--altsbound1693276632--


--bound1693276632
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--bound1693276632
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list

--bound1693276632--