Installation error for libncursesw6

Philip Prindeville philipp_subx at redfish-solutions.com
Mon Apr 26 07:24:48 BST 2021



> On Mar 1, 2021, at 10:54 PM, Hannu Nyman <hannu.nyman at iki.fi> wrote:
> 
> Philip Prindeville kirjoitti 2.3.2021 klo 0.37:
>>> On Mar 1, 2021, at 7:00 AM, Hannu Nyman <hannu.nyman at iki.fi> wrote:
>>> 
>>> Philip Prindeville philipp_subx at redfish-solutions.com wrote at Mon Mar 1 02:11:20 EST 2021:
>>>> Is there a workaround to force an install?
>>> * Build a new up-to-date version with the current packages data. Update opkg lists.
>>> * Download a .ipk manually and install it with opkg.
>>> 
>>> To my knowledge the bug has been already fixed in master, but you may still have the broken old firmware.
>> 
>> When you say "update opkg lists", are you talking about the /usr/lib/opkg/status file or something else?
>> 
>> Because it seems to me that that's what's lingering that might be damaged.  Is there a way to update "opkg" itself and resynthesize this file?  Or a script I can run to recreate it from scratch?
> 
> Buildbot builds the packages ok, and so do I.
> 
> Package: libncurses6
> Version: 6.2-1
> Depends: libc, terminfo
> Provides: libncursesw, libncurses, libncursesw6
> 
> So, this is likely something related to your buildroot. Somehow stale or dirty?
> 
> I suspect that you have not fully cleaned your build system. As the package metadata parsing was buggy two weeks ago, you should have re-created all package metadata from scratch after it was fixed. The package metadata is semi-hidden in tmp/.package* files, which are not touched by make clean.  You should rm tmp/ from buildroot and let all package data get re-created.
> 
> perus at ub2010:/Openwrt/r7800$ ls  tmp/.package*
> tmp/.packageauxvars  tmp/.packagedeps  tmp/.packageinfo� tmp/.packageusergroup
> 


I'm still seeing this with 'strace' on a recent cloning of master/HEAD.

I did a:

% rm -rf tmp/
% make clean

But it's not going away.

Any other ideas?

Thanks




More information about the openwrt-devel mailing list