LinuxQuestions.org
Visit Jeremy's Blog.
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 03-08-2006, 07:49 PM   #16
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191

apt-cache policy is handy for checking exactly what version of a package you have installed. and if you do an apt-get update first it will also show what the available version is for the package... it will also show which repository the packages are coming from..

heres an example
Quote:
debian:~# apt-cache policy mysql-common
mysql-common:
Installed: 5.0.18-8
Candidate: 5.0.18-9
Version table:
5.0.18-9 0
500 ftp://debian.uchicago.edu unstable/main Packages
*** 5.0.18-8 0
500 ftp://ftp.uwsg.indiana.edu unstable/main Packages
100 /var/lib/dpkg/status



debian:~# apt-cache policy xserver-xorg
xserver-xorg:
Installed: 6.9.0.dfsg.1-4
Candidate: 6.9.0.dfsg.1-4
Version table:
*** 6.9.0.dfsg.1-4 0
500 ftp://ftp.uwsg.indiana.edu unstable/main Packages
500 ftp://debian.uchicago.edu unstable/main Packages
100 /var/lib/dpkg/status
Someone already answered your dist-upgrade question.. theres more of an explanation in man apt-get.. basically dist-upgrade is a bit more agressive in dependancy handling than upgrade..

I run sid so I'll get a number of packages that are held back when I do normal apt-get upgrades, so occasionally I run apt-get dist-upgrade to get those packages that have been held back to install / update..

Quote:
debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
abiword epiphany-browser fontconfig gnome-core gnome-vlc
gnome-volume-manager gnomemeeting hal libdirectfb-0.9-22 libfontconfig1
libglib-perl libgtk2-perl libmetacity0 libperl5.8 libpt-plugins-alsa
libpt-plugins-v4l libsensors3 metacity mozilla-plugin-vlc mplayer-586 perl
perl-base perl-modules perl-suid pmount udev vlc vlc-plugin-alsa
vlc-plugin-esd vlc-plugin-sdl wxvlc yelp
The following packages will be upgraded:
libmysqlclient15 libpostproccvs51 libqt4-core libqt4-debug libqt4-gui
libqt4-qt3support libqt4-sql manpages manpages-dev myspell-en-gb
myspell-en-us mysql-common python2.3 qt4-dev-tools zlib1g zlib1g-dev
16 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
Need to get 64.1MB of archives.
After unpacking 152MB of additional disk space will be used.
Do you want to continue [Y/n]? n
 
Old 03-09-2006, 08:54 AM   #17
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Thanks guys- I'm bookmarking this thread.
 
  


Reply

Tags
configuration, debian



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
ANy luck with... phantasm Linux - General 7 08-09-2005 04:35 PM
wish me luck Fraudulent Linux - Certification 4 02-19-2005 02:01 AM
Wish me luck.... Nichole_knc LinuxQuestions.org Member Success Stories 11 08-25-2004 08:30 AM
wish me luck gbrewste General 6 06-25-2004 05:46 PM
wish me luck 46&2 General 5 03-15-2004 06:39 PM

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

All times are GMT -5. The time now is 07:35 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