Getting this error when installing Wine: Unable to correct problems, it has retained broken packages

enter the description of the image here

The following package has unsatisfied dependencies:
winehq-stable: Depends: wine-stable (= 5.0.0 ~ disk)
E: Unable to correct problems, it has retained broken packages.

Unable to attach the SQL Server database with the shared folder in Docker on Linux

The problem I have is that my Linux SQL Server 2017 container cannot read my database files. I guess it has something to do with permissions and I'm sure I've missed something, but I can't find it.

I created a clone with the PowerShell module called dbaclone.
This module creates and connects a differentiation disk based on another VHD, which facilitates the provisioning of large databases.

The databases are available using a partition path that will look like this

enter the description of the image here

With in the folder, for example, "AW2017-C1" is a folder called "Data" and "Log" that contains the data and the log files respectively.

The permissions in the folder are "Everyone" to have "Full Control."

enter the description of the image here

I have a virtual machine in VMWare Workstation that is a Linux VM. The Linux virtual machine has Docker installed. I shared the cloning folder on the VM

enter the description of the image here

For ease of use, I added the share to / etc / fstab to mount it automatically when the VM starts.

enter the description of the image here

The permissions are set so that everyone can read it

enter the description of the image here

I have the following script to run the docker container

sudo docker run -e 'ACCEPT_EULA=Y' 
    -e 'SA_PASSWORD=Myp@ssw0rd' 
    -p 1433:1433 --name sql1 
    -v /home/sander/databases:/databases 
    -v /home/sander/shares/dbaclone:/var/opt/mssql/data/dbaclone 
    -d mcr.microsoft.com/mssql/server:2017-latest

The docker container will mount the directory and make it accessible to the container.

File permissions from the container look correct

enter the description of the image here

Everything looks good, but when I run the following script

USE master;

CREATE DATABASE AdventureWorks2017
ON PRIMARY
       (
           FILENAME = '/var/opt/mssql/data/dbaclone/AW2017-C1/Data/AdventureWorks2017.mdf'
       ),
       (
           FILENAME = '/var/opt/mssql/data/dbaclone/AW2017-C1/Log/AdventureWorks2017_log.ldf'
       )
FOR ATTACH;

This error returns

Msg 5120, Level 16, State 101, Line 3
The physical file "/var/opt/mssql/data/dbaclone/AW2017-C1/Data/AdventureWorks2017.mdf" cannot be opened. Operating system error 2: "2 (The system cannot find the file specified)."
Msg 1802, Level 16, State 7, Line 3
CREATE DATABASE failed. Some of the file names in the list could not be created. Verify related errors.
Completion time: 2020-02-19T13: 07: 36.1675676 + 01: 00

Obviously, this has something to do with permissions, but everything looks good and maybe someone else has some advice on how to fix it.

c ++ – Unable to add the .so file to Android Studio 3.5.3 using jniLibs

I am trying to add an .so file to a new Android project. I am using Android Studio 3.5.3. I have done the recommended here and here; so I created folders (jniLibs / arm64-v8a, etc.) in src / main and added this to app / build.gradle:

sourceSets {
    main {
        jniLibs.srcDirs = ('src/main/jniLibs')
    }
}

I put the libhl.so present in / app / src / main / jniLibs / arm64-v8a (Yes, 64 bits should be fine). The project will compile well, but in execution it will show the following error in logcat:

02-17 10:25:31.719 3691-3691/com.example.bmdtest03 E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.bmdtest03, PID: 3691
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader(DexPathList((zip file "/data/app/com.example.bmdtest03-2/base.apk"),nativeLibraryDirectories=(/data/app/com.example.bmdtest03-2/lib/x86_64, /vendor/lib64, /system/lib64))) couldn't find "libhl.so"
        at java.lang.Runtime.loadLibrary(Runtime.java:366)
        at java.lang.System.loadLibrary(System.java:989)
        at com.example.bmdtest03.MainActivity.(MainActivity.java:14)
        at java.lang.reflect.Constructor.newInstance(Native Method)
        at java.lang.Class.newInstance(Class.java:1572)
        at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
        at android.app.ActivityThread.access$800(ActivityThread.java:144)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5221)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

conclusion: the file is there, the font is updated in build.gradle, what am I missing?

linux – Unable to reach the host with static ip and the gateway is vlan – Debian 10

I have been trying to get static ip to work in a Debian 10 installation. The server must operate on a VLAN separate from any other network.
The router configuration:

IP: 192.168.2.1
Netmask: 255.255.255.0
DHCP range: 192.168.2.2 - 192.168.2.10

The following is what the VLAN is configured for:

VLAN IP: 192.168.0.1
Netmask: 255.255.255.0
DHCP range: 192.168.0.10 - 192.168.0.254

The static IP of the server is 192.168.0.2. The following is / etc / network / interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
#iface eth0 inet static 
#   address 192.168.0.2
#   netmask 255.255.255.0
#   gateway 192.168.0.1

The following is interfaces.d / eth0:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

