On Tue, Sep 10, 2013 at 10:22:59PM -0600, Mike Tutkowski wrote:
> Thanks a lot for the info, Ian!
> 
> I was following the instructions in 3.5.2 here:
> 
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Installation_Guide/sect-source-builddebs.html
> 
> Perhaps they are a bit incorrect.

Can you correct them now so your effort isn't in vain :) The steps in
the guide were run probably long ago and changed over time.

> 
> Thanks again!
> 
> 
> On Tue, Sep 10, 2013 at 8:57 PM, Ian Duffy <i...@ianduffy.ie> wrote:
> 
> > So to me it looks like the syntax of your sources.list entry is incorrect
> >
> > The standard syntax is as follows: (
> > http://linux.die.net/man/5/sources.list)
> > type baseuri distribution [component component2 ... compnentN]
> >
> >
> > With the below outlined setup should work:
> >
> > 1) Your directory structure is:
> >
> > .
> > ????????? cloudstack
> >     ????????? repo
> >         ????????? amd64
> >         ???   ????????? Packages.gz
> >         ????????? pool
> >             ????????? some-other-package.deb
> >             ????????? some-package.deb
> >
> > 2) You generated Packages.gz from running the following command with your
> > working directory being /var/www/cloudstack/repo
> >
> > dpkg-scanpackages amd64 | gzip -9c > amd64/Packages.gz
> >
> > 3) There's a web server running in /var/www, if you wish to bring up one
> > for testing purposes:
> >
> > { cd /var/www; python -m SimpleHTTPServer 80; }
> >
> > 4) Your cloudstack.list located in /etc/apt/sources.list.d/ now looks like
> > the following:
> >
> > deb http://localhost/cloudstack/repo amd64/
> >
> > With the outlined above setup you should be able to
> >   - Run `sudo apt-get update` with a successful result.
> >   - Run `sudo apt-cache search cloudstack` and get back a list of all
> > packages with cloudstack in their name.
> >   - Run `sudo apt-cache show cloudstack-cli` get a print out of the
> > Packages.gz entry for cloudstack-cli.
> >   - Run `sudo apt-get download cloudstack-cli` get a copy of the .deb in
> > the repo for cloudstack-cli.
> >
> > Hope this helps!
> >
> >
> >
> > On 10 September 2013 20:28, Mike Tutkowski <mike.tutkow...@solidfire.com
> > >wrote:
> >
> > > Hi,
> > >
> > > I've been following these instructions, but having a little trouble:
> > >
> > > 3.5.2. Configuring your machines to use the APT repository
> > > Now that we have created the repository, you need to configure your
> > machine
> > > to make use of the APT repository. You can do this by adding a repository
> > > file under /etc/apt/sources.list.d. Use your preferred editor to create
> > > /etc/apt/sources.list.d/cloudstack.list with this line:
> > >
> > > deb http://*server.url*/cloudstack/repo binary ./
> > >
> > > Now that you have the repository info in place, you'll want to run
> > another
> > > update so that APT knows where to find the CloudStack packages.
> > >
> > > $ sudo apt-get update
> > >
> > > You can now move on to the instructions under Install on Ubuntu.
> > > **********
> > >
> > > My cloudstack.list file looks like this:
> > >
> > > deb http://127.0.0.1:8080/cloudstack/repo binary ./
> > >
> > > When I do a sudo apt-get update, I get the following error:
> > >
> > > W: Failed to fetch
> > >
> > http://127.0.0.1:8080/cloudstack/repo/dists/binary/.//binary-amd64/Packages
> > > 404  Not Found
> > >
> > > W: Failed to fetch
> > >
> > http://127.0.0.1:8080/cloudstack/repo/dists/binary/.//binary-i386/Packages
> > > 404  Not Found
> > >
> > > Any thoughts on this?
> > >
> > > I have my .deb files in /var/www/cloudstack/repo/binary along with
> > > Packages.gz.
> > >
> > > Thanks!
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkow...@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the
> > > cloud<http://solidfire.com/solution/overview/?video=play>
> > > *???*
> > >
> >
> 
> 
> 
> -- 
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *???*

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to