I am not sure if this is a Xen issue or not, but it does appear to be. I have a Ubuntu 7.10 DomU running on an Ubuntu 7.10 host. On the host I am able to find (and install, if I wish) such packages as "htop", "openvpn", etc. I copied my "sources.list" from the host to the DomU and performed an "apt-get upgrade" When I try to search for/install such packages as "htop" and "openvpn", they (and many others) are not found! It appears that only the "core" packages are found. I created the DomU using "debbootstrap", so not sure if that may have something to do with it. Could this be the reason? Your insight/advice greatly appreciated. TIA! -Alan Murrell _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Amos Shapira
2007-Oct-24 04:26 UTC
Re: [Xen-users] Ubuntu DomU: Cannot apt-get many packages
On 24/10/2007, Alan Murrell <lists@murrell.ca> wrote:> > I am not sure if this is a Xen issue or not, but it does appear to be. > > I have a Ubuntu 7.10 DomU running on an Ubuntu 7.10 host. On the host I > am > able to find (and install, if I wish) such packages as "htop", "openvpn", > etc. > > I copied my "sources.list" from the host to the DomU and performed an > "apt-get > upgrade" > > When I try to search for/install such packages as "htop" and "openvpn", > they > (and many others) are not found! It appears that only the "core" packages > are found.Have you copied also the files under the /etc/apt/sources.list.d directory? When you run "apt-get update", do you get the same number of lines (more or less) on both systems? Anyway - if you can access the network then this must be a Ubunutu/apt config issue, nothing to do with it running under Xen. --Amos _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alan Murrell
2007-Oct-24 14:34 UTC
Re: [Xen-users] Ubuntu DomU: Cannot apt-get many packages
On Tuesday 23 October 2007 21:26:58 Amos Shapira wrote:> > Have you copied also the files under the /etc/apt/sources.list.d directory?There wasn''t anything under that directory, but I performed an rsync of the entire "/etc/apt/" directpry from the host to the VM.> When you run "apt-get update", do you get the same number of lines (more or > less) on both systems?I do, and no errors pop up.> Anyway - if you can access the network then this must be a Ubunutu/apt > config issue, nothing to do with it running under Xen.It may be. I will post to the Ubuntu forums as well and see if they have any ideas. I was hoping someone here might have come across this as well. -Alan Murrell _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Oct-25 17:19 UTC
Re: [Xen-users] Ubuntu DomU: Cannot apt-get many packages
> > Have you copied also the files under the /etc/apt/sources.list.d > > directory? > > There wasn''t anything under that directory, but I performed an rsync of the > entire "/etc/apt/" directpry from the host to the VM.This might seem obvious, in which case I apologise, but did you do a recursive rsync (-r) as opposed to just using *?> > When you run "apt-get update", do you get the same number of lines (more > > or less) on both systems? > > I do, and no errors pop up.OK, well that sounds promising, at least. What happens if you apt-cache search for these packages on the domU and on the dom0?> > Anyway - if you can access the network then this must be a Ubunutu/apt > > config issue, nothing to do with it running under Xen. > > It may be. I will post to the Ubuntu forums as well and see if they have > any ideas. I was hoping someone here might have come across this as well.Out of interest, presumably you''re running the same distro release on dom0 and domU? Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alan Murrell wrote:> On Tuesday 23 October 2007 21:26:58 Amos Shapira wrote: >> Have you copied also the files under the /etc/apt/sources.list.d directory? > > There wasn''t anything under that directory, but I performed an rsync of the > entire "/etc/apt/" directpry from the host to the VM. >This is fairly off topic for this list now, but the file you care about is /etc/apt/sources.list, not particularly the things in the sources.list.d directory as much (in my experience)>> When you run "apt-get update", do you get the same number of lines (more or >> less) on both systems? > > I do, and no errors pop up. >Once aptitude (or apt-get) update has run, you should see the same things via aptitude search that you normally would. This is almost always a problem for me when I install with debootstrap, as the /etc/apt/sources.list that you get isn''t nearly as complete/long as you get with a normal install. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alan Murrell
2007-Oct-27 03:07 UTC
** OFF TOPIC *** Re: [Xen-users] Ubuntu DomU: Cannot apt-get many packages
Hi Luke, On Thursday 25 October 2007 11:30:34 Luke wrote:> This is fairly off topic for this list now, but the file you care about > is /etc/apt/sources.list, not particularly the things in the > sources.list.d directory as much (in my experience)Agreed about the off-topicness, but thank your for replying regardless :-) Yes, i copied over the ''/etc/apt/sources.list'' file as well, and when I ran ''apt-get update'', I saw it grab all the headers from the different sources, but running something like "apt-cache search htop" or "apt-cache search openvpn" yields no results :-(> This is almost always a problem for me when I install with debootstrap, > as the /etc/apt/sources.list that you get isn''t nearly as complete/long > as you get with a normal install.No, it only has one entry: for the main repository. -Alan Murrell _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users