I've recently installed a fingerprint system for kubuntu, of which part replaces a critical system component(I forget which, but it's important, so I can't use apt reinstall). I used to have one of my configurations modified to also remove all documentation pages in /usr/share/doc/ because for a short while I needed to save space while my 1tb ssd was coming in the mail, and I was using a spare 10gb hdd for the time. I've removed the part of 01_nodoc which removes the documentation, but after running apt update and upgrade, nothing has appeared in the directories. What command could one use to generate the docfiles again without reinstalling everything?

Unable to run the command specified. The file or folder /usr/share/doc/fingerprint-gui/Manual_en.html does not exist.
  • 2
    Quite a pickle you've made for yourself. Neither apt nor dpkg can do "partial" reinstalls - it's all or nothing. An apt upgrade will NOT automatically restore missing files. Missing files will often cause dpkg pre-removal scripts to error, aborting the entire queue of apt actions. It's probably easiest to live without manpages (docfiles) until you need them, then reinstall as-needed using dpkg (since you say you cannot use apt). – user535733 May 29 '19 at 20:32
  • is there any way for me to access documentation without a reinstall? is there a tar somewhere containing the documentation and the binary? is there a way to get to the html documentation from the cannonical site? – Jake t May 29 '19 at 21:10
  • 1
    Well, sure. Lots of manpages are online several places - start at manpages.ubuntu.com. Alternately, you can find source files for most of the packages at launchpad.net. – user535733 May 30 '19 at 2:53
  • I've edited my post to contain the error message, I couldn't find anything for fingerprint-gui in the man archive, is there one for html docs? – Jake t May 30 '19 at 12:22
  • 1
    Where did you get the software from? There's nothing called "fingerprint-gui" in the Ubuntu repositories, nor any description including that string. Usually that means you added some non-Ubuntu source to install the software. You would need to look in that source for the package or the docs. It's also not clear what command you are running that gives the error. – user535733 May 30 '19 at 13:56

I was able to get the documentation using the apt redownload command. I was skeptical of it working at first, but it does work for many system components, and nothing was lost in the process.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.