Stop spreading BAD suggestions
Quote:
Originally Posted by
Injectnique
This worked out for me with a fresh Kali install encountering this issue.
I added the sources itdanno mentioned
Code:
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
Which I knew would give me some errors, however after a quick-
Code:
# apt-get -f install
I'm fine to install wine:i386
Do not repeat BAD suggestions as your post will be read by more; who will end up breaking their installations.
will break Kali at a later stage and for every installation/update, you'll have to force it.
There's little or no reason to specify arch in sources.list file i.e. [arch=i386,amd64,armel,armhf]. What it does, it will download more package list than necessary, means slower update and cluttered installation. If you need i386 arch in a 64-bit installation, you just add it via dpkg and aptitude picks it up.
Code:
dpkg --add-architecture i386
There's no reason to add amd64 arch in a 32-bit installation as it doesn't work.. compatibility works for 64bit only (i.e. 64-bit understands 32-bit with lib packages installed, 32-bit doesn't understand 64-bit as it's limited by arch).
Kali repo is quite simple and direct:
and if you need bleeding edge (I see little reason to add those unless you're a dev yourself or working on bugfix) then you also add the following in your sources.list
Aptitude is usually smart enough to determine which arch it needs to download. You can also check which arch'er are enabled like this:
Code:
cat /var/lib/dpkg/arch
I suggest users go to Kali IRC channel and ask there directly. Someone is always there to help and available for a chat.
Dependencies Nightmare continues!
Quote:
Originally Posted by
blackMORE
Do not repeat
BAD suggestions as your post will be read by more; who will end up breaking their installations.
will break Kali at a later stage and for every installation/update, you'll have to force it.
There's little or no reason to specify arch in sources.list file i.e.
[arch=i386,amd64,armel,armhf]. What it does, it will download more package list than necessary, means slower update and cluttered installation. If you need i386 arch in a 64-bit installation, you just add it via dpkg and aptitude picks it up.
Code:
dpkg --add-architecture i386
There's no reason to add amd64 arch in a 32-bit installation as it doesn't work.. compatibility works for 64bit only (i.e. 64-bit understands 32-bit with lib packages installed, 32-bit doesn't understand 64-bit as it's limited by arch).
Kali repo is quite simple and direct:
and if you need bleeding edge (I see little reason to add those unless you're a dev yourself or working on bugfix) then you also add the following in your sources.list
Aptitude is usually smart enough to determine which arch it needs to download. You can also check which arch'er are enabled like this:
Code:
cat /var/lib/dpkg/arch
I suggest users go to Kali IRC channel and ask there directly. Someone is always there to help and available for a chat.
Mr. blackMORE - Apologies for "necro-bumping" this thread, but I really really need help, and nobody is responding on kali-linux IRC channel. I followed your instructions from your website a while ago to install Skype (via adding the i386 architecture), and everything worked like a charm. You seem to know your stuff in terms of Kali, and I cannot find any answers to my issue on any other forums, etc.
So I made an attempt to install a tox chat client on my Kali 2.0 64 bit machine, and after countless compilation errors, and dependency errors, it turned out I was missing "ffmpeg"...So I installed ffmpeg.....It went well....Then I re-ran the setup for Tox once again, and this time it complained about "sqlcipher" dependecies. This is where it got really messy. I started installing those dependencies manually using deb amd64 packages (because it wasn't doable via "apt-get")...and on the second package - libtinfo5_5.9+20140913-1+b1_amd64.deb, everything went to ****.
When I try to use "apt-get autoremove" or "purge", I get the dreaded:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libncurses5 : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libncurses5-dev : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libncursesw5 : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libtinfo-dev : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libtinfo5 : Breaks: libtinfo5:i386 (!= 5.9-4) but 5.9+20140913-1+b1 is installed
libtinfo5:i386 : Breaks: libtinfo5 (!= 5.9+20140913-1+b1) but 5.9-4 is installed
ncurses-bin : PreDepends: libtinfo5 (>= 5.9+20130119) but 5.9-4 is installed
E: Unmet dependencies. Try using -f.
If I run apt-get -f install, as suggested, it keeps asking me to upgrade libtinfo5, but when I do, I get this:
(Reading database ... 349500 files and directories currently installed.)
Preparing to unpack .../libtinfo5_5.9+20140913-1+b1_amd64.deb ...
Unpacking libtinfo5:amd64 (5.9+20140913-1+b1) over (5.9-4) ...
dpkg: error processing archive /var/cache/apt/archives/libtinfo5_5.9+20140913-1+b1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libtinfo5/copyright', which is different from other instances of package libtinfo5:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libtinfo5_5.9+20140913-1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
And it keeps taking me back to the vicious loop of dependencies errors over and over again.
I can no longer edit the /etc/apt/sources.list file...I get the following error in the terminal:
nano: symbol lookup error: /lib/x86_64-linux-gnu/libncursesw.so.5: undefined symbol: _nc_putchar
And if I try to use the Gnome desktop to open the folders via GUI, I get:
Authentication required to mount ST95*** (dev/SDA3)
and it prompts me to enter my sudoers password!
Any help or advice would be greatly appreciated. Please!
Thank you!
Dependencies Nightmare continues!
Quote:
Originally Posted by
Caspa
Mr. blackMORE - Apologies for "necro-bumping" this thread, but I really really need help, and nobody is responding on kali-linux IRC channel. I followed your instructions from your website a while ago to install Skype (via adding the i386 architecture), and everything worked like a charm. You seem to know your stuff in terms of Kali, and I cannot find any answers to my issue on any other forums, etc.
So I made an attempt to install a tox chat client on my Kali 2.0 64 bit machine, and after countless compilation errors, and dependency errors, it turned out I was missing "ffmpeg"...So I installed ffmpeg.....It went well....Then I re-ran the setup for Tox once again, and this time it complained about "sqlcipher" dependecies. This is where it got really messy. I started installing those dependencies manually using deb amd64 packages (because it wasn't doable via "apt-get")...and on the second package - libtinfo5_5.9+20140913-1+b1_amd64.deb, everything went to ****.
When I try to use "apt-get autoremove" or "purge", I get the dreaded:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libncurses5 : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libncurses5-dev : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libncursesw5 : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libtinfo-dev : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 5.9-4 is installed
libtinfo5 : Breaks: libtinfo5:i386 (!= 5.9-4) but 5.9+20140913-1+b1 is installed
libtinfo5:i386 : Breaks: libtinfo5 (!= 5.9+20140913-1+b1) but 5.9-4 is installed
ncurses-bin : PreDepends: libtinfo5 (>= 5.9+20130119) but 5.9-4 is installed
E: Unmet dependencies. Try using -f.
If I run apt-get -f install, as suggested, it keeps asking me to upgrade libtinfo5, but when I do, I get this:
(Reading database ... 349500 files and directories currently installed.)
Preparing to unpack .../libtinfo5_5.9+20140913-1+b1_amd64.deb ...
Unpacking libtinfo5:amd64 (5.9+20140913-1+b1) over (5.9-4) ...
dpkg: error processing archive /var/cache/apt/archives/libtinfo5_5.9+20140913-1+b1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libtinfo5/copyright', which is different from other instances of package libtinfo5:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libtinfo5_5.9+20140913-1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
And it keeps taking me back to the vicious loop of dependencies errors over and over again.
I can no longer edit the /etc/apt/sources.list file...I get the following error in the terminal:
nano: symbol lookup error: /lib/x86_64-linux-gnu/libncursesw.so.5: undefined symbol: _nc_putchar
And if I try to use the Gnome desktop to open the folders via GUI, I get:
Authentication required to mount ST95*** (dev/SDA3)
and it prompts me to enter my sudoers password!
Any help or advice would be greatly appreciated. Please!
Thank you!
Anyone? Any suggestions at all before I attempt a reinstall?