Choose style:

Author Topic: Retro Chromium/Chrome browsers and "apt update && apt upgrade" [SOLVED]  (Read 2011 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
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. 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
« Last Edit: June 27, 2014, 07:47:42 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26045
  • Karma: 2839
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Retro Chromium/Chrome browsers and "apt update && apt upgrade"
« Reply #1 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
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
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   ;).
« Last Edit: June 27, 2014, 07:48:42 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26045
  • Karma: 2839
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
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
« Last Edit: June 27, 2014, 09:21:18 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec