logo elektroda
logo elektroda
X
logo elektroda

[Solved] Kali Linux on VMware: Issues Downloading Files via Terminal - open-vm-tools-desktop, Tor

Neoprene 3042 21
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18131241
    Neoprene
    Level 5  
    Yo
    I am using kali linux on vmware and am having trouble downloading files via termnial.
    Examples:

    1.pt-get install open-vm-tools-desktop fuse

    When I enter this code, I get a message:

    "Reading package list ... Done
    Building a dependency tree
    Reading status information ... Done
    E: Could not find vm-tools-desktop package "

    When trying to download the tor via terminal
    She types: "apt-get install tor"

    I get a message:

    "Reading package lists ... Done
    Building a dependency tree
    Reading status information ... Done
    The tor package does not have a version available but is referenced by another package.
    Typically this means that the package is missing, has been replaced by another package, or is not available from the currently set sources.
    E: The tor package has no installation candidate "

    If I gave the wrong category, sorry
  • ADVERTISEMENT
  • #2 18131255
    enhanced
    Level 43  
    apt-get update
    what does it show?
  • ADVERTISEMENT
  • #3 18131300
    Neoprene
    Level 5  
    "Reading package list ... Done"

    It popped up, nothing else
  • #4 18131304
    enhanced
    Level 43  
    So you have nothing in sources.list

    nano /etc/apt/sources.list
    Do you have anything in there?
  • #5 18131313
    Neoprene
    Level 5  
    The situation is that I changed something according to a guide, which unfortunately did not work. I remember I had 1 line there, and now I have:

    "deb http://http.kali.org/kali sana main non-free contrib / n
    deb http://security.kali.org/kali-security/ sana / updates main contrib non-free
    http://http.kali.org/kali sana main non-free contrib / n
    deb http://security.kali.org/kali-security/ sana / updates main contrib non-free
    http://http.kali.org "
  • #6 18131322
    enhanced
    Level 43  
    Then look for more correct entries because these are some not completely correct.

    something ala it
    https://forums.kali.org/showthread.php?20276-...6010c394e36cec88c7cc0b6417e&p=31467#post31467
    Quote:

    deb http://http.kali.org/kali kali main contrib non-free
    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
  • #7 18131352
    Neoprene
    Level 5  
    It did nothing, and I noticed that when I turned on kali linux, there is no internet on it (previously it was), despite setting the bridged network
  • ADVERTISEMENT
  • #8 18131597
    enhanced
    Level 43  
    No wonder nothing works.
  • #9 18131601
    Neoprene
    Level 5  
    Okay, I switched from bridged to nat and the internet is up, I'll see if everything's okay

    Added after 7 [minutes]:

    Despite the internet connection, the situation does not change, I also tried to install the vmware package I got. I typed in the terminal
    "./vmware-install.pl"

    I got the information that there is no such file or directory, even though I have it in the folder.

    As for the previous commands, the situation is the same.
  • #10 18131623
    enhanced
    Level 43  
    You do not have a graphics mode I understand?

    Surely in sources.list you have what you entered means something corrected?
    apt-get update still can't see sources.list entries?


    As for vmware, show ls or ll in the installation folder.
  • #11 18131632
    Neoprene
    Level 5  
    I don't know what you mean by graphics mode
    I will just give you screenshots of this txt Kali Linux on VMware: Issues Downloading Files via Terminal - open-vm-tools-desktop, Tor
  • #12 18131639
    enhanced
    Level 43  
    hmm
    but I can see the path
    /etc/sources.list
    and I listed /etc/apt/sources.list
    unless kali has it - I gave it from ubuntu

    Well, if you have a graphical mode, you probably have aptitude or synaptic there?
  • #13 18131642
    Neoprene
    Level 5  
    The problem is I can't access source.list from apt. I click 100 times on this txt but it doesn't start and that's why I gave this code to source.list in etc
  • #14 18131646
    enhanced
    Level 43  
    nano do you have?
    nano /etc/apt/sources.list
    tab, you press and you will be prompted in the console with the path to partially type it.
  • #15 18131667
    linuks
    IT specialist
    It must be in / etc / apt / and not in / etc /. You might not have listed the sources.list file at all, the effect is the same as putting it in / etc (by the way where you thought of that) and no wonder apt doesn't read repositories. It doesn't matter what directory the configuration files are placed in. You put the correct source.list file in / etc / apt / it will install the packages.
    Regards.
  • #16 18131668
    Neoprene
    Level 5  
    There it is, the nano has turned on

    Added after 9 [minutes]:

    linuks wrote:
    It must be in / etc / apt / and not in / etc /. You might not have listed the sources.list file at all, the effect is the same as putting it in / etc (by the way where you thought of that) and no wonder apt doesn't read repositories. It doesn't matter what directory the configuration files are placed in. You put the correct source.list file in / etc / apt / it will install the packages.
    Regards.


    I deleted the source.list file from apt and pasted the one from etc (the one where I entered the codes), but it's still the same
  • ADVERTISEMENT
  • #17 18131704
    enhanced
    Level 43  
    Don't delete just about anything you want. Delete content because now you may need to set file permissions and owner.
  • #18 18131706
    Neoprene
    Level 5  
    Delete the contents of source.list anyway?
  • #19 18131708
    enhanced
    Level 43  
    Go to the / etc / apt directory and give the command
    ls -all
  • #21 18131721
    enhanced
    Level 43  
    Looks OK, show the contents to be safe and the update result for apt.

Topic summary

The discussion revolves around issues faced while attempting to download packages on Kali Linux running on VMware. The user encounters errors when trying to install "open-vm-tools-desktop" and "tor" via the terminal, indicating that the packages are not found or have no installation candidates. Responses suggest checking the sources.list file for correct repository entries, as the user had modified it based on a guide. The user also experiences internet connectivity issues, initially set to bridged mode, which was later switched to NAT mode. Despite restoring internet access, the package installation problems persist. The conversation emphasizes the importance of having the correct repository configurations and ensuring that the sources.list file is properly set up in the /etc/apt directory.
Summary generated by the language model.
ADVERTISEMENT