Results 1 to 6 of 6

Thread: apt-get update && apt-get install wine-bin:i386 error

  1. #1

    apt-get update && apt-get install wine-bin:i386 error

    Hi
    I have problem in my kali linux 1.0.7
    I tried install wine-bin:i386 but after installation i see so many errors
    Any help is welcome
    "apt-get update && apt-get install wine-bin:i386
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali Release.gpg
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali Release
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/contrib amd64 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/main amd64 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/non-free amd64 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/contrib i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/main i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/non-free i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/contrib Translation-en_US
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/contrib Translation-en
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/main Translation-en_US
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/main Translation-en
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/non-free Translation-en_US
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57] kali/non-free Translation-en
    W: Failed to fetch cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57]/dists/kali/contrib/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57]/dists/kali/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    E: Some index files failed to download. They have been ignored, or old ones used instead.
    "
    Here is my source.list

    "deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free
    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main/debian-installer
    deb-src http://http.kali.org/kali kali-dev main contrib non-free
    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main contrib non-free
    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main/debian-installer
    deb-src http://http.kali.org/kali kali main contrib non-free
    deb http://repo.kali.org/kali kali-bleeding-edge main
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free"
    the quieter you become the more you are able to hear

  2. #2
    Join Date
    2014-Jun
    Posts
    1
    Hi,
    I had a major headache trying to do this myself just so I could use wine to install (ndiswrapper) some drivers for a USB Wireless device.

    After digging through countless forums and google searches as well as some trial and error I came up with this:


    Open Terminal and type:
    leafpad /etc/apt/sources.list

    Two Lines Below (## Security updates deb http://security.kali.org/kali-security)
    Paste the following

    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/debain-installer
    deb-src http://http.kali.org/kali kali-dev main contrib non-free
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://http.kali.org/kali kali main/debain-installer
    deb-src http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    deb http://http.packages.debian.org import deb packages

    Then close everything.
    Reopen Terminal and type each line then hit enter.

    dpkg --add-architecture i386
    apt-get update
    apt-get install wine-bin:i386

    Wine should be installed now.


    I thought I would share so others can avoid this headache.
    Good luck.

  3. #3
    Doing what Droophoria suggested isn't recommend (you are mixing repos).

    During your Kali setup - either your machine didn't have Internet access or you said no to network repos - which is why its trying to use the CD still.
    You can fix this by using the four lines:
    More information: http://docs.kali.org/general-use/kal...t-repositories

    Code:
    echo deb http://http.kali.org/kali kali main non-free contrib > /etc/apt/sources.list
    echo deb-src http://http.kali.org/kali kali main non-free contrib >> /etc/apt/sources.list
    echo deb http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    echo deb-src http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    apt-get update afterwards and try again.
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  4. #4
    Join Date
    2015-May
    Posts
    1
    Quote Originally Posted by g0tmi1k View Post
    Doing what Droophoria suggested isn't recommend (you are mixing repos).

    During your Kali setup - either your machine didn't have Internet access or you said no to network repos - which is why its trying to use the CD still.
    You can fix this by using the four lines:
    More information: http://docs.kali.org/general-use/kal...t-repositories

    Code:
    echo deb http://http.kali.org/kali kali main non-free contrib > /etc/apt/sources.list
    echo deb-src http://http.kali.org/kali kali main non-free contrib >> /etc/apt/sources.list
    echo deb http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    echo deb-src http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    apt-get update afterwards and try again.
    I've been trying to fix this issue for hours on end. I'm extremely new to Linux and I'm just trying to follow this 540pg book on pentesting and I got caught on installing mingw32 and I noticed I needed wine and for the life of me could not get wine to install.

    I made an account just to post and say thank you so much for this. I'm assuming I wasn't connected to the internet since I was installing Kali on VMware Workstation 11.

  5. #5
    Join Date
    2015-May
    Posts
    2

    Thank you g0tmi1k

    Quote Originally Posted by g0tmi1k View Post
    Doing what Droophoria suggested isn't recommend (you are mixing repos).

    During your Kali setup - either your machine didn't have Internet access or you said no to network repos - which is why its trying to use the CD still.
    You can fix this by using the four lines:
    More information: http://docs.kali.org/general-use/kal...t-repositories

    Code:
    echo deb http://http.kali.org/kali kali main non-free contrib > /etc/apt/sources.list
    echo deb-src http://http.kali.org/kali kali main non-free contrib >> /etc/apt/sources.list
    echo deb http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    echo deb-src http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    apt-get update afterwards and try again.

    I have searched for hours until I came across your response g0tmi1k, and that's exactly what I was looking for. Thank you

  6. #6
    Join Date
    2014-May
    Posts
    28
    How can we make Wine work on Kali 2??????

Similar Threads

  1. Issue with Wine-bin:i386 and trying to install Veil on OS
    By Ace of Spades in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2016-01-15, 04:27
  2. I am facing strange problem in Kali x64 with wine-bin:i386
    By 1337kh4n in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-10-27, 12:17

Posting Permissions

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