Peppermint OS Community Forum

Support => Software & Applications => Topic started by: AndyInMokum on June 27, 2014, 04:22:20 am

Title: Retro Chromium/Chrome browsers and "apt update && apt upgrade" [SOLVED]
Post by: AndyInMokum on June 27, 2014, 04:22:20 am
Good morning and how is everyone today?  I'm one the lucky ones who are having fun and games with the new Chromium/Google-Chrome Aura versions.  In their present state, my computer becomes unusable.  I've found the best solution is to retrograde to earlier versions.  At the moment I'm only using Google-Chrome.  I just don't like the way Chromium handles Flash, or Pepperflash.  It is always a bit hit and miss.  I have installed Chromium Version 34.0.1847.137, as described in the following link: How to Retrograde to Non-Aura Chromium/Chrome browsers (http://forum.peppermintos.com/index.php/topic,494.0.html). This works really well until I perform an apt update && apt upgrade.  The nice Chrome version 34 is overwritten and the very unstable version 35 is reinstalled.  I've tried removing this version and manually deleting the Google-Chrome config folder and files before reinstalling version 34.  Is there anyway of allowing the non-aura version of Google-Chrome survive the upgrade process?  Many thanks  ;D. 
Title: Re: Retro Chromium/Chrome browsers and "apt update && apt upgrade"
Post by: PCNetSpec on June 27, 2014, 06:14:56 am
Yes it can be told not to upgrade, and I'll add this to the tutorial

Here's how...

Uninstall the new version, and install the non-Aura version (as described in the downgrade tutorial.

Then once you're sure you have the non-Aura version, run:
Code: [Select]
sudo echo "google-chrome-stable hold" | sudo dpkg --set-selections
to lock the package at the currently installed version

If you run an "apt upgrade" or an "apt dist-upgrade" it'll inform you that google-chrome-stable is being held back ;)

to unlock it (should you ever WANT to let it update):
Code: [Select]
sudo echo "google-chrome-stable install" | sudo dpkg --set-selections
Title: Re: Retro Chromium/Chrome browsers and "apt update && apt upgrade"[SOLVED]
Post by: AndyInMokum on June 27, 2014, 07:47:06 am
That is outstanding, it worked a treat.  These are really useful commands.  They are safely bookmarked  ;).  I must learn more about how to use the pipe function.  I guess this would work with some substitution for the Chromium browser and any package that needs holding back.   Many thanks   ;).
Title: Re: Retro Chromium/Chrome browsers and "apt update && apt upgrade" [SOLVED]
Post by: PCNetSpec on June 27, 2014, 09:13:51 am
Yup, just replace google-chrome-stable with whatever packagename you want to lock to the current version .. as in

sudo echo "<packagename> hold" | sudo dpkg --set-selections

and to unlock

sudo echo "<packagename> install" | sudo dpkg --set-selections