2

I am looking at a Debian server that has version wheezy/sid. Is there a way I can tell if this server was upgraded from squeeze via dist-upgrade versus being built from scratch as a wheezy server?

  • 2
    Have you checked the log files? E.g. /var/log/aptitude*, /var/log/apt/* – Sven Dec 13 '12 at 16:42
  • Short of the log files you probably have to look for non-upgraded conffiles. – Zoredache Dec 13 '12 at 17:01
1

The only way you can use apt-get dist-upgrade to change from one release to another is if you've modified /etc/apt/sources.list to point to the new release.

You can check the logs in /var/log/apt/ and /etc/apt/sources.list to see what was done.

| improve this answer | |
  • Since when does Debian have do-release-upgrade? Can you point to somewhere in the official docs saying this is the only supported way to upgrade? – Zoredache Dec 13 '12 at 16:59
  • Lol. Yeah, that was Ubuntu. Sorry, got my distros confused. I've updated it. – tacotuesday Dec 13 '12 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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