Sunday, September 17. 2017
Missing opkg status file on LEDE... Posted by Andrew Ruthven
in catalyst at
11:51
Comments (0) Trackbacks (0) Missing opkg status file on LEDE...
I tried to install LEDE on my home router which is running LEDE, only to be told that libc wasn't installed. Huh? What's going on?! It looked to all intents as purposes as though libc wasn't installed. And it looked like nothing was installed.
What to do if opkg list-installed is returning nothing? I finally tracked down the status file it uses as being /usr/lib/opkg/status. And it was empty. Oh dear. Fortunately the info directory had content. This means we can rebuild the status file. cd /usr/lib/opkg/info And then for the special or virtual packages (such as libc and the kernel): for x in *.control; do I then had to edit the file tidy up some newlines for the kernel and libc, and set the status lines correctly. I used "install hold installed". Now I that I've shaved that yak, I can install tcpdump to try and work out why a VoIP phone isn't working. Joy. |
Calendar
ArchivesCategoriesSyndicate This BlogBlog AdministrationShow tagged entriesPowered by |