Re: a few Qs about debian's apt

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 11/10/03

  • Next message: Ron Johnson: "Re: Which apt source to use for Evolution?"
    To: debian-user@lists.debian.org
    Date: Mon, 10 Nov 2003 19:44:45 +0100
    
    

    Hello

    Woon Wai Keen @ doubleukay.com (<doubleukay@doubleukay.com>) wrote:

    > a friend of mine has some questions regarding debian. hope you guys
    > could help me answer them :)
    >
    > 1) does 'apt-get upgrade' upgrades:
    > i) the kernel,

    If the kernel was installed through package management it will be
    upgraded if a security update is available. This happend some months
    ago. However, one update made the new version incompatible to modules
    compiled for the old version, so the package name was changed (e.g.
    kernel-image-2.4.18-686 became kernel-image-2.4.18-1-686). In that case
    the kernel was not upgraded automatically. The package management also
    does not know about the installation kernel, although you can change
    this by installing the package after installation.

    The package management will warn and ask you if the module direcotry of
    some kernel image is to be overwritten and warn you if you are going to
    replace the image for the kernel currently running.

    I think apt will not automatically upgrade the kernel if the kernel
    version number changes (e.g. from 2.4.21 to 2.4.22).

    > ii) base apps

    Yes. (I assume that "base apps" only base apps installed through package
    management)

    > iii) local apps (/usr/local)

    No. As far as I know packages in Debian don't install anything to
    /usr/local, so it is left untouched.

    > 2) where does apt-get saves all it package information?

    Apt stores information on packages sources in /var/lib/apt/lists. Apt is
    a frontend to dpkg, which stores information in /var/lib/dpkg.

    > 3) is there a way to just upgrade the local apps instead of all
    > local/kernel/base at the same time? if so what is the apt-get
    > argument?

    Local apps as in installed in /usr/local? See above.

    > 4) what do we do if we need to synchronize the package information
    > manually, say for some reason apt-get fails to include version
    > information on newly installed package; it's still using the old
    > version although the package has been overwritten by the latest
    > version?

    I don't know if that can happen, however in that case apt would think
    the old version was still installed and try to upgrade it again, which
    would probably solve the problem. Apt also has an reinstall option.

    > how do debian define non-base apps? in the bsds, non-base apps which
    > is called local apps are those not part of the vendor-approved base
    > distribution. for example, apache13 is part of openbsd 3.4 base system
    > while apache2 isn't so if were i to deploy apache2, it would be
    > defined as local apps and be place in /usr/local. apache13, as
    > opposed, is placed in /usr. getting back to debian, say for an
    > application that is not part of debian base distribution, how do we go
    > about getting apt-get to upgrade them, or does debian does not
    > segregate the definitions of base/local apps?

    If you install in manually in /usr/local (e.g. by compiling from source)
    apt does not know about it and will leave it untouched. You can however
    try to find some source for programs not included (or not included in a
    recent version) in Debian that you can use through apt. See
    <http://www.apt-get.org> or <http://www.backports.org> for more
    information. Also note that Debian does not use a ports system like
    FreeBSD does.

    best regards
            Andreas Janssen

    -- 
    Andreas Janssen
    andreas.janssen@bigfoot.com
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Ron Johnson: "Re: Which apt source to use for Evolution?"

    Relevant Pages

    • SUSE Security Announcement: various kernel problems (SUSE-SA:2004:044)
      ... The following paragraphs will guide you through the installation ... contain a binary kernel in bootable form. ... verify the authenticity of the kernel rpm package using the methods as ...
      (Bugtraq)
    • [Full-Disclosure] SUSE Security Announcement: various kernel problems (SUSE-SA:2004:044)
      ... The following paragraphs will guide you through the installation ... contain a binary kernel in bootable form. ... verify the authenticity of the kernel rpm package using the methods as ...
      (Full-Disclosure)
    • FC-5 Kernel says No sound card found.." on my on-board sound chip Riptide Audio Controller
      ... the kernel didn't allow me to do with error pointing to not recognized the make command... ... Please ensure that the kernel-headers or kernel-source package is installed. ... I have also printed out another logfile called assound.log saved by driver installation in the root directory as shown. ... 01:0e.0 Multimedia audio controller: Rockwell International Riptide PCI Audio Controller ...
      (Fedora)
    • Re: Cant install networking.
      ... That simply means that you're running the linux kernel, ... One great thing about debian is ease of upgrade -- it is quite easy to ... use several-year-old installation CDs to gain network access, ... >>etc work can greatly facilitate the installation process as well as ...
      (Debian-User)
    • Kernel 2.4 and ASRock
      ... I've hit a problem with my Linux installation - in that I upgraded to the ... kernel from backports.org and my system hangs during boot. ... during boot with an infinate amount of "Lost Interrupt" errors on my IDE ... K7S8X MB) - and that it is fixed with the 2.6 BIOS upgrade. ...
      (Debian-User)