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

Re: Debian Package



pankaj@space.ee.iitm.ernet.in wrote:
>    Debian Package manager (dpkb) deosn't clean up the files after an
>error occurs, like if dependencies are not found.

Deliberately so. You can then just install the required dependencies and
run 'dpkg --configure --pending'. Before the development of apt, this
was a fairly common practice.

>If this is the case, why should anybody need dpkg. It's very well known
>that Debian Packages are just archives of some gzipped file. If the
>package manager doesnt do more than extracting the archive and
>gunzipping it, why it's in place. Just to put debian tag with every
>package ????

Read the dpkg code - it's quite a bit more complex than that. Managing
conffiles, preventing certain classes of broken package installations,
recording what's installed on your system so you can easily remove it
later without damaging other stuff, etc. What you're describing is just
dpkg-deb (and not all of it at that).

Anyway, if you don't like package managers, Slackware is --> that way.

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: