On 2012-05-05, Jan Stary <h...@stare.cz> wrote:
> Certain device's manpages refer to a firmware package to be installed.
> I tried to install them all when installing to a USB flash drive, with
> # cat /usr/share/man/man4/*.4 | grep http | grep firmware | xargs pkg_add
>
> That goes fine, but some devices already have a firmware package
> that is newer than what is referenced in the manpage:
>
> Can't install athn-firmware-1.1 because of conflicts (athn-firmware-1.1p0)
> Can't install iwn-firmware-5.6 because of conflicts (iwn-firmware-5.6p0)
> Can't install rsu-firmware-1.1 because of conflicts (rsu-firmware-1.1p0)
> Can't install uvideo-firmware-1.1 because of conflicts (uvideo-firmware-1.2p0)
>
> (These four I have installed before; in fact, the installer gets
> iwn and uvideo for me, and is is the newer one, which is good.)
>
> Looking at http://firmware.openbsd.org/firmware/ there is more.
> Would a diff to the relevant manpages be helpful, or does someone
> (possibly the people who prepared the newer firmware packages)
> already have this on their mind?

I'd prefer a diff to remove the full package names, people should
generally just be using fw_update for these, in special cases
where you want to 'pre-install' then pointing PKG_PATH at the right
url (http://firmware.openbsd.org/firmware/5.1/ etc) then I would
expect e.g. 'pkg_add iwn-firmware' to work.

> Also, the firmware package at http://firmware.openbsd.org/firmware/
> are immune to 'pkg_add -ui' - what is the rationale behind isolating
> them like this, and not being regular packages?

They are regular packages and should get updated *if* there are
newer versions. That's exactly how fw_update gets them updated.
They don't change very often though, you wouldn't normally
expect them to update.

Reply via email to