Unable to install g++ in Ubuntu version 18.04. I used the command “sudo apt install g++”

After running: sudo apt install g++ I’ve got the following error: The following packages have unmet dependencies: g++ : Depends: gcc (>= 4:7.3.0-3ubuntu2) but it is not going to be installed Depends: g++-7 (>= 7.3.0-12~) but it is not going to be installed Depends: gcc-7 (>= 7.3.0-12~) but it is not going to be installed…

Details

Why can I still python in an anaconda environment with no packages installed?

Why can I still use python and import matplotlib and numpy and etc in an anaconda environment with no packages installed ? C:\Users\ha_ha>conda create -n env1 C:\Users\ha_ha>conda activate env1 (env1) C:\Users\kong>conda list # packages in environment at C:\Users\kong\Anaconda3\envs\env1: # # Name Version Build Channel (env1) C:\Users\kong>python Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017,…

Details

nautilus says directory is empty while ls says it is not

On my external drive there is a synched directory via the command rsync -avzs –progress –append –delete /origin/my-folder-to-backup /media/username/name-of-the-drive/ When I check the number and size of files in the terminal, it is exactly the same on destination and origin folders. But inside nautilus, if I can see correctly the “my-folder-to-backup” where it should be…

Details

How to install Ubuntu LTS (18.04) on a system for which disk drivers are existing only i the most recent, non-LTS version?

I am holding in my hands a cool ASUS UX481F (ZenBook Duo) that works surprisingly well out-of-the-box (including network and disk) with Ubuntu 19.10 live USB, but the Ubuntu 18.04 both liveUSB and MinimalDisk is too old to recognize the disks. Do I have any options to install Ubuntu 18.04 on it anyway? I can…

Details

Replacing text inside multiple Info.plist files, recursively

I have a zillions of directories inside a main directory. Each of these directories have multiple levels of subdirectories. Spread among them, there are files called Info.plist. Inside these Info.plist files, there are lines line these: <string>/Users/Shared/Library/Mail/V7/74309-67B6-44E3-BD66-9384D1E54398/Junk.mbox</string> these lines, that may be one or multiple per file, may have be different, like <string>/Users/Shared/Library/Mail/V7/74398/Junk.mbox</string> <string>/Users/Shared/Library/Mail/V7/7-67B8/Sent.mbox</string> <string>/Users/Shared/Library/Mail/V7/OLD/Old.mbox</string>…

Details

How to “convert” htaccess rules into nginx rule?

I would like to “convert” this rules into an nginx rule. I think the location block is the right place, but my solutions doesn’t work. Options -Indexes RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/public%{REQUEST_URI} -f RewriteRule ^(.*)$ public/$1 [QSA,END] RewriteCond %{REQUEST_FILENAME} !index\.php RewriteRule ^(.+)$ index.php?route=$1 [QSA,L] I tried this location / { rewrite ^(.*)$ /public/$1; rewrite ^(.+)$ /index.php?route=$1…

Details