Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Each time I do apt-get dist-upgrade, the package sysvinit comes back and replaced upstart. Well, I have some scripts written for upstart, and I need to reinstall it every time (typing the annoying confirmation Yes, do as I say!) How can I flag it as a solid rock choice, so it won't be replaced forever?

share|improve this question
    
as noted in Gilles' answer, this is impossible. It's a problem for systemd too: see wiki.debian.org/systemd#Known_Issues_and_Workarounds – strugee Sep 5 '13 at 2:40
up vote 4 down vote accepted

This is filed as Debian bug #525141 (against upstart) and bug #561627 (against sysvinit).

Arno Schuring notes that as a workaround, you can use aptitude full-upgrade instead of apt-get dist-upgrade (the two commands are synonyms, but aptitude tends to be a bit better at dependency management).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.