LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   No luck with Sarge 31r1 (https://www.linuxquestions.org/questions/debian-26/no-luck-with-sarge-31r1-421871/)

farslayer 03-08-2006 07:49 PM

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

Randux 03-09-2006 08:54 AM

Thanks guys- I'm bookmarking this thread.


All times are GMT -5. The time now is 07:43 PM.