Debian/Ubuntu dselect question

Leon Goldstein metapsych
Tue Jul 17 09:29:33 PDT 2007


Net Llama! wrote:

> <snip>
>
>>>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/
>>    
>>
>
>This just adds another layer of complexity.  Now i'd need to start 
>automating the addition of the local source in sources.list, plus I'd 
>still need to get the packages onto the box somehow.
>
>  
>
The power of apt-get is fetching all of the dependencies automatically.  
With dpkg you have to collect dependencies needed by a .deb you want to 
install, then copy all the dependencies and the target .db to a temp 
dir.  You can then CD to the temp dir and run dpkg -i *.  dpkg will sort 
out the dependencies and install them in the correct sequence.

-- 
Leon A. Goldstein

Powered by Libranet 2.8.1 Debian Linux
System G2





More information about the Linux-users mailing list