2

After installing the Bluetooth package I got the following errors:

Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 7 package 'tesseract-ocr-epo':
 missing description
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 7 package 'tesseract-ocr-epo':
 missing maintainer
dpkg: error: parsing file '/var/lib/dpkg/available' near line 7 package 'tesseract-ocr-epo':
 missing version
E: Sub-process /usr/bin/dpkg returned an error code (2)

After the installation I'll run the following to get the status.

/etc/init.d/bluetooth status
response of the PI is:
-bash: /etc/init.d/bluetooth: No such file or directory

What can I do?

  • How did you install this? – Steve Robillard Nov 27 '15 at 14:20
  • Edit your question and add the output of apt-cache policy tesseract-ocr-epo – A.B. Nov 27 '15 at 21:24
1

Run the commands below to remove /var/lib/dpkg/available and recreate

sudo dpkg --clear-avail
for i in /var/lib/apt/lists/*_Packages; do sudo dpkg --merge-avail "$i"; done

Now install the package again.

  • This was the solution. Bluetooth works now fine. Thanks – WimP Nov 28 '15 at 12:30

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.