On 25/04/2018 00:22, Stefan Monnier wrote:

> Was so sure I didn't need to
> do it again.  I know this data is flushed upon reboot, but is it also
> flushed at other times (I could swear that I haven't rebooted since the
> last time I had done "opkg update")?

Three things come to my mind:

1 - I learnt that "uptime" is much more trustable than my mind, when
needing to take decisions based on "reboot-time" of my
little-devices-OpenWRT-based :-)

2 - I'm wondering --right now-- why "opkg update" is _NOT_
reboot-persistent. I mean:
   - is having _OLD_ package indexes WORSE than not having them at all?";
   - are package indexes kept in memory? Why aren't they flushed on the
file-system?

What am I missing, here?

3 - It would be nice --as a new feature of the "opkg" client tool-- to
raise an alert when package indexes is too-old or, worse, is completely
missing. I for myself, a couple of years ago, spent much time exactly
missing this requirement ("opkg update"). It was such a bad-feeling that
since then, _EVERY_ time I need to install something, I _ALWAYS_ prefix an
"opkg update" :-)

Cheers,
DV


P.S.:
>> Try 'opkg update' first then 'opkg find conntrack'
>
> In any case, thank you for stating the obvious that I had missed,

you're welcome :-)

-- 
Damiano Verzulli
e-mail: [email protected]
---
possible?ok:while(!possible){open_mindedness++}
---
"Technical people tend to fall into two categories: Specialists
and Generalists. The Specialist learns more and more about a
narrower and narrower field, until he eventually, in the limit,
knows everything about nothing. The Generalist learns less and
less about a wider and wider field, until eventually he knows
nothing about everything." - William Stucke - AfrISPA
  http://elists.isoc.org/mailman/private/pubsoft/2007-December/001935.html

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to