apt-get does not work on ubuntu installed with VM on Windows
apt-get does not work on ubuntu installed with VM on Windows
I run windows XP and installed virtualbox on it.
The guest host is ubuntu which seems to be correctly installed, I can reach the network,but apt-get does not seem to work.
When I do sudo apt-get install gnuplot
It says that it cannot find the gnuplot package
In the sources.list all the lines with universe are uncommented.
Can someone help me please.
Charlotte
The guest host is ubuntu which seems to be correctly installed, I can reach the network,but apt-get does not seem to work.
When I do sudo apt-get install gnuplot
It says that it cannot find the gnuplot package
In the sources.list all the lines with universe are uncommented.
Can someone help me please.
Charlotte
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Does internet on the Guest work? If not, please take a look at the VirtualBox FAQ for possible causes. Likely a firewall is blocking the VM from accessing the internet.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
It doesn't go over the internet to find a package as this dpkg database is cached. Sounds to me as if you haven't updated your sources. What does sudo apt-cache search gpuplot and sudo apt-cache showpkg gpuplot return?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
The MAZZTer
- Volunteer
- Posts: 129
- Joined: 16. Sep 2008, 23:22
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu, Chromium OS, Windows
- Location: Internet
- Contact:
You need to use "sudo apt-get update" before you can install packages from newly-added sources. Ubuntu will eventually do this itself periodically but it won't happen immediately after adding sources.
Considering you have internet access, and that the package does exist (and I checked in the other versions of Ubuntu, it exists in all of them), I don't see any other reason why it would not find the package other than your package lists are out of date and need to be updated.
If you're not familiar with apt-get I recommend using the Synaptic Package Manager which will take care of all the package stuff for you, all you need to do is search, select, and install. Package lists get updated automatically. Very handy and easy to use, I use it regularly for searching package lists and whenever apt-get gives me an error I don't understand (usually packages "held back" but it won't tell me why).
Considering you have internet access, and that the package does exist (and I checked in the other versions of Ubuntu, it exists in all of them), I don't see any other reason why it would not find the package other than your package lists are out of date and need to be updated.
If you're not familiar with apt-get I recommend using the Synaptic Package Manager which will take care of all the package stuff for you, all you need to do is search, select, and install. Package lists get updated automatically. Very handy and easy to use, I use it regularly for searching package lists and whenever apt-get gives me an error I don't understand (usually packages "held back" but it won't tell me why).
problem solved by MAZZter
Thank you very much, now that I have updated, I can do my apt-get.
Charlotte
Charlotte
Hi!
Mi situation is the same as Charlotte's, but with one difference.
I cannot update apt. When I try
sudo apt-get update
The process freezes waiting for the data to download. Every now and then I get a message on screen saying that this or that file couldn't be downloaded.
Incredibly, I can surf the web without problems. Obviously, I cannot update the system nor install new applications, which renders it unuseful.
Any ideas???
Thanks alot!
Mi situation is the same as Charlotte's, but with one difference.
I cannot update apt. When I try
sudo apt-get update
The process freezes waiting for the data to download. Every now and then I get a message on screen saying that this or that file couldn't be downloaded.
Incredibly, I can surf the web without problems. Obviously, I cannot update the system nor install new applications, which renders it unuseful.
Any ideas???
Thanks alot!
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
bleriot13, Welcome to our forum. You might want to browse the Forum Posting Guide. This contains some useful tips on how to search for VBox knowledge and how to frame Qs.
If you quote an exact terminal dump of the update response (in a Code block), this will help.bleriot13 wrote: I get a message on screen saying that this or that file couldn't be downloaded.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
No just give us the Spanish output. I am not so worried about the language furniture (google translate will be good enough), it's just the codes and contents.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
It's possible that your apt is configured to run a different server than the default one, so check with your browser if it's accessible. It's also possible that your provider or company blocks access to this server.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Thank you to both of you.
I've checked whether the repository is available via browser... and it is. Moreover, the access to these repositories are not blocked. Other computers running Ubuntu as hosts use the same and work (usually) very well.
In fact, this morning the update process worked in a semi-random way. Some files at some times couldn't be downloaded. Later attemps were able to download the same files... so I suspect that the problem is NOT related to VirtualBox but to the repositories itself.
I'll keep tuned to provide with any news that might arise.
Thanks again,
Bleriot
I've checked whether the repository is available via browser... and it is. Moreover, the access to these repositories are not blocked. Other computers running Ubuntu as hosts use the same and work (usually) very well.
In fact, this morning the update process worked in a semi-random way. Some files at some times couldn't be downloaded. Later attemps were able to download the same files... so I suspect that the problem is NOT related to VirtualBox but to the repositories itself.
I'll keep tuned to provide with any news that might arise.
Thanks again,
Bleriot