Re: [ilugd] ubuntu feisty roll-forward till oct 2007
On Dec 30, 2007 12:39 AM, Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]> wrote: > > I hope your /var/log/dpkg.log from old box is still there. Following > 'awk' script will output what all packages with their versions were > installed before a given date when your system broke. Set value of > BROKEDATE with the appropriate date: > > - 8<8< > # update.awk > BEGIN { > # date when stuff broke > BROKEDATE="2007-11-20" [snip] > - >8>8 > this is brilliant. thanks ashish. > Following is the usage: > > $ awk -f update.awk /var/log/dpkg.log > kgpg 4:3.5.8-0ubuntu1 > libgail18 1.20.0-0ubuntu1 > libxt6 1:1.0.5-3 > kscd 4:3.5.8-0ubuntu1 > ... > > Now once you've versions, you can 'wget' the respective packages from > repositories and install them using 'dpkg -i', hmm... ? yyup! > Post-installation, you can prevent any updates to desired packages > using apt pinning. > > HTH this is just what i needed. thanks so much! just my bad that i received this in the morning,. yesterday evening i reformatted the feisty partition and installed a fresh feisty. then boldly decided to apply updates and patches to see what happens. miraculously, everything works with no swap-dance or gestating-whale-sluggishness. am just installing what i feel might have been the cause of all this heart-burn: audio and video codecs. will know by afternoon if the dance starts again. if all works okay, will use your tip for this roll-your-own-rollback and hopefully live to tell the tale. thanks, and hope to see you at JNU in a while for the freed.in sangatthan. regards niyam > - -- > Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ -- niyam bhushan ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] ubuntu feisty roll-forward till oct 2007
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "linuxlingam" == linuxlingam <[EMAIL PROTECTED]> writes: linuxlingam> Dear jasbir, linuxlingam> thanks for your respone and taking your cue promptly subscribed to the linuxlingam> ubuntu-in mailing list. linuxlingam> i have not opted for dist-upgrade in feisty, just regular maintenance linuxlingam> updates. The ones post oct2007 demand more ram, so until then the linuxlingam> system is doing a swap dance. linuxlingam> I therefore dont want updates beyond oct2007. linuxlingam> How do i do that? I hope your /var/log/dpkg.log from old box is still there. Following 'awk' script will output what all packages with their versions were installed before a given date when your system broke. Set value of BROKEDATE with the appropriate date: - 8<8< # update.awk BEGIN { # date when stuff broke BROKEDATE="2007-11-20" } /status installed/ { if($1 < BROKEDATE) { # $1 - data, $5 - pkg name, $6 - pkg version # print $1" "$5" "$6 PKGS[$5] = $6; } } /not-installed/ { delete PKGS[$5]; } END { for(i in PKGS) { print i" "PKGS[i]; } } - >8>8 Following is the usage: $ awk -f update.awk /var/log/dpkg.log kgpg 4:3.5.8-0ubuntu1 libgail18 1.20.0-0ubuntu1 libxt6 1:1.0.5-3 kscd 4:3.5.8-0ubuntu1 ... Now once you've versions, you can 'wget' the respective packages from repositories and install them using 'dpkg -i', hmm... ? Post-installation, you can prevent any updates to desired packages using apt pinning. HTH - -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHdptcHy+EEHYuXnQRAqaUAKC+6ouRHjOok6PP/B44AUGrcNeSSgCbBpVo civDNZmjfE1Et7vZwsgzxTU= =fKBm -END PGP SIGNATURE- ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] ubuntu feisty roll-forward till oct 2007
Dear jasbir, thanks for your respone and taking your cue promptly subscribed to the ubuntu-in mailing list. i have not opted for dist-upgrade in feisty, just regular maintenance updates. The ones post oct2007 demand more ram, so until then the system is doing a swap dance. I therefore dont want updates beyond oct2007. How do i do that? Niyam -- niyam bhushan ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] ubuntu feisty roll-forward till oct 2007
Hi Niyam, I am also using Ubuntu Feisty on an old Cyrix-III box. If you are worried about Ubuntu upgrading from Feisty to Gusty, well it wont until unless you specifically tell it to 'dist-upgrade' to the +1 version. So the updates you receive post Gusty launch are specific to Feisty and are mostly security updates or backports,updates (if you have the these repositories enabled in the sources list). IIRC Ubuntu will support Feisty security updates till April 08. So in your case while updating your freshly installed Feisty it will update to the latest packages from the Feisty branch of the repository. Mostly its the kernel updates which may botch old h/w systems, in my case mouse stop working so simply reverted back to the old kernel . Niyam can you recall the specific package update which might have caused your system to go into turbulent weather? ( /var/log/dpkg.log* files might be of help). To take a snapshot of the installed system you can try APTonCD [1] , I havnt used it myself but all it will help is in saving you bandwidth. Or you can just dump /var/cache/apt/archives/ from system to system [1] http://aptoncd.sourceforge.net Cheers, Jasbir P.S ubuntu-in Mailing list is also very active. https://lists.ubuntu.com/mailman/listinfo/ubuntu-in ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] ubuntu feisty roll-forward till oct 2007
dear tirveni, > > > > > > once done, is there any way in which i can create some sort of a > > snapshot system, so if the system rattles again due to an update or a > > patch, i safely roll-back to a known, working snapshot? [snip] > Two hard disks with same specs, >a- partitioned the new hard disk exactly the same as the old > one.Andformatted the partitions in same > type.Set the bootable flag >b- Then because of the time consumed doing the dd , looked around and > found partimage . It backs up the partition with the data and can restore > the partition( bigger than the backed up partition). >c- After using the partimage, to copy and restore. > Had to use the dd , dd if=/dev/hdc of=/dev/hdd to copy the MBR. > > more info: http://ubuntuforums.org/showthread.php?t=287522 > Tirveni thanks for the info. this sounds like an adventurous and fun-filled roll-your-own-rollback, and worth doing. am sure soon someone may chime in with a RAID-based solution as well. my point: all this is hindsight. at this moment, when i start fresh, with an april 2007 feisty fawn, how do i roll it forward so it stops at all updates and patches for all main, restricted, universe, and third-party apps, till Oct 2007, and does not install any software update beyond that cut-off time? you see, i can't even roll back. if i install a fresh feisty and apply all patches and updates, it will apply them at one shot from those at the current date. in one giant leap. if i could hypothetically roll back, it would roll back one giant step back, to my fresh install. sigh! the updates and patches on ubuntu feisty beyond oct 2007, makes it unusable on my ageing hardware. thanks for your assistance, and am still hopeful there could be a possible solution somewhere, somehow niyam bhushan ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] ubuntu feisty roll-forward till oct 2007
On Dec 28, 2007 5:47 PM, Linux Lingam <[EMAIL PROTECTED]> wrote: > > > once done, is there any way in which i can create some sort of a > snapshot system, so if the system rattles again due to an update or a > patch, i safely roll-back to a known, working snapshot? > Snapshot, hmmm, hope this is helpful just recently was faced with this situation twice in last two months. 1) First time, needed to replace a hard disk, two hard disks with same specs, a- partitioned the new hard disk exactly the same as the old one.Andformatted the partitions in same type. Set the bootable flag . b- used the dd utility to copy the root partition from the first hard disk to the new one, for example dd if=/dev/hdc1 of=/dev/hdd2 . It was very time consuming, took more than 2 hours. 2) Second Time, Two hard disks with same specs, a- partitioned the new hard disk exactly the same as the old one.Andformatted the partitions in same type.Set the bootable flag b- Then because of the time consumed doing the dd , looked around and found partimage . It backs up the partition with the data and can restore the partition( bigger than the backed up partition). c- After using the partimage, to copy and restore. Had to use the dd , dd if=/dev/hdc of=/dev/hdd to copy the MBR. more info: http://ubuntuforums.org/showthread.php?t=287522 -- Regards, Tirveni Tirveni Yadav Freed.in Freedom in Technology & Software February 2008 , Jawaharlal Nehru University ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] ubuntu feisty roll-forward till oct 2007
dear all, in april 2007, i installed a fresh ubuntu feisty on my five-year-old desktop that is now growing long in the bluetooth. i regularly updated and applied patches on it, so i had a 'more usable' system that worked brilliantly, till the last week of oct 2007. the subsequent updates and patches hurled my system into turbulent weather, the fasten-seat-belts sign lit up, and soon the system just became completely unusable. noticed that gutsy's specs for hardware are more than what i have currently. am therefore sitting at this moment with my cd of ubuntu feisty, ready to do a fresh-install. alas! that mercilessly rolls me back to an april 2007 ecosystem. is there any way for me to configure or tweak my system updates, apt sources, etc., so the system and apps that i wish to install and update roll-forward and stop at october 2007 and don't go beyond that? once done, is there any way in which i can create some sort of a snapshot system, so if the system rattles again due to an update or a patch, i safely roll-back to a known, working snapshot? your help and suggestions much appreciated. regards niyam -- niyam bhushan ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22/23, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/