Showing posts with label kali. Show all posts
Showing posts with label kali. Show all posts

Sunday, August 21, 2016

How to Fix Kali Linux Unable to locate package Error

How to Fix Kali Linux Unable to locate package Error


How to Fix Kali Linux "Unable to locate package"

May be you encounter this when updating or installing apps in Kali Linux  apt-get install "your apps".

The single most common causes of a broken Kali Linux installation are following unofficial advice, and particularly arbitrarily populating the system’s sources.list file with unofficial repositories. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.


also read: How to create bootable kali linux on USB
 

Fix Unable to locate package

Here is the solution, update  your source.list from doc.kali.org

1.The Kali Rolling Repository
kali-rolling is our current active repository since the release of Kali 2016.1. Kali Rolling users are expected to have the following entries in their sources.list:

2.Retired Kali sana (2.0) Repositories
For access to the retired sana repositories, have the following entries in your sources.list:

3.Retired Kali moto (1.0) Repositories
For access to the retired moto repositories, have the following entries in your sources.list:



Copy this on your source.list

NOTE: Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.

For beginner who dont know how to place the source list here is a step by step.

1. Click Places the choose Computer.


Fix Unable to locate package


2. Find "etc" folder.

Fix Unable to locate package


3. Find "apt" folder.

Fix Unable to locate package


4. Find source.list  open with gpedit  (notepad in linux).

Fix Unable to locate package


5. Now  copy paste  the repository on this post above then save.

Fix Unable to locate package

Fix Unable to locate package


6. Open your Terminal (cmd like)  type the fallowing command then press enter

apt-get update && apt-get install -f 


Fix Unable to locate package

Now you will get updated  list... wait it to finish.


Fix Unable to locate package

7. Now Done try to install your app now

Sample apt-get install hostapd



Fix Unable to locate package


additional if you want to get all sofware update just enter this command

apt-get update



Fix Unable to locate package

INFOTECHMAESTRO TIPS: If you still have this error after updating source list check your LETTER use all small letter sometimes CAPSLOCK matters!!

Fix Unable to locate package

You Can Check More About Kali Repositories Here:
http://docs.kali.org/general-use/kali-linux-sources-list-repositories


download now

Read More

Tuesday, August 16, 2016

How to make a bootable Kali Linux 2 0 USB

How to make a bootable Kali Linux 2 0 USB


How to make a bootable Kali Linux 2.0 USB with persistence that save files

Do you want to change the settings, update, and save some files in Kali Linux Live USB without losing your work.

How to make a bootable Kali Linux 2.0 USB with persistence. Persistence means that all the data changes that take place while you are using the system, they will be saved on the usb / pendrive that you Linux is in.

bootable Kali Linux

Reasons for using Live USB with Persistence are:
  • · You use all of your system resources eg. CPU, RAM, GPU, etc
  • · You take no space of your Hard Drive for it.
  • · You can take your OS to any PC you use.
bootable Kali Linux

Requirements:

1. Universal USB Installer : www.pendrivelinux.com/universal-usb-inst­aller-easy-as-1-2-3/


or Rufus Faster bootable maker : https://rufus.akeo.ie/

2. Kali Linux Image : https://www.kali.org/downloads/

3. MiniTool Partition Wizard : www.partitionwizard.com  

OR http://download.cnet.com/MiniTool-Partition-Wizard-Free-Edition/3000-2094_4-10962200.html


TUTORIAL:
1. DOWNLOAD KALI LINUX ISO AND MAKE A BOOTABLE LIVE KALI


bootable Kali Linux

 3. CREATE 2 PARTITION WITH MINI TOOL

1. Select your USB drive with Kali Linux  right click  and choose  Move/Resize
  I resize mind 3.2 gig

bootable Kali Linux

bootable Kali Linux
 
2. Click the Unallocated rigth click to create new partition.


bootable Kali Linux


3. Name the partition label  "persistence" , create as "primary" , file system "Ext4" , cluster size "default" .

bootable Kali Linux


4. Click "Apply"  check .. and then click Yes.

bootable Kali Linux


Wait 10 minutes or more...

bootable Kali Linux


4. BOOT FROM YOUR NEW KALI LINUX LIVE USB PERSISTENCE
OPEN THE TERMINAL (CMD LIKE)

bootable Kali Linux



Commands Used In Kali :


UUI is the drive name change with your own drive name label

1. fdisk -l : To List Your Drives

2. mkdir -p /mnt/UUI : Make a directory on the filesystem to mount your USB

3. mount /dev/sdb2 /mnt/UUI : Mount the partition on the directory you made

4. echo "/ union"> /mnt/UUI/persistence.conf : Adds a configuration file to enable persistence.

5. umount /dev/sdb2 && reboot : Unmount the partition and reboot.


OK DONE!!..

When Kali as password type : toor
user name is : root

download now

Read More