On Thu, Dec 16, 2004 at 07:37:37PM -0800, Alvin Oga wrote: > > /a/o/YYMMDD_HHNNSS/*.deb - the debs which were replaced at > > okay... i'm confused ... what does each subdir dor ??
Facilitates rollback, similar to snapshot.debian.net. It goes like this: apt-get update aptitude upgrade /a/u <--- save everything [a week goes by: uh-oh, fluxbox is broken in some wierd way] dpkg -i /a/o/041201_080403/fluxbox_*.deb [hmm...what are the last three times kcontrol changed?] find /a/o -name 'kcontrol*' | sort | tail -n3 [oh crap, a whole bunch of KDE broke, I have to roll a lot of it back to last months version, it's really broken;] dpkg -i /a/o/041115/*.deb [damn, my system is broken beyond belief, some X windows upgrade had a bad dependency and I have no idea what state my machine is in] dpkg -i /a/l/*.deb [what changes did I make the last time I ran an update?] zdiff `ls /a/o/L*.gz | tail -n2 | head -n1` `ls /a/o/L*.gz | tail -n1 | head -n1` [how about the time before that?] zdiff `ls /a/o/L*.gz | tail -n3 | head -n1` `ls /a/o/L*.gz | tail -n2 | head -n1` [when did libfoo7 first appear in the archives?] zgrep -r libfoo7 /a/o/A*.gz | head -n1 It's just a basic transactional system with all that entails -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]