Symptoms

When trying to install a DEB file package using the apt linux command the following error massage may occur:
# apt install package_name.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package package_name.deb
E: Couldn't find any package by glob 'package_name.deb'
E: Couldn't find any package by regex 'package_name.deb'

Solution

Supply a full path to your external DEB file package instead of a relative path. For example:
# apt install /home/directory/package_name.deb
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: