On Sat, Apr 25, 2015 at 6:39 PM, Teresa e Junior <teresaejun...@gmail.com> wrote: > On Sat, 25 Apr 2015 17:35:29 -0400, Kynn Jones wrote: >> >> $ apt-cache policy sudo >> sudo: >> Installed: 1.8.5p2-1+nmu2 >> Candidate: 1.8.5p2-1+nmu2 >> Version table: >> *** 1.8.5p2-1+nmu2 0 >> 100 /var/lib/dpkg/status >> 1.8.5p2-1+nmu1 0 >> 500 http://debian.csail.mit.edu/debian/ stable/main amd64 >> Packages >> 500 http://ftp.us.debian.org/debian/ stable/main amd64 >> Packages > > If you disable a repository, its packages will appear as if they were > locally installed (/var/lib/dpkg/status).
Thanks, that's good to know. I did disable a repo I'd used for backports, but replaced with another (I was not being able to connect reliably to the first one). After I hacked away at the mountain of non-stable packages, downgrading them one by one (and probably uninstalling stuff I shouldn't have), I found this recipe online http://ispire.me/downgrade-from-debian-sid-to-stable-from-jessie-to-wheezy ...and it did the trick. I can't say that I'm back to where I was yesterday (I think my frantic manual downgrading spree may have messed some things up), but at least the set of non-stable packages in the system is what it was yesterday. The whole experience has made me *very suspicious* of aptitude. First of all, this whole disaster happened while I've been using aptitude to manage my installations. But there's also this: After setting the sources.list and preferences file as described in the recipe above, but before running the apt-get commands at the end, I attempted to run the equivalent aptitude commands, starting with `aptitude upgrade`. Here's the thing: none of the `aptitude *upgrade` commands did anything. They all gave the same output: No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 59 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. In contrast, `apt-get update` followed by `apt-get upgrade` worked like a charm. I'm considering going back to apt, even though most of the advice I've read on apt vs aptitude leans in favor of the latter. After this experience, I've lost trust in aptitude. kj -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cafvqaj7s5uihgckh6z8aehakeq-noawsy8ddtcste-exykv...@mail.gmail.com