Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cannot Install open-vm-tools

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
michael_hilburt
Posts: 4
Joined: 2017-04-09 16:27

Cannot Install open-vm-tools

#1 Post by michael_hilburt »

Hi All,
I am trying to install open-vm-tools in vmware because that seems to be the most recommended thing by vmware and I am getting the following error when i am trying to install

Code: Select all

root@debian01:/home/admin1# apt-get install open-vm-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package open-vm-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'open-vm-tools' has no installation candidate
I have tried searching for it and it doesnt even come up on the search. ZERO results come up!

Code: Select all

root@debian01:/home/admin1# apt-cache search open-vm-tools
Can someone please help?
I want to enable copy paste between guest and host
Thanks!

User avatar
fireExit
Posts: 559
Joined: 2014-11-20 11:22

Re: Cannot Install open-vm-tools

#2 Post by fireExit »

Ok, the package is available in all Debian releases ( https://packages.debian.org/search?keyw ... ection=all ), so the "problem" has to be on your side.

Please share the output of

Code: Select all

apt-cache policy

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Cannot Install open-vm-tools

#3 Post by stevepusser »

If that doesn't help, the results of

Code: Select all

apt-get update
should also be enlightening. Maybe all you need to do is refresh the database with that command, too.
MX Linux packager and developer

AliMustafa
Posts: 1
Joined: 2017-04-10 04:18

Re: Cannot Install open-vm-tools

#4 Post by AliMustafa »

You've saved my life

michael_hilburt
Posts: 4
Joined: 2017-04-09 16:27

Re: Cannot Install open-vm-tools

#5 Post by michael_hilburt »

fireExit wrote:Ok, the package is available in all Debian releases ( https://packages.debian.org/search?keyw ... ection=all ), so the "problem" has to be on your side.

Please share the output of

Code: Select all

apt-cache policy
Hi,
Here is the info you asked for

Code: Select all

admin1@debian01:~$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/ jessie/updates/main Translation-en
 500 http://security.debian.org/ jessie/updates/contrib Translation-en
 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
     origin security.debian.org
 500 http://security.debian.org/ jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
 500 cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01]/ jessie/main Translation-en
 500 cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01]/ jessie/contrib Translation-en
 500 cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01]/ jessie/main amd64 Packages
     origin Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01
 500 cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01]/ jessie/contrib amd64 Packages
     origin Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01
Pinned packages:

michael_hilburt
Posts: 4
Joined: 2017-04-09 16:27

Re: Cannot Install open-vm-tools

#6 Post by michael_hilburt »

stevepusser wrote:If that doesn't help, the results of

Code: Select all

apt-get update
should also be enlightening. Maybe all you need to do is refresh the database with that command, too.
Hi,
Here is the output but I am sorry to say that the issue still persists

Code: Select all

root@debian01:/home/admin1# apt-get update
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie Release
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie/contrib amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie/main amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie/contrib Translation-en_IN
Ign cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01] jessie/main Translation-en_IN
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://security.debian.org jessie/updates/main Sources [196 kB]
Get:3 http://security.debian.org jessie/updates/contrib Sources [1,439 B]      
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [365 kB]   
Get:5 http://security.debian.org jessie/updates/contrib amd64 Packages [2,506 B]
Get:6 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:7 http://security.debian.org jessie/updates/main Translation-en [201 kB]   
Fetched 830 kB in 24s (34.4 kB/s)                                              
Reading package lists... Done

Code: Select all

root@debian01:/home/admin1# apt-get install open-vm-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package open-vm-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'open-vm-tools' has no installation candidate

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Cannot Install open-vm-tools

#7 Post by bw123 »

If you skipped the "setup network mirror" during the install, then you have to fix that yourself after first boot in order to update, upgrade or install from the repositories.

https://www.debian.org/releases/stable/ ... l-software
apt must be configured so that it knows from where to retrieve packages. The results of this configuration are written to the file /etc/apt/sources.list. You can examine and edit this file to your liking after the installation is complete.
Spend a little time getting this worked out and understanding it, then update and upgrade everything available IMO before installing any third party packages.
trying to install open-vm-tools in vmware
I don't get it.
resigned by AI ChatGPT

User avatar
sunrat
Administrator
Administrator
Posts: 6414
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Cannot Install open-vm-tools

#8 Post by sunrat »

You don't have the main repositories in your sources. Comment out the CD lines and add lines as shown in the example at https://wiki.debian.org/SourcesList . Then update again and your package should be available (as long as you are online).
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

michael_hilburt
Posts: 4
Joined: 2017-04-09 16:27

Re: Cannot Install open-vm-tools

#9 Post by michael_hilburt »

sunrat wrote:You don't have the main repositories in your sources. Comment out the CD lines and add lines as shown in the example at https://wiki.debian.org/SourcesList . Then update again and your package should be available (as long as you are online).

Thanks sunrat!
This resolved the issue!
I added the following repositories from the link that was provided
https://wiki.debian.org/SourcesList

Code: Select all

Below is an example of a sources.list for Debian 8/Jessie.


deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

Post Reply