On 2018/06/23 20:39, Paul de Weerd wrote:
> Hi all,
> 
> I've just upgraded my home gateway to the latest snap.  Uptime was
> over 4 months, so it was about time.
> 
> While running fw_update, I got the following:
> 
> # fw_update
> NOT deleting intel-firmware-20171117p0v0: use fwupdate -d
> intel-firmware-20171117p0v0->20180312v0: ok
> # pkg_info | grep firmware
> intel-firmware-20171117p0v0 firmware binary images for intel(4) driver
> intel-firmware-20180312v0 firmware binary images for intel(4) driver
> # fwupdate -d
> /bin/ksh: fwupdate: not found
> # fw_update -d
> # pkg_info | grep firmware
> intel-firmware-20171117p0v0 firmware binary images for intel(4) driver
> intel-firmware-20180312v0 firmware binary images for intel(4) driver
> # fw_update -d intel-firmware-20171117p0v0
> NOT deleting intel-firmware-20180312v0: use fwupdate -d
> intel-firmware-20180312v0->: ok
> # pkg_info | grep firmware
> intel-firmware-20171117p0v0 firmware binary images for intel(4) driver
> intel-firmware-20180312v0 firmware binary images for intel(4) driver
> # pkg_delete intel-firmware-20171117p0v0
> 
> Delete firmware intel-firmware-20171117p0v0 ? [y/N/a] y
> intel-firmware-20171117p0v0: ok
> Read shared items: ok
> 
> 
> At least for the typo I can provide the following diff:
> 
> Index: Delete.pm
> ===================================================================
> RCS file: /home/OpenBSD/cvs/src/usr.sbin/pkg_add/OpenBSD/Delete.pm,v
> retrieving revision 1.153
> diff -u -p -r1.153 Delete.pm
> --- Delete.pm 20 Jun 2018 10:15:42 -0000      1.153
> +++ Delete.pm 23 Jun 2018 18:20:39 -0000
> @@ -93,7 +93,7 @@ sub delete_handle
>                               return;
>                       }
>               } else {
> -                     $state->errsay("NOT deleting #1: use fwupdate -d", 
> +                     $state->errsay("NOT deleting #1: use fw_update -d", 
>                           $pkgname);
>                       return;
>               }

That one's obviously OK.

> But I'm not quite sure why it wouldn't delete the old firmware.
> 
> Also, note that COMMENT references an intel(4) driver, but intel(4) is
> the manpage for the X driver for intel graphics adapters.  As this
> COMMENT is special (not set in the port Makefile), it's probably best
> not to touch it.
> 
> Cheers,
> 
> Paul 'WEiRD' de Weerd
> 
> -- 
> >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
> +++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
>                  http://www.weirdnet.nl/                 
> 

I suspect you may have installed the old version as a test with "make
install" from the ports tree rather than waiting for one to show up
for fw_update.

Reply via email to