my problem is my Raspbian (with PREEMPT-RT patch) is freezing after performing sudo apt-get update.

Is there any logs or anyway to know what happened to Raspbian after this update. so that I can figure out what makes conflict with the PREEMPT-RT patch.

p.s: in Raspberry website it is mentioned that downloaded package files (.deb files) are kept in /var/cache/apt/archives. but I believe that there are other changes in the system that caused this freezing.

  • "I believe that there are other changes in the system" -> I'm almost positive that one way or another this could be deduced from the list of modified packages, although the worst case scenario I have in mind is pretty ugly as it involves scanning the packages themselves. You might take your awareness of this and ask a more specific question about that on Unix & Linux, since the package management system is not unique to the pi and is used on a very wide variety of (possibly even most) GNU/Linux systems.
    – goldilocks
    Commented Sep 13, 2016 at 12:36
  • 1
    As always, make a backup before performing a change you don't know how to undo. Commented Jul 3, 2019 at 12:41

1 Answer 1


From apt-get manpage:

update is used to resynchronize the package index files from their sources.

It only updates what is available, it does not make any changes to your system!

Perhaps you are thinking "upgrade"? The answer to that is available on UNIX StackExchange.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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