LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? (https://www.linuxquestions.org/questions/debian-26/will-%27aptitude-upgrade-or-dist-upgrade%27-downgrade-manually-installed-deb-package-424218/)

Akhran 03-12-2006 05:13 PM

Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package?
 
Let's say I download the latest source codes, create a deb package using checkinstall and install the package with 'dpkg -i', but the package version in the depositary is of a older version. Will doing a 'aptitude upgrade or dist-upgrade' actually downgrade the installed latest version to the older version found in the depositary?

Thanks.

rickh 03-12-2006 06:20 PM

No, it only upgrades to a newer version.

jonaskoelker 03-14-2006 01:35 PM

Ask apt! It has a nice "don't do it, just pretend": apt-get --help | grep simulation. Most (at least some) other programs call this "dry-run". Use that to see what it wants to do.

dracae 03-14-2006 02:40 PM

apt-cache policy <package name> will answer this as well.


All times are GMT -5. The time now is 10:59 PM.