#source /etc/network/interfaces.d/*

# The loopback network interface
#auto lo
#iface lo inet loopback

# The primary network interface
#auto eth0
#allow-hotplug eth0
iface eth0 inet static 
    address 192.168.0.2
    netmask 255.255.255.0
    gateway 192.168.0.1

I can ping domain names and IPs successfully with dhclient eth0, but you are using an IP that is in the dhcp range of the router.
ip route prior to dhclient eth0:

default via 192.168.0.1 dev eth0 onlink 
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2

ip route after dhclient eth0:

default via 192.168.0.1 dev eth0 onlink 
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2 
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.3

& # 39; ip to & # 39; departure before dhclient eth0

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:0b:db:be:9f:a5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::20b:dbff:febe:9fa5/64 scope link 
       valid_lft forever preferred_lft forever

I am not sure what to do. It seems that the gateway might be a problem since dhcp works, but changing it to the router's ip (outside the vlan) doesn't seem to work and doesn't work, no matter how many times you restart or restart networking demon. I would also like to add that it seems that the networking daemon does not detect changes in /etc/network/interfaces.d/eth0 when it restarts, so it seems that every change I make to test I have to restart, which is extremely annoying.

Unable to start ubuntu 16.04 from USB

I have an asus N501 (BIOS mode is UEFI) and installed ubuntu 14.04 about 3 years ago. After reinstalling my window, I decided to install ubuntu 16.04 instead of repairing the boot of the previous version.

Anyway, after using rufus and making a bootable usb and trying to boot into ubuntu, the system stopped at the ubuntu logo and didn't go further, I checked the usb on new and old computers and ubuntu worked without problems, even I updated my BIOS since it was a 5-year version but nothing changed. I decided to verify ubuntu 18.04, ubuntu 14.04 and lubuntu 16 but they have the same problem (14.04 worked once but the result was not repeated) I downloaded and used an earlier version of rufus and surprisingly managed to boot into ubuntu 16.04 and installed it but after that time I could not start the version installed on the system and I also had the same problem when I tried to start from the USB drive. I have tried the process many times and nothing worked.

I also downloaded YUMI as an alternative to rufus (the UEFI version) but the USB was not even recognized in the boot menu) and used two other softwares that did not work properly.

Does anyone have a suggestion for my problem or can you recommend a good alternative for rufus or yumi?

Thank you 🙂

Unable to transmit says I am not horizontal when the screen is locked horizontally

I need help The streaming site says that I am not horizontal when I am locked in horizontal does not allow me to transmit I am on a tablet I cleaned everything worked fine 12 hours ago

Unable to uninstall SQL Server 2012

I am the help desk of a smol company. I am not so skilled at these things and I need to uninstall and reinstall SQL 2012. I researched a lot but it seems that it will affect the other sql servers on our machine. Can you give me some advice? The error I cannot avoid "The managed SQL Server installer has stopped working" as the title and the text box that says "A problem caused the program to stop working properly. Windows will close the program and notify you if there is a solution available. "With the options of" debug "and" close program "The machine is a virtualized Windows 7 box. Virtualized in vmware. This machine is used to QA our software in the company. Help me guys, my brain hurts and I don't want to delete the registry keys that could affect the rest of my SQL servers, like 2014 and 2017

Google Analytics: Unable to track click events with GA / GTM, visits are doubled

I am working on a website that I did not build, which already has Google Analytics, but not the standard analytics.js function. This is what I mean:

(function(i,s,o,g,r,a,m){i('GoogleAnalyticsObject')=r;i(r)=i(r)||function(){
(i(r).q=i(r).q||()).push(arguments)},i(r).l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)(0);a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXXXXX-X', 'auto');
ga('send', 'pageview');

Instead, what I found on the website is this fragment of GTM in the section:

(function(w,d,s,l,i){w(l)=w(l)||();w(l).push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)(0),
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXX');

And this at the end of the :

I suspect that duplicate page views are due to coexisting analytics.js and GTM fragments, but when I try to track click events using the onclick method and only the fragment of GTM, I get Uncaught ReferenceError: ga is not defined in the browser console. For reference, this is what I am using:
onclick="ga('send', 'event', 'CATEGORY', 'ACTION', 'LABEL')".

I also tried to log in when the items in question were clicked, which worked.

I have installed the Chrome GA debugger extension and when I click on the item, it is registered Command ignored. Unknown target: undefined.

I think my question comes down to: How do I track click events with GA and GTM running at the same time? I have used this GA method before and it has worked, but I have never used GTM fragments and I have not removed it from this site to avoid breaking any other tracking, since I am not familiar with how it works in relation to GEORGIA.

Unable to update from 17.10 to 18.10, check your Internet connection

I want to update from 17.10 to 18.10. I run ALT F2 and then update-manager -c and then this error appears: & # 39; the repository information could not be obtained. Verify your Internet connection & # 39; Internet connection is fine.
I have seen several other questions like this one in the forum and elsewhere, but there is no solution.
Thanks a lot.