build-essential question

2013-07-04 Thread Πρεκατές Αλέξανδρος
in build-essential package there are two files 

/usr/share/build-essential/list
/usr/share/build-essential/essential-packages-list 

first contains   (dpkg-dev,gcc,make,libc) and another one with a longer list 
with smaller utilities like (bash,coreutils,grep,gzip,...) . But the build-
essential package depends on package  mentiononed only in the first list. So 
how will the second list be enforced?


alexandros 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201307050030.50852.apreka...@gmail.com



Re: build-essential question

2013-07-04 Thread Claudius Hubig
Dear Πρεκατές,

Πρεκατές Αλέξανδρος wrote:
 first contains   (dpkg-dev,gcc,make,libc) and another one with a longer list 
 with smaller utilities like (bash,coreutils,grep,gzip,...) . But the build-
 essential package depends on package  mentiononed only in the first list. So 
 how will the second list be enforced?

APT/dpkg knows the ‘Essential’ flag which forces the package to be
present on the system. If you want to remove an essential package,
you’ll meet this prompt:

# apt-get remove bash
[…]
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?] ^C

hence it is generally not necessary to depend on such packages[0].

Best,

Claudius

[0] cf. the second sentence in the fourth paragraph
of section 3.8 of the Debian Policy at 
http://www.debian.org/doc//debian-policy/ch-binary.html#s3.8
-- 
Please don’t CC me.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130704234957.39363...@ares.home.chubig.net