Archive

Posts Tagged ‘update’

[mongodb] invalid GPG signatures

February 8, 2018 Leave a comment

Problem
I have an Ubuntu 14.04 LTS box with MongoDB. When I tried to update the packages, I got a similar error:

W: GPG error: http://repo.mongodb.org trusty/mongodb-org/3.2 Release: The following signatures were invalid: BADSIG D68FA50FEA312927 MongoDB 3.2 Release Signing Key 
WARNING: The following packages cannot be authenticated!
mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools mongodb-org E: There are problems and -y was used without --force-yes

Solution

sudo apt-key list | \
 grep "expired: " | \
 sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | \
 xargs -n1 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys

Full explanation of this is here. In a nutshell: update expired keys from Ubuntu key server.

Advertisements

[manjaro] installation fails, unknown public key

January 17, 2018 Leave a comment

Problem
I couldn’t update a package due to the following error:

==> Validating source files with sha256sums...
    gcc-7.2.1-20171224.tar.xz ... Passed
    gcc-7.2.1-20171224.tar.xz.sig ... Skipped
    isl-0.18.tar.bz2 ... Passed
==> Verifying source file signatures with gpg...
    gcc-7.2.1-20171224.tar.xz ... FAILED (unknown public key BBE43771487328A9)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build mingw-w64-gcc.
==> Restart building mingw-w64-gcc ? [y/N]
==> --------------------------------------
==> ==> ERROR: unable to update

Solution
I asked this on reddit and /u/SuperGrip kindly provided the solution:

This is a common issue when an apps key is not included in the ArchLinux Keyring, to solve this issue you can add the key manually by running the following command: gpg --recv BBE43771487328A9

For further information check the package comments on the AUR site. https://aur.archlinux.org/packages/mingw-w64-gcc/

Categories: manjaro Tags: , , , ,

[windows 7] unauthorized changes on the firmware, operating system, or UEFI drivers

September 25, 2017 Leave a comment

Problem
A friend called me last week that he has a problem with his PC. He has Windows 7 and after installing some updates, the system couldn’t reboot. He got the following error message:

(Screenshot from here.)

Solution
I found the solution here. In a nutshell: enter BIOS -> Boot -> Secure Boot. Next to “OS Type” you must have Windows. Change it to “Other OS”. Save and reboot.

Categories: windows Tags: , , , ,

How to update Windows 7 SP1

June 13, 2016 Leave a comment

Problem
A friend of mine asked me to install Windows 7 on his laptop. I installed Windows 7 SP1, but something changed because when I tried to search for updates, it didn’t want to finish! I waited for 12 hours but it was still looking for… Damn, how to do an update?

Solution
Download manually these updates: KB3050265, KB3102810, and KB3125574 (this last one is a big one, a convenience rollup update). Do the following with each update:

  • Start an admin terminal and stop the Windows Update service: “net stop wuauserv”.
  • Install the update. Restart the machine if you are asked to.
  • Take the next update and repeat.

There is no need to restart the WU service manually since it is started automatically after a reboot.

When these three updates are installed, the Windows Update will find the updates “quickly” (“quicly” is relative; for me it was about 15 minutes).

[manjaro] XFCE theme looks strange after an update

April 27, 2016 Leave a comment

Problem
Manjaro had a major update at the end of April 2016 and after that my XFCE theme looked very strange.

Solution
In this thread I found that GTK3 was updated to version 3.20 and my current theme doesn’t support it. Solution: choose a different theme.

I chose the vertex-maia theme since it looks similar to my old theme. With Xfce Theme Manager I set this configuration:

  • theme: Vertex-Maia
  • windows borders: w8
  • icons: Menda-Circle
  • cursors: aero-drop
Categories: manjaro Tags: ,

[windows 10] hide the update icon

September 6, 2015 Leave a comment

How to hide the Windows 10 update icon on the system tray: http://lifehacker.com/how-to-hide-the-get-windows-10-icon-from-your-taskbar-1708536452 . In short: click the little “up” arrow on your system tray and select Customize. “From there, change GWX’s dropdown to “Only show notifications”. It’ll still show up in your pop-up system tray, but not on the taskbar itself…” (source)

Categories: windows 10 Tags: , , ,

Ubuntu 12.04 — Precise Pangolin

April 27, 2012 Leave a comment

Precise Pangolin has arrived. I updated my home machine yesterday, no problems at all. I also updated another machine, went like a charm. Some of the tips below are from here.

Some minor issues
Last time I installed xscreensaver and removed gnome-screensaver. However, this time locking the screen didn’t work. So I put back gnome-screensaver: “sudo apt-get install gnome-screensaver“. Note that when you press CTRL+ALT+L, the following file will be called: /usr/bin/gnome-screensaver-command.

On ubuntu.com, it’s still the 32-bit version that is recommended :( Here is a discussion about it.

When I wanted to upgrade, the installer complained about the skype and acroread packages, so I removed them. After the upgrade I couldn’t put them back on one of my machines. I have a 64 bit system and these packages are 32 bit, so they require some 32 bit libraries. However, one of them had a conflict with its 64 bit equivalent. I hope this issue will be resolved.

I also had problems on one of my laptops (a Dell Latitude D410). The live CD stopped booting. It turned out it was because of the b43 wifi card. Read more about it here.

I’ve found another great tweaking tool called unsettings. Read more about it here. In 12.04 the Launcher is always visible on the left side. With unsettings you can easily change that. Also, you can disable the global menu and overlay scrollbars with a click. You can also change the activation trigger of the Launcher from the left edge to the top left corner.

You can add a weather indicator too to the top panel: “sudo apt-get install indicator-weather“. Launch indicator-weather and add it to your startup applications.

Some autostart items don’t show up in the Startup Applications dialog. To get all of them to show up, use the following command (tip from here):

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

Update (20120915)
If you hate the Global Menu (File, Edit, etc.) appearing on the top bar instead of the application bar, you can remove it like this:

sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt

Then log out and log back in. This tip is from here.