noob had installed debian/gnome 3.32 on pop-1904

Using my .desktop 19.04 Ubuntu I had accidentally installed Debian and then Gnome 3.32 and have a New Profile Created by Debian which includes Bash Logs and Terminal lingo I cannot understand

I need to now if a fresh-clean-reinstall will wipe all Debian software and correct my Launcher?

Or-How could I Remove Debian from 19.01 Gnome-shell? Thank you

Missing dependencies can’t be installed

I have a Dell Inspiron R17 N7110 (Laptop) running a fresh install of Ubuntu 18.04.2.

At startup, I get this message telling me some packages might have missing dependencies.

Missing Dependencies popup screenshot

So I ran sudo apt --fix-broken install and this is the output:

christopher@csubuntu:~$   sudo apt --fix-broken install Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   lib32gcc1 libc6-i386 libllvm7 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed:   libnvidia-gl-390 libnvidia-gl-390:i386 The following NEW packages will be installed:   libnvidia-gl-390 libnvidia-gl-390:i386 0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded. 3 not fully installed or removed. Need to get 0 B/29.2 MB of archives. After this operation, 147 MB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 214625 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.116-0ubuntu0.18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/ to /usr/lib/i386-linux-gnu/ by nvidia-340 dpkg-divert: error: mismatch on package   when removing 'diversion of /usr/lib/i386-linux-gnu/ by libnvidia-gl-390'   found 'diversion of /usr/lib/i386-linux-gnu/ to /usr/lib/i386-linux-gnu/ by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.116-0ubuntu0.18.04.1_i386.deb (--unpack):  new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Preparing to unpack .../libnvidia-gl-390_390.116-0ubuntu0.18.04.1_amd64.deb ... diversion of /usr/lib/x86_64-linux-gnu/ to /usr/lib/x86_64-linux-gnu/ by nvidia-340 dpkg-divert: error: mismatch on package   when removing 'diversion of /usr/lib/x86_64-linux-gnu/ by libnvidia-gl-390'   found 'diversion of /usr/lib/x86_64-linux-gnu/ to /usr/lib/x86_64-linux-gnu/ by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.116-0ubuntu0.18.04.1_amd64.deb (--unpack):  new libnvidia-gl-390:amd64 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing:  /var/cache/apt/archives/libnvidia-gl-390_390.116-0ubuntu0.18.04.1_i386.deb  /var/cache/apt/archives/libnvidia-gl-390_390.116-0ubuntu0.18.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 

It left the .deb files in /var/cache/apt/archives/, so I tried installing them manually from there. That did nothing.

The store After clicking the install button it shows the installing bar at 0%, 100%, 0%, 5%, 68%, and then reverts to the install button as if it weren’t installed.

Thanks in advance. must be installed for pthread_cancel to work [SNAPCRAFT]

I am building my first snap and I am encountering some problems. My application uses Unity, Java, C ++ and Python, the last 2 are used to create a shared library that is used by Unity. When I try to close the application the following message is shown must be installed for pthread_cancel to work 

and the application does not close. I tried using “find /snap/newplayer/x1/ -name*” and got this result:

/snap/newplayer/x1/lib/x86_64-linux-gnu/ /snap/newplayer/x1/usr/lib/gcc/x86_64-linux-gnu/7/ /snap/newplayer/x1/usr/lib/gcc/x86_64-linux-gnu/7/ 

I’m using google translator because I’m not native to the English language.

Does the filesystem windows is installed on have an effect on the time zone settings of windows registry timestamps?

As far as I know Windows Registry timestamps are stored as UTC timestamps when Windows is installed on an NTFS filesystem. Does this change when Windows is installed on a FAT Filesystem (e.g. FAT32)? Are timestamps stored as local time instead or are they still in UTC?

Question could have also been simplified: Are Windows Registry timestamps always UTC timestamps?

