PURPOSE: TO KEEP KALI 2016.1 UP TO DATE ON BOOTABLE USB
Am an old Linux fan, but new to Kali... used to use Backtrack while back
so far so good with latest Kali! Excellent work...
DO NOTE!
Have searched through Kali Docs & Forums re this issue,
but no luck ;(
(pardon if I missed something)
NOW
I followed the following steps to set up Kali 2016.1 on USB
http://docs.kali.org/downloading/kal...ve-usb-install
http://docs.kali.org/downloading/kal...sb-persistence
This is what gparted showed me
(parted) print devices
/dev/sda (320GB)
/dev/sdb (16.0GB)
(parted) select /dev/sdb
Using /dev/sdb
(parted) print
Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.8kB 2852MB 2852MB primary boot, hidden
2 2852MB 2945MB 93.4MB primary fat16
3 2945MB 10.0GB 7055MB primary ext3
Everything was working fine after reboot... persistence fine, etc.
Then I did this, in order to ensure all up-to-date
(after booting from USB, then option to use persistent Kali from USB)
1) apt-get update
..that worked fine to update from
http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
All good at this point...
2) Then from System Settings, I did "Details"
and then "Check for Updates"
Package Updater showed
"There are 1626 updates available"
>>>This might be where I went wrong??
3) Clicked on "Install Updates"
this downloaded +-1.5GB to USB
...and then gpk process went into "hang" mode
hogged CPU to 99% for hour or what
I had to kill the package updater
...it was going nowhere
4) After reboot, if I re-do "Check for Updates"
it still shows 1626 updates available
5) But alas, apt-get does not work anymore, I get this error
root@kali:~# apt-get update
Hit:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
6) Running dpkg as directed gives these errors
root@kali:~# dpkg --configure -a
dpkg: dependency problems prevent configuration of wpasupplicant:
wpasupplicant depends on libc6 (>= 2.15); however:
Package libc6:amd64 is not installed.
dpkg: error processing package wpasupplicant (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for libc-bin:
libc-bin depends on libc6 (>> 2.21); however:
Package libc6:amd64 is not installed.
libc-bin depends on libc6 (<< 2.22); however:
Package libc6:amd64 is not installed.
dpkg: error processing package libc-bin (--configure):
dependency problems - leaving triggers unprocessed
Setting up libc-l10n (2.23-4) ...
dpkg: dependency problems prevent processing triggers for systemd:
systemd depends on libc6 (>= 2.17); however:
Package libc6:amd64 is not installed.
dpkg: error processing package systemd (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for man-db:
man-db depends on libc6 (>= 2.17); however:
Package libc6:amd64 is not installed.
dpkg: error processing package man-db (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent configuration of locales:
locales depends on libc-bin (>> 2.23); however:
Version of libc-bin on system is 2.21-6.
dpkg: error processing package locales (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rpcbind:
rpcbind depends on libc6 (>= 2.16); however:
Package libc6:amd64 is not installed.
dpkg: error processing package rpcbind (--configure):
dependency problems - leaving unconfigured
Setting up locales-all (2.23-4) ...
Errors were encountered while processing:
wpasupplicant
libc-bin
systemd
man-db
locales
rpcbind
**Please help**
1) How do I get apt-get update to work again?
2) What is best practice to keep Kali on USB up to date?
3) Any other tips / related limitations on USB?
Thanks for any help!