Up tonight, I would like to see if it is possible to downgrade my Chrome installation. A few days back, Chrome stopped working with the Speed Tracer extension. At this point in SPDY Book development, I pretty much have everything I need from a research standpoint, but I would hate to find this weekend that I absolutely have to redo a Speed Tracer screen shot and have no way of doing so.
I have no idea if the old google-chrome-unstable package is still on the Google download server, but there is one way to find out. I can never remember how packages map to download URLs in Debian/Ubuntu. Fortunately, there is the
apt-getwhich can help:
➜ ~ sudo apt-get install -qq --reinstall --print-uris google-chrome-unstableOr maybe not.
I would think that the
--reinstalloption would instruct
apt-getto, well, re-install. Well, what happens when I pick the stable version?
➜ ~ sudo apt-get install -qq --reinstall --print-uris google-chrome-stableAh better.
'http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_12.0.742.124-r92024_amd64.deb' google-chrome-stable_12.0.742.124-r92024_amd64.deb 22241936 MD5Sum:f0c30436363cb2f3965ee0c41a8723cb
I currently have Chrome version 14.0.835.8-r94414 installed. So that ought to translate into http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/google-chrome-unstable_14.0.835.8-r94414_amd64.deb. And, indeed, it does.
/var/log/apt/history.log, I see the following recent upgrades took place:
...I reported the Speed Tracer no-worky issue back at revision 4.0.835.0. I think it actually broke in the previous release, so I would like try to grab two releases before 4.0.835.0, which is 14.0.814.0-r91661. The URL for that would then be:http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/google-chrome-unstable_14.0.814.0-r91661_amd64.deb.
google-chrome-unstable:amd64 (14.0.797.0-r89638, 14.0.803.0-r90483)
google-chrome-unstable:amd64 (14.0.803.0-r90483, 14.0.814.0-r91661)
google-chrome-unstable:amd64 (14.0.814.0-r91661, 14.0.825.0-r92801)
google-chrome-unstable:amd64 (14.0.825.0-r92801, 14.0.835.0-r94025)
google-chrome-unstable:amd64 (14.0.835.0-r94025, 14.0.835.8-r94414)
Unfortunately, that results in a 404:
Dang. Looks like Google removes old builds relatively quickly. I wonder if yesterday's build is still around?
Checking http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/google-chrome-unstable_14.0.835.0-r94025_amd64.deb, I get yet another 404. Darn it. They are nothing if not efficient.
So, to summarize:
- http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/google-chrome-unstable_14.0.835.8-r94414_amd64.deb (200)
- http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/google-chrome-unstable_14.0.835.0-r94025_amd64.deb (404)
- http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/google-chrome-unstable_14.0.814.0-r91661_amd64.deb (404)
➜ ~ ls /var/cache/apt/archives/google-chrome-unstable*Yay! Good thing I rarely
Before downgrading, I close Chrome and backup my config:
➜ ~ tar zcf google-chrome_config.tar.gz .config/google-chromeI do not think I have anything in there that I cannot lose, but better safe. With that out of the way, I install my target archive:
➜ ~ sudo dpkg -i /var/cache/apt/archives/google-chrome-unstable_14.0.814.0-r91661_amd64.debYay! It looks like that worked. When I start up Chrome (with the
dpkg: warning: downgrading google-chrome-unstable from 14.0.835.8-r94414 to 14.0.814.0-r91661.
(Reading database ... 327451 files and directories currently installed.)
Preparing to replace google-chrome-unstable 14.0.835.8-r94414 (using .../google-chrome-unstable_14.0.814.0-r91661_amd64.deb) ...
Unpacking replacement google-chrome-unstable ...
Setting up google-chrome-unstable (14.0.814.0-r91661) ...
Processing triggers for python-gmenu ...
Processing triggers for bamfdaemon ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for python-support ...
--enable-extension-timeline-apicommand line option required by Speed Tracer), I am greeted with:
Meh. I can live with that. If it give me my precious Speed Tracer back. And it does!
I wind up downgrading one more version to 14.0.803.0-r90483 because of an annoyance with new tabs. The bottom line is that I have Speed Tracer back and life is good.
Now I have no obstacles to finishing off SPDY Book. Except it's a huge book and I only have 3 days to proof read it. Ugh.