Ubuntu (on internal hard drive) won’t boot without external hard drive (with ubuntu also installed) connected to it

Yesterday I went about installing Ubuntu 18.04 onto an external HDD, from within Ubuntu 18.04 on the computer’s internal SSD. (Ironically, I did it so I could boot from the HDD in case something went wrong with my main Ubuntu setup.)

First in the external hard drive I set up a swap partition and a main partition, using Gparted. Then I booted Ubuntu from a LiveUSB and went through the installation process, selecting the HDD main partition as the installation destination.

I can boot from the external HDD with no problem. With it connected, I can even boot from my SSD just fine. But when I disconnect while booted from the SSD, things seem to break (e.g. I lose the menu and application bar, and other odd things happen). When I disconnected the HDD prior to booting normally from the SSD, I get put into the boot menu as normal. From there, I can select ubuntu or windows boot manager etc as normal. When I select ubuntu, though, I get put into a window that says at the top “GNU GRUB version 2.02” and then “grub>” below.

It may be important to note that previously, I tried to make/boot from an image copy of Ubuntu from a different partition in the external HDD. Essentially I booted from a live usb and used dd to copy my ubuntu partition into the external hdd partition I made for it. That didn’t work because I couldn’t boot from that partition of the external HDD, but it also didn’t mess up my ubuntu install on my SSD.

Fresh installed magento 2.3 with sample data showing blank front page

Running mode: developer I was getting blank frontend page. I checked system.log and debug.log in magento and found out there was some errors related to some broken reference.

main.INFO: Broken reference: the 'logger' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] main.INFO: Broken reference: the '' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] [] 

The frontend page was showing blank but it was actually loading some html. I check for solution and found an answer in this thread

This thread suggested to delete the global.php file located in generated/metadata, and following this solved my issue and front end of my website loaded properly.

But now whenever I run the command

php bin/magento setup:di:compile 

the global.php file is generated again and my website’s frontend shows blank page again and deleting global.php solves it. I got some information related to global.php file in this thread Purpose of magento\generated\metadata\global.php file and is it safe to delete this file?

According to above thread

“The code compiler creates generated/metadata/global.php, which is a PHP serialized map of all constructor definitions mixed with object linking configuration defined in di.xml. di.xml is the dependency injection configuration. There is a global app/etc/di.xml and there can one defined for every module .”

This also happens when I run my website in production mode, and deleting global.php solves it. Now my question is why magento is generating global.php file if it is neither using it in developer mode nor production mode as deleting this file does not give any error and the website works perfectly.

And also broken reference error in fresh install of magento, does it means that it is some bug related to magento and how can one debug this problem further. I am asking how to debug it because as we can see in the error there is no mention of any file just a reference ‘after.body.start’.

How is facebook determining my location when I don’t have the app installed?

I have done everything that I can think of to prevent companies like facebook from knowing my actual location, yet recently I’ve started noticing extremely specific ads from them.

For example, I went bowling for the first time in years, and hours later started seeing bowling advertisements on facebook. I believe they only knew this due to my phone being physically present in a bowling alley for an hour.

I initially assumed it was just pareidolia on my part, but it has happened several more times with stores that I have visited.

Things I have done

  • Uninstall facebook app
  • Disable location services in iOS
  • Being very cautious of what I type into search engines
  • Avoiding entering store locations into google/apple maps
  • Avoid joining public wifi

I’ve checked with my cell phone carrier, and they ‘promise’, that they aren’t selling my location.

What other mechanisms could be leaking my location?

Accidentally installed Ubuntu Desktop program on Server – now things are playing up

I accidentally installed a program on Ubuntu Server which was actually for Ubuntu Desktop (Grsync). Now, other programs that worked fine are coming up with this error when run:

(Duplicati.GUI.TrayIcon:26310): Gtk-WARNING **: 01:05:28.218: cannot open display: 

The program in question here is Duplicati, which runs a GUI through port 8200. Anyway I can fix my error?