Hi, I face the same thing while trying to install tomcat7. Learn how your comment data is processed. To change sources.list file, you need to use the sudo command: Have a question or suggestion? sudo apt-get instal... 要安装GMate，你首先需要添加正确的PPA。打开终端，运行下面的命令： You can also subscribe without commenting. Update the apt installer; Add the URL in sources.list and update apt ; Solution for Unable to Locate Package in Linux. with Love and Prosperity K4LINUX-TEAM. The material in this site cannot be republished either online or offline, without our permission. # deb-src http://http.kali.org/kali kali-rolling main contrib non-free. # For source package access, uncomment the following line, # deb-src http://http.kali.org/kali kali-rolling main contrib non-free, Penetration Testing Tutorial – How To Locally copying Company Websites, Penetration Testing Tutorial – How To Locally copying Company Websites – k4linux | Linux Tutorials. sudo apt-get install gedit-gmate, sudo apt-get update Pingback:Penetration Testing Tutorial – How To Locally copying Company Websites – k4linux | Linux Tutorials, Your email address will not be published. Millions of people visit TecMint! If this article helped you to solve your problem please feel free to Share it with your friends. Table of Contents. Finally, also read our recent articles concerning installation of useful packages Debian 9: Thats all! To start fixing your Kali Linux repositories, make sure that you use root access using this command : Go to the folder that contain the sources.list file : Open the sources.list file using your preferred text editor, gedit or nano : Replace the file content with the following lines: deb http://http.kali.org/kali kali-rolling main contrib non-free 然后 TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Hot Unable to locate package is surely one of the most encounter errors on kali linux. If You Appreciate What We Do Here On TecMint, You Should Consider: TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. I encountered this error while trying to install openssh-server package on Debian 9 server as shown in the screen shot below. 完成后。那么你可以运行： Check if your can install the package. Popular. Then update the system packages list using the command below. EH Academy is the brainchild of Ehacking, which has been involved in the field of training since the past Five years and continues to help in creating professional IT experts. 腾讯云 版权所有 京公网安备 11010802017518 粤B2-20090059-1, Python/IPython ImportError：no module named site，怎么做？. sudo gedit /etc/apt/sources.list.d/ubuntu-on-rails-ppa-raring.list All Rights Reserved. 49.5k Views To Fix this error you just need to update your source list repositories with the official kali linux packages list. sudo apt-get install gedit-gmate 提示 E: Unable to locate package gedit-gmate。 写回答 邀请回答 用户1380708 用户1380708 提问于 2018-03-02 2018-03-02 11:01:57 Trending 我重装系统安装了ubuntu操作系统，想用gedit ，发现用不了，然后我sudo apt-get update, sudo apt-get install gedit-gmate 提示 E: Unable to locate package gedit-gmate。, 在安装软件包之前运行。重装系统后，系统没有最新的软件包列表，因此你将无法找到软件包。, Copyright © 2013 - 2020 Tencent Cloud. With more than 50 global partners, we are proud to count the world’s leading cybersecurity training provider. Save my name, email, and website in this browser for the next time I comment. If you don’t like the video or need more instructions, then continue reading. Hosting Sponsored by : Linode Cloud Hosting. This should be the first thing to check. Finally, after saving changes and running sudo apt-get update, proceed with the installation of the checkinstall package with the following command: sudo apt-get install checkinstall. March 22, 2020, 9:06 pm Kali Linux Tutorials – How to convert ogv to avi, Kali Linux Tutorials : How To Install VLC, Penetration Testing With Kali Linux – Flooding Network LAN Using Ettercap, Kali Linux Tutorials – How To Install WordPress, KALI LINUX TOOLS : BBQSQL (Vulnerability Analysis), Kali Linux Tools : SFUZZ (Vulnerability Analysis), Kali Linux Tutorials : Network PXE Install, Kali Linux Tools : PowerFuzzer (Vulnerability Scanner), How To Use Fluxion on Kali Linux – Hack Wifi, Penetration Testing With Kali Linux – ByPass AV – Unicorn – Hack Windows, Penetration Testing With Kali Linux – Encrypt a Payload (Veil Evasion), Kali Linux Tutorials – How To Install JAVA. In this article, I will explain how to fix the “E: unable to locate package package-name” error in Debian 9 distribution. K4linux is a Blog that aims to provide latest updates from Technology, Tutorials, How-Tos, and News bind to Hacking, Penetration Testing with Kali Linux, and also security Testing. If You Appreciate What We Do Here On TecMint, You Should Consider: VnStat PHP: A Web Based Interface for Monitoring Network Bandwidth Usage, How to Install Cacti with Cacti-Spine in Debian and Ubuntu, 20 Netstat Commands for Linux Network Management, Inxi – A Powerful Feature-Rich Commandline System Information Tool for Linux, 20 Useful Commands of ‘Sysstat’ Utilities (mpstat, pidstat, iostat and sar) for Linux Performance Monitoring, How to Limit the Network Bandwidth Used by Applications in a Linux System with Trickle, Progress – A Tiny Tool to Monitor Progress for (cp, mv, dd, tar, etc.) Notify me of followup comments via e-mail. Can you suggest something that could help? This can result into error like “E: unable to locate package package-name”. to search or browse the thousands of published articles available FREELY to all. How To Fix Unable To Locate Package on Kali Linux ? Now Unable To Locate Package on Kali Linux was successfully fixed, and you can install any tool on kali linux. I followed your steps and try to change sources.list to it is read only. This site uses Akismet to reduce spam. Save change and exit using CTRL+O and CTRL+X. Your email address will not be published. If you have encountered a problem or you have any questions or remarks please feel free to set a comment. # For source package access, uncomment the following line Commands in Linux, 3 Ways to List All Installed Packages in RHEL, CentOS and Fedora, Bash-it – Bash Framework to Control Your Scripts and Aliases, Find Top 10 IP Addresses Accessing Your Apache Web Server, How to Run Commands from Standard Input Using Tee and Xargs in Linux, 3 Ways to Extract and Copy Files from ISO Image in Linux, 16 Most Used Microsoft Office Alternatives for Linux, 10 Best Free and Open Source Software (FOSS) Programs I Found in 2020, 16 Best Open Source Music Making Software for Linux, 4 Best Linux Apps for Downloading Movie Subtitles, 16 Best Web Browsers I Discovered for Linux in 2020. Done E: Unable to locate package gedit. We are thankful for your never ending support. 在以下文件中将'raring'替换为'quantal'，然后重试： Please leave a comment to start the discussion. sudo apt-get install g... sudo apt-get update Now Unable To Locate Package on Kali Linux was successfully fixed, and you can install any tool on kali linux. All the steps for this tutorial are explained on a Video on our Youtube Channel you can subscribe to it by this link they are many other tutorials that you can learn about bypassing and hacking and others basics tutorials about kali linux. I mean, if you are trying to install vlcand you typed vcl, it will surely fail. sudo apt-get update How to Find Out Who is Using a File in Linux, Learn How to Use ‘fuser’ Command with Examples in Linux, 20 Practical Examples of RPM Commands in Linux, 4 Ways to Batch Convert Your PNG to JPG and Vice-Versa, 10 ‘who’ Command Examples for Linux Newbies, CDIR – A Faster Way to Navigate Folders and Files on Linux. Tecmint: Linux Howtos, Tutorials & Guides © 2020. If you have encountered a problem or you have any questions or remarks please feel free to set a comment. Now try to install the package which showed an error (for example the openssh-server). 在安装软件包之前运行。重装系统后，系统没有最新的软件包列表，因此你将无法找到软件包。. And remember to stick with Tecmint.com for everything Linux. Thanks to this articles you save me a lots. To fix this error, you need to add the necessary Debian software repositories in your /etc/apt/sources.list file: Save and close the file. Now you should be able to install this package … If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation. Required fields are marked *. Solution for Unable to Locate Package in Linux. If you have any queries, use the feedback form below to reach us. 3. 25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management, 15 Examples of How to Use New Advanced Package Tool (APT) in Ubuntu/Debian, How to Install Webmin Control Panel in Debian 9, How to Install MariaDB 10 on Debian and Ubuntu, How to Install Apache, MariaDB and PHP (FAMP) Stack on FreeBSD, How to Install Nginx, MariaDB and PHP (FEMP) Stack on FreeBSD, A Beginners Guide To Learn Linux for Free [with Examples], Red Hat RHCSA/RHCE 8 Certification Study Guide [eBooks], Linux Foundation LFCS and LFCE Certification Study Guide [eBooks]. Typos are common so make sure that you have not made any mistakes in typing the name of the package. 1 Comment. Please keep in mind that all comments are moderated and your email address will NOT be published. sudo apt-add-repository ppa:ubuntu-on-rails/ppa When you look into the /etc/apt/sources.list file, the default repositories included are shown in the screen shot below. If you install Debian 9 system using a netinstall CD image, your system probably will not have all the necessary repositories (from which you can install common packages), included in the apt sources list file. Installation of Debian 9 (Stretch) Minimal Server, How to Install LEMP (Linux, Nginx, MariaDB, PHP-FPM) on Debian 9 Stretch, Install LAMP (Linux, Apache, MariaDB or MySQL and PHP) Stack on Debian 9. Free learning courses, video tutorials, Ebooks … and more! Did you make a typo in the package name? If you love hacking like us, and wan to grow up your hacking skills to an expert level, then K4linux is the perfect place for you. sudo apt-get update Note: If you also want the contrib and non-free components, then add contrib non-free after main like this to /etc/apt/sources.list: You can find more information about /etc/apt/sources.list file from: https://wiki.debian.org/SourcesList. Get the best viral stories straight into your inbox! Now you just need to update and the error will disappear, with the following command: Congratulation!