Results 1 to 3 of 3

Thread: zlib package not found

  1. #1
    Join Date
    2016-Mar
    Posts
    1

    zlib package not found

    Hello

    I'm trying to install zlib library on Kali 64 bits but I'm getting an error saying package not found I've tried:

    sudo apt-get install zlib1g-dev
    sudo apt-get install zlib1g-dev:i386
    sudo apt-get install lib32z1

    but all failed
    I could install the package on 64 bits Ubuntu using the first one but I don't know why it fails with Kali

  2. #2
    Join Date
    2016-Apr
    Location
    localhost
    Posts
    2
    hello forumers, this is my first post

    I'm also experiencing the same issue as the OP, tried to install rails and launch a new blog but after doing
    Code:
    bundle install
    bundler fails and complains zlib is missing.

    @OP Please do:
    Code:
    cat /etc/apt/sources.list
    and post your results

    Mine are as below:

    Code:
    # 
    
    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    This is a fresh install done today and the last three sources I added after reading the stickies in this forum.

    My next stop is to try and build zlib from source, I'll post back if I have any luck.

  3. #3
    Join Date
    2016-Apr
    Location
    localhost
    Posts
    2
    here's the fix I followed

    make sure your /etc/apt/sources.list reads:

    Code:
    # 
    
    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
    
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    then do:

    Code:
    apt-get install zlib1g-dev
    hope this helps!
    Last edited by dooglet; 2016-04-14 at 19:25.

Similar Threads

  1. Qbittorrent package not found
    By michw in forum General Archive
    Replies: 0
    Last Post: 2020-09-01, 06:12
  2. Live-build package not found
    By viraniac in forum Building Archive
    Replies: 5
    Last Post: 2013-04-06, 05:52

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •