Score:0

How to fix: dpkg: Warning: Files list file for package nodejs-doc missing?

ma flag

So i completely removed Nodejs by running file manager as Root and deleting every search hit for "nodejs". ' After i installed NodeJs again i get the following warning everytime:

dpkg: warning: files list file for package 'nodejs-doc' missing; assuming package has no files
 currently installed
(Reading database ... 228170 files and directories currently installed.)

How do i get the nodejs-doc files list back?

galexite avatar
pk flag
You shouldn’t have deleted node manually. You’ve possibly deleted data stored in apt’s cache.
Diorcula avatar
ma flag
So what now? What should I do?
galexite avatar
pk flag
Not my expertise, but I’d try clearing your apt cache first. Try `sudo apt purge 'nodejs*' && sudo apt clean && sudo apt update && sudo apt install nodejs`
Diorcula avatar
ma flag
@galexite thanks, i will try this! :)
Score:0
ma flag

With thanks to user @galexite i fixed it with

 sudo apt purge 'nodejs*' && sudo apt clean && sudo apt update && sudo apt install nodejs
galexite avatar
pk flag
Glad it worked!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.