Showing posts with label repository. Show all posts
Showing posts with label repository. Show all posts

Friday, 8 September 2017

Update Kali Linux 2017.1 via repository

I came to a peculiar situation when I tried to update Kali Linux 2017.1 via terminal. It shows me "Reading package lists... Done".

Then I navigate "sources.list" file to check if the repository in present or not. And, found the link to the repository was missing.



I added the repository link and saved the file.

And, then I tried to update Kali Linux 2017.1 via terminal and I was taking update.

Further I typed upgrade command and it worked too.

Monday, 22 June 2015

Install Synaptic Package Manager in Kali Linux

About  Synaptic Package Manager
Synaptic Package Manager is GTK+- based GUI for apt (Advance Packaging Tool)- the package management used by Debian and its derivatives. Synaptic Package Manager- a very handy tool, used to install, remove and update software packages and add repositories. Though, based on deb packages but can be used on the system bsed on RPM packages.

Features
  • Install, remove, upgrade and downgrade single and multiple packages System-wide upgrade
  • Package search utility
  • Manage package repositories
  • Find packages by name, description and several other attributes
  • Select packages by status, section, name or a custom filter
  • Sort packages by name, status, size or version
  • Browse available online documentation related to a package
  • Download the latest changelog of a package
  • Lock packages to the current version
  • Force the installation of a specific package version
  • Undo/Redo of selections
  • Built-in terminal emulator for the package manager
  • Allows creation of download scripts
I have tested it on Kali Linux 1.1.0a machine with 32-bit architecture. To begin installing Synaptic Package Manager on your system, 

1. Please add below two repositories

deb http://http.kali.org/kali kali main non-free contrib 
deb http://security.kali.org/kali-security kali/updates main contrib non-free

to sources.list file (path: Computer -> File System -> etc -> apt -> sources.list). Save the file and exit. To know more on Kali Linux repositories please check my post, Kali Linux Repositories.

Note: Before saving sources.list file, make sure that it shouldn't have duplicate entries of  repository/ ies or else you may get 404 error or unmet dependency error.

2. Now open terminal and type apt-get update && apt-get upgrade to update kali linux.

3. Once done, execute apt-get install synaptic and then apt-get install software-center.

Monday, 31 March 2014

Kali Linux Repositories

Hi Everyone! this is an updated post on Kali Linux repositories. Well, a repository is an archival source from where Kali Linux softwares are updated and upgraded online. sources.list is the file where all the links for necessary update are saved. When we execute a command apt-get update, it searches for the updated package online. Un-wanted or un-necessary links can cause failure of Kali Linux package installation, so make sure what link/s should be added to the repository so that Kali Linux should get proper update. 

Kali Linux distribution has three repositories, which are mirrored world-wide:

http.kali.org (mirrorlist): the main package repository;
security.kali.org (mirrorlist): the security package repository;
cdimage.kali.org (mirrorlist): the repository with ISO images.

On a clean installation, Kali Linux, have the following two entries present in /etc/apt/sources.list:

deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
These are called Regular repositories from where Kali Linux get its update. In case, you require additional package, then your can add valid package source. You might also want to add the following repositories as well. These are Sources repositories:

deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

Finally, do not forget to do an update Kali Linux on terminal by typing apt-get update && apt-get upgrade && apt-get dist-upgrade.



Suggestion from Mr. Phong Do. Mr. Phong Do, made a change by just replacing "http:" with "deb" and found update is much faster. Hi all, please check and update me in comments so that I can update the post accordingly. THANKS.

just change http to repo like this:
deb http://repo.kali.org/kali kali main non-free contrib

Wednesday, 5 June 2013

Debian Sources List Generator

1. goto http://debgen.simplylinux.ch/
2. click on 3rd party repos
3. fill the details as per your requirement and click on send
4. now select sources under Default Debian Packages and if necessary check on yes include, if source packages are required and then click generate sources.list button to generate your links
5. add them to etc/apt/sources.list
6. open root terminal and type apt-get update

Monday, 27 May 2013

Add Repository in Kali Linux

Kali linux is a debian base linux distribution designed for penetration testing. Here, I will give a tutorial on how to add a repository on Kali Linux 1.0.3 with ease. Repository is a archival software, where software in this archive can be retrieved by the user to use. Please click here to check for the new blog post on repository. 

1. Open root terminal and type this code.
   root@kali:~# leafpad /etc/apt/sources.list

2. Add all repositories, i.e. :

deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb-src http://http.kali.org/kali kali main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

Save the file and exit.

3. root@kali:~# apt-get update

4. root@kali:~# apt-get upgrade