[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help, I hosed my machine's software selection :-(



On Sat, Apr 13, 2002 at 07:49:44PM -0400, stan wrote:
> I made teh stupid mistake of copying /etc/apt/sources from one machine to another.
> Problem is, I did not copy the preferences file also, and the new sources had a line
> referencing unstable.
> 
> I then used dselect, and it upgraded 200= packages!
> 
> At the monent, my system's pretty hosed (gnome does not work at all for instance).
> 
> I have pretty decent Amanda backups. Is there some way that I can restore
> the system to wgere it was before? Either by using tha Amanda backups (but won't that muck up
> the Debian packages databse?) Or somehow get dselect or apt-get to resoter it to where it was
> yesterday?

I assume you want to downgrade to woody/testing.

What comes to mind:
comment out reference to unstable in /etc/apt/sources.list
Create /etc/apt/preferences with these three lines:

Package: *
Pin: release a=testing
Pin-Priority: 1001

Then try: 
apt-get update
apt-get -u dist-upgrade

Good luck.
-- 
Jerome

Attachment: pgp7JrTWeInSg.pgp
Description: PGP signature


Reply to: