[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring a new system that shipped w/ Debian?



begin Grant Edwards <grante@visi.com> 
> On Thu, Apr 25, 2002 at 09:18:30AM -0700, Peter Jay Salzman wrote:
> 
> > > > ahh.  it looks like fileutils owns /bin/ls!    :)
> > > 
> > > If I were worried about configuring the contents of
> > > /bin/ls, I'd be set.  :)
> > > 
> > > # dpkg -S /etc/network/interfaces
> > > dpkg: /etc/network/interfaces not found.
> > > 
> > > # dpkg -S /etc/resolv.conf       
> > > dpkg: /etc/resolv.conf not found.
> > > 
> > > # dpkg -S /etc/hosts
> > > dpkg: /etc/hosts not found.
> > > 
> > > # dpkg -S /etc/hostname
> > > dpkg: /etc/hostname not found.
> > > 
> > > # dpkg -S /etc/passwd
> > > dpkg: /etc/passwd not found.
> > 
> > that seems to indicate that these files aren't owned by any package.
> > something like /etc/hostname is no more owned by a package than, say,
> > /etc is.
> 
> I assumed that they were put there by the "configure" stage of
> some package, and that I need to run dpkg-reconfigure on the
> right package.

as i understand it (and this much i'm fairly sure of) each package file
has a list of directories it needs to install to.  in the installation
process of that package, if the directory doesn't exist, the directory
is made.

> Perhaps not -- maybe there is no built-in way
> to reconfigure a Debian system.
 
whoa there, fella.   what exactly do you mean "reconfigure"?   every
time you change a hostname or a password, you're, in a sense,
reconfiguring the system.  in fact, there's "dpkg-reconfigure" as you
pointed out, which reconfigures packages.

do you really mean "no way to generate the base filesystem"?   what
exactly happened?   what are you trying to do?

short of rm -rf'ing /var/lib/dpkg (and not having a backup), i kind of
doubt there's any problem debian can't handle.

pete


> > i'm not sure *how* they get on the system, but my guess is that
> > it's simply part of the install process, as opposed to the
> > "package installation" process which occurs after the base
> > system is installed.
> 
> Could be.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: