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

Re: migration from RedHat to Debian, general question about Debian (dpkg, kernel, config)



Ok,
that's something. I understand now that dpkg -S will
work fine for supplied files, but not for
post-installed. Thanks for tip.
Valentine.

--- Oliver Elphick <olly@lfix.co.uk> wrote:
> On Wed, 2003-11-19 at 18:05, Valentine Kouznetsov
> wrote:
> > Hi,
> > thanks for feedback. Now about your suggestions
> and my
> > experience
> > 
> > vk@vklaptop(12:50:44)> dpkg -S /etc/inittab
> > dpkg: /etc/inittab not found.
> > vk@vklaptop(12:51:00)> ls -l /etc/inittab
> > -rw-r--r--    1 root     root         2008 Jul 23
> > 13:13 /etc/inittab
> 
> dpkg -S inittab | grep sysvinit
> sysvinit: /usr/share/sysvinit/inittab
> sysvinit: /usr/share/sysvinit/inittab.s390
> sysvinit: /usr/share/man/man5/inittab.5.gz
> 
> The postinst script for sysvinit
> (/var/lib/dpkg/info/sysvinit.postinst)
> copies in the appropriate inittab for the
> architecture.  Because
> /etc/inittab itself is not in the supplied package,
> "dpkg -S
> /etc/inittab" will not reveal it.
> 
> -- 
> Oliver Elphick                               
> Oliver.Elphick@lfix.co.uk
> Isle of Wight, UK                            
> http://www.lfix.co.uk/oliver
> GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A
> 614D 4C34 3E1D 0C1C
>                 
> ========================================
>      "To show forth thy lovingkindness in the
> morning, and 
>       thy faithfulness every night."     Psalms 92:2
> 
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



Reply to: