2

Problem updating Chrome: Repository changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’

If you are using the Google repository to update your Chrome it doesn’t update anymore with apt-get due to security reasons.

Reading package lists... Done                      
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

The solution is fast. Just run

sudo apt update

Note that’s apt and not apt-get. And just accept the change.

Do you want to accept these changes and continue updating from this repository? [y/N]

Done!

Then just use again sudo apt-get update and sudo apt-get upgrade

0

Lookout if you process Cisco IOS-XR configuration files

I lost too much time just doing a simple script: checking for a class-map configuration across several backup configuration files. And it never matched!

The problem should be with me or my script as I knew it was all ok on some of the files.

However after bouncing my head several times I found the issue.

Some of the configuration has trailing spaces at the end of the line!

At first I thought it was may be a problem with RANCID. But it was not.

To make this visible I just issued something like this at the router prompt

sh run | b ^class-map match-any CORE-VOICE

And copy-pasted some lines to vim that gave me this

ios-xr-with-trailing-spaces

The red squares show that there are spaces at the end of two lines!

It’s a nice feature to have active on vim. Just add these two lines to your ~/.vimrc

highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/

So, next time you have to chew some IOS-XR configurations files don’t forget to right trim all those lines!

0

The Joy of Wrong

I’m writing down this excerpt from “Poke the Box” by Seth Godin, as a reminder that we have to start and deliver. Even if it’s not the ideal solution for our application, program module, system integration, or network design. If we don’t have that initial stuff running we may procrastinate and spend all of our time just on research.

In the Pike Place Market in Seattle, you can still find the first Starbucks. There’s something wrong with it, though. It’s not quite right, not quite a Starbucks . The logo is different; the layout is different.

 

It turns out that the original Starbucks didn’t sell coffee.

 

They sold coffee beans and tea leaves and even herbs. But except for a sip or a taste of coffee brewed from a particular bean (drip, no espresso!), there was no cup of coffee to be had.

 

Starbucks was wrong. Jerry Baldwin, one of the founders, made a mistake. He thought the beans were the point, not the coffee. Left to Jerry’s vision of the future, Starbucks would certainly have failed. It took Howard Schultz, a trip to Italy, and an obsession with espresso to turn Starbucks into Starbucks. And Howard gets a lot of credit for making that happen.

 

But what if the “wrong” Starbucks had never been built? What if Jerry and his partners had said, “Well, we’re not sure if this bean thing is going to work, so let’s do nothing”? Without Jerry Baldwin and his flawed idea for a coffee bean store, there’d be no Frappuccino. One led to the other by the usual route, which is never a straight line.

 

The original Starship Enterprise was conceived by Matt Jefferies. It looked like a cross between a Frisbee and a can opener. Clearly wrong.

 

But Matt had the drive to deliver. He took the wrong start and revised and improved and innovated until the Enterprise we know and love came to be. The hardest part, it seems to me, was the first one, the wrong one.

 

Poking doesn’t mean right. In means action.