Re: migration from RedHat to Debian, general question about Debian (dpkg, kernel, config)
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 -L give my back list of file in one packge and I
need vice versa procedure I want to spesify one file
and system should tell me back to which package it
belongs to. As I said with RPM it's possible with
vk@lnx134(10:20:10)> rpm -qf /etc/inittab
initscripts-7.14-1
And about kernel. Thanks for comments that
kernel-source is already shipped with all necessary
patches. Roberto asked about which mount options I
used
to mount cd.
/dev/cdrom /mnt/cdrom
udf,iso9660 user,noauto,ro 0 0
The question is why I can do it with debian kernel and
CAN'T with my custom one (even if I compiled installed
in Debian why through make-kpkg). I even check that I
compiled correctly cdrom module either as a module or
as embeded into kernel.
I also tried directly mount as
mount -t iso9660 /dev/hdc /mnt/cdrom
and got the same behaviour.
The reason I need a custom kernel is I need ACPI with
custom dsdt table to run on my laptop.
Thanks for feedback,
Valentine
--- Oliver Elphick <olly@lfix.co.uk> wrote:
> On Wed, 2003-11-19 at 15:36, Roberto Sanchez wrote:
> > Valentine Kouznetsov wrote:
> > > Question about dpkg:
> > > 1) dpkg is great, but I cannot figure out one
> > > simple/usefull procedure. Let's assume I install
> one
> > > package and have file /usr/bin/my. Is is
> possible to
> > > figure out using dpkg or similar tool to which
> package
> > > /usr/bin/my belong to. On RedHat I just invoke
> rpm -qf
> > > /usr/bin/my and get back package name.
> >
> > Fram the man page:
> >
> > dpkg -L | --listfiles package ...
> > List files installed to your system from
> package.
>
> dpkg -S /usr/bin/my
>
> is more appropriate for this question
>
> The package dlocate gives the same response from a
> pre-built database,
> so it is faster.
>
> > > 2) Is it possible to check status of installed
> > > software, what has been changed from original
> package,
> > > etc. On RedHat it is rpm -V <package>
> > >
> > Not sure what you are asking here.
>
> Status: dpkg --status packagename
>
> Changes from installed version: Install the
> apt-listchanges package
>
> > > Question about configuration:
> > > Where the natural place to put my own scripts
> while
> > > booting to Debian. On RedHat it was
> /etc/rc.d/rc.local
> > > What is equivalent on Debian?
> > Just put your script in /etc/init.d/ and symlink
> it to
> > whatever runlevel directories you need (like
> /etc/rc2.d/)
>
> man update-rc.d
>
> > > Where correctly put aliases for modules, there
> so many
> > > config file for modules on Debian?
> > Either in /etc/modules.conf or in a file in
> /etc/modutils/
> > (it depends on your setup).
> > > About runlevels, what the meaning of 2,3,4,5
> runlevels
> > > on Debian. On RedHat 3 is equivalent to 2 on
> Debian?
> > >
> All four are identical unless you choose to
> configure them differently
> yourself (update-rc.d again)
>
> --
> 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: