LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-31-2005, 02:39 PM   #1
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
Did someone dist-upgrade this system? How can I tell?


I'm working on a Debian box which "previously" (?) was running Woody (Debian 3.0). I don't know the status of:
- when the last time an "apt-get update" was done (before or after Sarge's release)
- when the last time an "apt-get upgrade" was done (if at all) (again, pre or post Sarge)
- whether or not anyone ever did an "apt-get dist-upgrade" on this system. (post Sarge being released)

but would like to. Are there any Debian utilities that can tell me this stuff?

My /etc/apt/sources.list says "stable" in it.

My /etc/debian_version file has "3.1" in it, but "ls -l" tells me it was last modified July 26, 2004 -- which is before Sarge (3.1) was even released -- which makes *no* sense to me.

This machine is our mail server, and I don't want to botch anything up (it's got some non-Debian qmail pkgs installed on it, which seem to play fairly nicely with other official Debian mail packages/debs), but I may need to update *some* parts and would like to get a handle on which packages are up-to-date and which aren't.

Thanks.
 
Old 10-31-2005, 02:46 PM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Try with: grep upgrade /var/log/dpkg.log
also check if the log was rotated.
 
Old 10-31-2005, 03:24 PM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 32
# cd /var/log
# find . -name '*dpkg*'
#

I don't seem to have a dpkg.log file.

Maybe some file in /var/lib/dpkg would reveal something?
 
Old 10-31-2005, 04:08 PM   #4
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 32
I did an "apt-get update", then an "apt-get --dry-run upgrade" and an "apt-get --dry-run dist-upgrade".

Running those commands can give you a rough idea of what you've got.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
System not booting after dist-upgrade to Sarge azeini Debian 4 10-14-2004 12:09 PM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 04:17 PM
dist-upgrade slinkyredfoot Debian 1 08-03-2003 07:25 PM
apt-get dist-upgrade Toasti Linux - Newbie 1 03-28-2003 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration