Debian/Ubuntu dselect question

C M Reinehr cmr
Tue Jul 17 08:19:14 PDT 2007


On Monday 16 July 2007 18:52, Net Llama! wrote:
> On Mon, 16 Jul 2007, David Bandel wrote:
> > On 7/16/07, Net Llama! <netllama at linux-sxs.org> wrote:
> >> I'm trying to automate the installation of a .deb package over the
> >> network (without using apt-get).  The following command mostly works:
> >> dselect install
> >> http://mirrors.kernel.org/ubuntu/pool/universe/t/tcsh/tcsh_6.14.00-7_i38
> >>6.deb
> >
> > The above command shouldn't work at all, at least no the way you
> > expect.  In fact, I suspect you're not installing tcsh at all unless
> > it happens to be in your already selected packages.
>
> Ubuntu-7.x doesn't ship with tcsh, so that command has to be working, as I
> have tcsh only after running that command.
>
> >> except that I keep getting prompted with the following question:
> >>
> >> Do you want to erase any previously downloaded .deb files? [Y/n]
> >>
> >> How can I supress that question so that it doesn't require human
> >> intervention?
> >
> > First configure your /etc/apt-get/sources.list to include:
> > deb http://mirrors.kernel.org/ubuntu universe
> >
> > Then: apt-get update
> > Finally:  apt-get install tcsh
> >
> > You won't be prompted to delete any files (they will remain on your
> > system).
>
> Thanks, but that won't help me.  I need to do this without apt-get, as the
> systems in question are on a private subnet with no internet access.  I
> just want to point dpkg to the on-network deb package and have it get
> installed.  Is that not possible?  Its dead easy with RPM based distros.

	You don't need access to the internet at large to use apt-get. Just edit 
your /etc/apt/sources.list file to point to a mounted cd-rom or to a 
directory containing .deb files as your source. The source can be on your 
local machine or any other suitable system on the private network.

http://www.debian.org/doc/manuals/apt-howto/

HTH

cmr
-- 
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



More information about the Linux-users mailing list