Choose style:

Author Topic: [SOLVED] Problem following instructions to downgrade Chromium  (Read 3487 times)

0 Members and 1 Guest are viewing this topic.

Offline NickF

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
[SOLVED] Problem following instructions to downgrade Chromium
« on: September 22, 2014, 05:38:59 pm »
Hi
Trying to follow instructions on 'reply#2 on June 23 at 07:09:28 about downgrading the Chromium web browser.
Doing this on a Dell Latitude C400 - with a new and updated PM5 installation, but where the Chromium browser simply will not launch at all.
Because I've had to copy from a separate computer to the one with no browser, I've had some difficulties, probably caused by failure to get the complete code line right on the first try.

Here is the bit  that is causing problems (loading the downgraded browser software):

$ sudo apt-get install chromium-browser=31.0.1650.57-0ubuntu1 chromium-browser-l10n=31.0.1650.57-0ubuntu1 chromium-codecs-ffmpeg-extra=31.0.1650.57-0ubuntu1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  webaccounts-chromium-extension unity-chromium-extension
The following packages will be DOWNGRADED:
  chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra
0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not upgraded.
Need to get 37.3 MB of archives.
After this operation, 55.8 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Err http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/ trusty/main chromium-browser-l10n all 31.0.1650.57-0ubuntu1
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/ trusty/main chromium-codecs-ffmpeg-extra i386 31.0.1650.57-0ubuntu1
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/ trusty/main chromium-browser i386 31.0.1650.57-0ubuntu1
  Could not resolve 'ppa.launchpad.net'
E: Failed to fetch http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-browser-l10n_31.0.1650.57-0ubuntu1_all.deb  Could not resolve 'ppa.launchpad.net'

E: Failed to fetch http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-codecs-ffmpeg-extra_31.0.1650.57-0ubuntu1_i386.deb  Could not resolve 'ppa.launchpad.net'

E: Failed to fetch http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-browser_31.0.1650.57-0ubuntu1_i386.deb  Could not resolve 'ppa.launchpad.net'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


When I try the last line suggestion I get various failures, including one on your PPA. The 'fix-missing bit did not seem to solve it either.

 Your PPA does seem to be listed in the 'other software' part of the 'Software & Updates' and it is checked, so I am assuming I got the very first line in correctly!

Can you give me any help on where on earth to go now.... any help much appreciated.
« Last Edit: September 24, 2014, 06:12:08 am by NickF »

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)
Re: Problem following instructions to downgrade Chromium
« Reply #1 on: September 22, 2014, 07:47:39 pm »
Hi NickF, how's it going?  Welcome to the Peppermint Forum  8).  Try the instructions in this link: Retrograding Chromium Browser.  I've just re-checked it and it works well.  I hope this helps - good luck  ;)!!

Edit:   I see one of your machines doesn't have a browser installed.  Have you tried installing a backup browser like Firefox or Qupzilla?  They come in very handy in situations like this.
Code: [Select]
apt install firefox -y
and/or
Code: [Select]
apt install qupzilla -y
« Last Edit: September 22, 2014, 07:55:18 pm 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: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Problem following instructions to downgrade Chromium
« Reply #2 on: September 22, 2014, 07:50:46 pm »
Quote
E: Failed to fetch http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-browser_31.0.1650.57-0ubuntu1_i386.deb  Could not resolve 'ppa.launchpad.net'

I can only assume launchpad was down when you tried as (like AndyInMokum) i can access those files without issue  :-\

Are you able to access these 3 links

http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-browser-l10n_31.0.1650.57-0ubuntu1_all.deb
and
http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-codecs-ffmpeg-extra_31.0.1650.57-0ubuntu1_i386.deb
and
http://ppa.launchpad.net/mark-pcnetspec/chromium-31/ubuntu/pool/main/c/chromium-browser/chromium-browser_31.0.1650.57-0ubuntu1_i386.deb

?

