Pages

Fix “Unable to locate package” error in Kali Linux.


This error is basically due to entries in the sources.list file.
Open /etc/apt/ using following command:
cd /etc/apt/
Open the sources.list file using:
sudo nano sources.list
Now paste the following code at the last line of the file:
deb 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
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali sana main non-free contrib
# deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
deb http://old.kali.org/kali moto main non-free contrib
# For source package access, uncomment the following line
# deb-src http://old.kali.org/kali moto main non-free contrib
Write and quit the file using CTRL+O and CTRL+X

Now just run:
sudo apt-get update
Now your error is gone you can install any package
thudinh Network and Security

TMSH command on F5 LTM



Help is available on the following topics

General:
  glob                      regex                        tmsh
  grep                      time

Commands:
  cd                        list                         restart
  cp                        load                         run
  create                    modify                       save
  delete                    mv                           send-mail
  edit                      publish                      show
  exit                      pwd                          shutdown
  generate                  quit                         start
  help                      reboot                       stop
  install                   reset-stats                  submit

Modules:
  auth
  cert-ldap                 password-policy              source
  ldap                      radius                       tacacs
  login-failures            radius-server                user
  partition                 remote-role
  password                  remote-user

  cli
  admin-partitions          preference                   version
  global-settings           script
  history                   transaction

  cli alias
  private                   shared

  cm
  cert                      key                          watch-devicegroup-device
  config-sync               sniff-updates                watch-sys-device
  device                    sync-status                  watch-trafficgroup-device
  device-group              traffic-group
  failover-status           trust-domain

  ltm
  default-node-monitor      policy                       snat-translation
  eviction-policy           policy-strategy              snatpool
  ifile                     pool                         traffic-class
  nat                       rule                         virtual
  node                      snat                         virtual-address

  ltm auth
  crldp-server              profile                      ssl-crldp
  kerberos-delegation       radius                       ssl-ocsp
  ldap                      radius-server                tacacs
  ocsp-responder            ssl-cc-ldap

  ltm clientssl
  ocsp-stapling-responses

  ltm clientssl-proxy
  cached-certs

  ltm data-group
  external                  internal

  ltm dns
  dns-express-db            tsig-key
  nameserver                zone

  ltm dns analytics
  global-settings

  ltm dns cache
  global-settings           transparent
  resolver                  validating-resolver

  ltm dns cache records
  key                       nameserver
  msg                       rrset

  ltm dns dnssec
  key                       zone

  ltm global-settings
  connection                general                      traffic-control

  ltm html-rule
  comment-raise-event       tag-prepend-html             tag-remove-attribute
  comment-remove            tag-raise-event
  tag-append-html           tag-remove

  ltm message-routing

  ltm message-routing generic
  peer                      route                        transport-config
  protocol                  router

  ltm message-routing sip
  peer                      route                        transport-config

  ltm message-routing sip profile
  router                    session

  ltm monitor
  diameter                  mssql                        sip
  dns                       mysql                        smb
  external                  nntp                         smtp
  firepass                  none                         snmp-dca
  ftp                       oracle                       snmp-dca-base
  gateway-icmp              pop3                         soap
  http                      postgresql                   tcp
  https                     radius                       tcp-echo
  icmp                      radius-accounting            tcp-half-open
  imap                      real-server                  udp
  inband                    rpc                          virtual-location
  ldap                      sasp                         wap
  module-score              scripted                     wmi

  ltm persistence
  cookie                    msrdp                        ssl
  dest-addr                 persist-records              universal
  global-settings           sip
  hash                      source-addr

  ltm profile
  certificate-authority     http2                        rtsp
  classification            icap                         sctp
  client-ldap               iiop                         server-ldap
  client-ssl                ipother                      server-ssl
  dhcpv4                    mblb                         sip
  dhcpv6                    mssql                        smtps
  diameter                  ntlm                         socks
  dns                       ocsp-stapling-params         spdy
  dns-logging               one-connect                  statistics
  fasthttp                  pptp                         stream
  fastl4                    qoe                          tcp
  fix                       radius                       udp
  ftp                       ramcache                     wa-cache
  gtp                       request-adapt                web-acceleration
  html                      request-log                  xml
  http                      response-adapt
  http-compression          rewrite

  net
  arp                       lldp-neighbors               self-allow
  bwc-policy                ndp                          stp
  cmetrics                  packet-filter                stp-globals
  dns-resolver              packet-filter-trusted        trunk
  ike-evt-stat              port-mirror                  vlan
  ike-msg-stat              route                        vlan-allowed
  interface                 route-domain                 vlan-group
  interface-cos             router-advertisement         wccp
  ipsec-stat                rst-cause
  lldp-globals              self

  net cos
  global-settings           map-dscp
  map-8021p                 traffic-priority

  net fdb
  tunnel                    vlan

  net ipsec
  ike-daemon                ipsec-policy                 traffic-selector
  ike-peer                  ipsec-sa
  ike-sa                    manual-security-association

  net rate-shaping
  class                     queue
  drop-policy               shaping-policy

  net tunnels
  etherip                   ipsec                        v6rd
  fec                       map                          vxlan
  fec-stat                  ppp                          wccp
  gre                       tcp-forward
  ipip                      tunnel

  sys
  classification-signature  ha-status                    outbound-smtp
  clock                     hardware                     pptp-call-info
  cluster                   host-info                    proc-info
  config                    httpd                        provision
  config-diff               hypervisor-info              pva-traffic
  connection                icmp-stat                    scriptd
  console                   ip-address                   service
  cpu                       ip-stat                      smtp-server
  daemon-ha                 iprep-status                 snmp
  datastor                  license                      sshd
  db                        log                          state-mirroring
  dns                       log-rotate                   sync-sys-files
  failover                  mac-address                  syslog
  feature-module            management-dhcp              tmm-info
  fix-connection            management-ip                tmm-traffic
  folder                    management-route             traffic
  geoip                     mcp-state                    ucs
  global-settings           memory                       version
  ha-group                  ntp

  sys application
  apl-script                service
  custom-stat               template

  sys crypto
  cert                      crl                          pkcs12
  check-cert                key                          server
  client                    master-key

  sys crypto fips
  by-handle                 external-hsm                 key

  sys daemon-log-settings
  clusterd                  icrd                         mcpd
  csyncd                    lind                         tmm

  sys disk
  application-volume        directory                    logical-disk

  sys file
  apache-ssl-cert           ifile                        system-ssl-cert
  dashboard-viewset         ssl-cert                     system-ssl-key
  data-group                ssl-crl
  external-monitor          ssl-key

  sys fpga
  firmware-config           info

  sys icall
  event                     publisher
  istats-trigger            script

  sys icall handler
  periodic                  perpetual                    triggered

  sys ipfix
  destination               element                      irules

  sys log-config
  filter                    publisher

  sys log-config destination
  alertd                    local-database               remote-syslog
  arcsight                  local-syslog                 splunk
  ipfix                     remote-high-speed-log

  sys performance
  all-stats                 ramcache                     throughput
  connections               system

  sys raid
  array                     bay                          disk

  sys sflow
  receiver

  sys sflow data-source
  http                      system
  interface                 vlan

  sys sflow global-settings
  http                      system
  interface                 vlan

  sys software
  block-device-hotfix       image                        update
  block-device-image        signature                    update-status
  hotfix                    status                       volume

  sys url-db
  download-result           download-schedule            url-category

  util
  bash                      ping                         test-monitor
  ccmode                    ping6                        tracepath
  dig                       platform_check               tracepath6
  dnat                      qkview                       traceroute
  domain-tool               racoonctl                    traceroute6
  fips-card-sync            scp                          unix-ls
  fips-util                 sftp                         unix-mv
  gencert                   sipdb                        unix-rm
  get-ccn-dossier           ssh-keyswap                  updatecheck
  get-dossier               ssldump                      vconsole
  imish                     sys-icheck                   zebos
  lsndb                     tcpdump
  netstat                   telnet

  wom

  wom profile

thudinh Network and Security

Adsense

Translate