Re: [webmin-l] Webmin and Freebsd pkg upgrade
Dave Overton via webadmin-list <[email protected]> Mon, 28 Aug 2023 18:53:01 -0700
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Organization | SYIX.COM |
| Message-ID | <023801d9da1b$8b201cd0$a1605670$@com> |
This is a multi-part message in MIME format. --===============8660188086115587828== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0239_01D9D9E0.DEC144D0" Content-Language: en-us This is a multi-part message in MIME format. ------=_NextPart_000_0239_01D9D9E0.DEC144D0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.=20 =20 So yes, the command as provided returned nothing to start with. =20 =20 =20 From: Jamie Cameron [mailto:[email protected]]=20 Sent: Monday, August 28, 2023 6:46 PM To: Webmin users list Subject: Re: [webmin-l] Webmin and Freebsd pkg upgrade =20 Wait, so does the command : make search 'key=3D.*' | grep glib =20 Not output anything? On 28/Aug/2023 10:48 Dave Overton via webadmin-list wrote ..=20 Before the grep, it returns: =20 =20 The search target requires INDEX-13. Please run make index or make = fetchindex. =20 So, since the index isn=E2=80=99t really necessary to the pkg system, = not a useful answer. But for fun=E2=80=A6=20 =20 # make fetchindex # grep glib 12,300 lines returned. =20 =20 =20 Dave Overton Owner=20 SYIX.COM 530.755.1751 =20 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 =20 You may be right about the version number.=20 =20 If you SSH in as root and run : cd /usr/ports && make search 'key=3D.*' = | grep glib =20 What does it output? =20 =20 =20 On 25/Aug/2023 18:06 Dave Overton via webadmin-list wrote ..=20 Using webmin on FreeBSD 13.2 System Info (Dashboard) says there is a package update. Click it, there are none listed Refresh using the button, still none listed. SSH into the machine: #pkg upgrade Updating 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,2 Number of packages to be upgraded: 1 3 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:03 I suspect its the "," in the version number breaking things Dave Overton, Owner SYIX.COM [email protected] 530-755-1751 =20 =20 =20 ------=_NextPart_000_0239_01D9D9E0.DEC144D0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 12 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} p.ql-align-left, li.ql-align-left, div.ql-align-left {mso-style-name:ql-align-left; margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} p.ql-align-center, li.ql-align-center, div.ql-align-center {mso-style-name:ql-align-center; margin:0in; margin-bottom:.0001pt; text-align:center; font-size:12.0pt; font-family:"Times New Roman","serif";} p.ql-align-right, li.ql-align-right, div.ql-align-right {mso-style-name:ql-align-right; margin:0in; margin-bottom:.0001pt; text-align:right; font-size:12.0pt; font-family:"Times New Roman","serif";} span.EmailStyle21 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>Initially, the "make search" fails because I don't use or = care about "/usr/ports" except when something strange = happens.=C2=A0 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 class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>So yes, the command as provided returned nothing to start = with.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </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 class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = Jamie Cameron [mailto:[email protected]] <br><b>Sent:</b> Monday, = August 28, 2023 6:46 PM<br><b>To:</b> Webmin users = list<br><b>Subject:</b> Re: [webmin-l] Webmin and Freebsd pkg = upgrade<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><p>Wait, so does the command = : make search 'key=3D.*' | grep = glib<o:p></o:p></p><p><o:p> </o:p></p><p>Not output = anything?<o:p></o:p></p><p class=3DMsoNormal><br>On 28/Aug/2023 10:48 = Dave Overton via webadmin-list wrote .. <o:p></o:p></p><div><p>Before = the grep, it returns: = <o:p></o:p></p><p> <o:p></o:p></p><p>The search target requires = INDEX-13. Please run make index or make = fetchindex.<o:p></o:p></p><p> <o:p></o:p></p><p>So, since the index = isn=E2=80=99t really necessary to the pkg system, not a useful = answer. But for fun=E2=80=A6 = <o:p></o:p></p><p> <o:p></o:p></p><p># make = fetchindex<o:p></o:p></p><p># grep glib<o:p></o:p></p><p>12,300 = lines = returned.<o:p></o:p></p><p> <o:p></o:p></p><p> <o:p></o:p></p><= p> <o:p></o:p></p><p>Dave Overton<o:p></o:p></p><p>Owner = <o:p></o:p></p><p>SYIX.COM<o:p></o:p></p><p>530.755.1751<o:p></o:p></p><p= > <o:p></o:p></p><div style=3D'border:none;border-top:solid #E1E1E1 = 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From: = </b><a = href=3D"reply_mail.cgi?new=3D1&to=3Djcameron%40webmin%2Ecom">Jamie = Cameron</a><br><b>Sent: </b>Friday, August 25, 2023 10:23 PM<br><b>To: = </b><a = href=3D"reply_mail.cgi?new=3D1&to=3Ddave%40syix%2Ecom">[email protected]<= /a>; <a = href=3D"reply_mail.cg%20i?new=3D1&to=3Dwebadmin%2Dlist%40lists%2Esour= ceforge%2Enet">Webmin users list</a><br><b>Subject: </b>Re: [webmin-l] = Webmin and Freebsd pkg = upgrade<o:p></o:p></p></div><p> <o:p></o:p></p><p>You may be right = about the version number. <o:p></o:p></p><p> <o:p></o:p></p><p>If = you SSH in as root and run : cd /usr/ports && make search = 'key=3D.*' | grep glib<o:p></o:p></p><p> <o:p></o:p></p><p>What = does it = output?<o:p></o:p></p><p> <o:p></o:p></p><p> <o:p></o:p></p><p>= <o:p></o:p></p><p><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-right:0in;margin-botto= m:5.0pt'><p>Using webmin on FreeBSD 13.2<o:p></o:p></p><p>System Info = (Dashboard) says there is a package update.<o:p></o:p></p><p>Click it, = there are none listed<o:p></o:p></p><p>Refresh using the button, still = none listed.<o:p></o:p></p><p>SSH into the = machine:<o:p></o:p></p><p> #pkg upgrade<o:p></o:p></p><p>Updating = FreeBSD repository catalogue...<o:p></o:p></p><p>FreeBSD repository is = up to date.<o:p></o:p></p><p>All repositories are up to date.< = /p><o:p></o:p></p><p>Checking for upgrades (18 candidates): = 100%<o:p></o:p></p><p>Processing candidates (18 candidates): = 100%<o:p></o:p></p><p>The following 1 package(s) will be affected (of 0 = checked):<o:p></o:p></p><p>Installed packages to be = UPGRADED:<o:p></o:p></p><p> = glib: 2.76.4,2 -> 2.76.4_1,2<o:p></o:p></p><p>Number of packages to = be upgraded: 1<o:p></o:p></p><p>3 MiB to be = downloaded.<o:p></o:p></p><p>Proceed with this action? [y/N]: = y<o:p></o:p></p><p>[1/1] Fetching glib-2.76.4_1,2.pkg: = 100% 3 MiB 1.2MB/s 0 = 0:03<o:p></o:p></p><p>I suspect its the "," in the version = number breaking things<o:p></o:p></p><p>Dave Overton, = Owner<o:p></o:p></p><p>SYIX.COM<o:p></o:p></p><p>[email protected]<o:p></o:p>= </p><p>530-755-1751<o:p></o:p></p></blockquote><p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'> <o:p></o:p><= /p><p> <o:p></o:p></p></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><o:p> </o:p></p></div></div></body></= html> ------=_NextPart_000_0239_01D9D9E0.DEC144D0-- --===============8660188086115587828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8660188086115587828== 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 --===============8660188086115587828==--