If so, what happens if you run these commands in sequence:
Code: [Select]
sudo apt-get remove --purge chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra
then
Code: [Select]
sudo apt-get autoremove
then
Code: [Select]
sudo apt-get clean
then
Code: [Select]
sudo mv -v /var/lib/apt/lists /var/lib/apt/lists-old
then
Code: [Select]
sudo mkdir -vp /var/lib/apt/lists/partial
then
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get install chromium-browser=31.0.1650.57-0ubuntu1 chromium-browser-l10n=31.0.1650.57-0ubuntu1 chromium-codecs-ffmpeg-extra=31.0.1650.57-0ubuntu1
then
Code: [Select]
mv -v ~/.config/chromium ~/.config/chromium-original
« Last Edit: September 22, 2014, 07:54:38 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline NickF

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Problem following instructions to downgrade Chromium
« Reply #3 on: September 23, 2014, 09:39:24 am »
Firstly, thanks AndyInMokum for the suggestion - Firefox worked immediately and that made following the other instruction a lot easier!

It would appear that Launchpad was the problem - today it all worked!
However, although I am pretty sure the various things have worked to install the older Chromium, it still will not launch.

So I have proceeded with PCNetSpec's questions. The answers follow:
1. Yes, I can now access those 3 links.
2. sudo apt-get remove etc. appears to do as asked.
3. sudo apt-get autoremove: appears to work, but does nothing (as I suspect you expect)
4. sudo apt-get clean: ?happens, but reports nothing
5. the 2 directory actions do as expected
6. sudo apt-get update: runs as expected
7. sudo apt-get install chromium-browser=31.0.1650.57-0ubuntu1 chromium-browser-l10n=31.0.1650.57-0ubuntu1 chromium-codecs-ffmpeg-extra=31.0.1650.57-0ubuntu1
Does a lot of fetching and setting up of that Chromium browser

And - now Chromium launches!
As expected: "Version 31.0.1650.57 Built on Ubuntu 14.04, running on Peppermint 5 (31.0.1650.57-0ubuntu1)"

So I think I have the older version and that the auto-updates should not over-write it - correct?

I assume that this old Dell Latitude C400 simply isn't upto the version of Chromium shipped with PM5.

This laptop is off to Tanzania as a gift shortly - so I hope both browsers now installed should suffice.

Many thanks indeed for the help - and any follow-up comments

Nick


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)
Re: Problem following instructions to downgrade Chromium
« Reply #4 on: September 23, 2014, 11:00:13 am »
Hi nick,  to stop it updating to the current version you need to run the following command in the terminal:
Code: [Select]
sudo echo "chromium-browser-stable hold" | sudo dpkg --set-selections
To undo it and let it update, run:
Code: [Select]
sudo echo "google-chrome-stable install" | sudo dpkg --set-selections

That should do it  ;)!
« Last Edit: September 23, 2014, 11:27:56 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 NickF

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Problem following instructions to downgrade Chromium
« Reply #5 on: September 23, 2014, 03:08:57 pm »
Many thanks, but I fear that may not have worked:

dpkg: warning: package not in database at line 1: chromium-browser-stable
dpkg: warning: found unknown packages; this might mean the available database
is outdated, and needs to be updated through a frontend method

Nick

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)
Re: Problem following instructions to downgrade Chromium
« Reply #6 on: September 23, 2014, 03:35:25 pm »
Many thanks, but I fear that may not have worked:

dpkg: warning: package not in database at line 1: chromium-browser-stable
dpkg: warning: found unknown packages; this might mean the available database
is outdated, and needs to be updated through a frontend method

Nick

Sorry Nick, I forgot that the PPA for Chromium 31 is made by PCNetSpec and isn't going to update without a manual intervention from him.  Just keep to the instructions that are provided in the origional link I gave you: http://forum.peppermintos.com/index.php/topic,494.msg4145.html#msg4145.
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: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Problem following instructions to downgrade Chromium
« Reply #7 on: September 23, 2014, 06:15:37 pm »
Chromium shouldn't now get updated even if/when updates become available in the main repos.

To go back to the default version you'd have to purge the PPA as covered in the downgrade tutorial.
 .. or manually specify the version to install.
« Last Edit: September 23, 2014, 06:19:43 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline NickF

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Problem following instructions to downgrade Chromium
« Reply #8 on: September 24, 2014, 06:11:10 am »
Many thanks for all the help - successful !