Kali Linux package installation error

I installed anonsurf on Kali Linux in VMware and now i can’t use apt-get install and i can’t uninstall it or stop it i don’t know why i can’t even remove any package.
this is the error when trying to install beef-xss for example:

You might want to run ‘apt –fix-broken install’ to correct these.
The following packages have unmet dependencies:
beef : Depends: libcattle-1.0-0 (>= 1.2.0) but it is not going to be installed
kali-anonsurf : Depends: i2p but it is not going to be installed
Recommends: gtkdialog but it is not installable
Recommends: gufw but it is not going to be installed
E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution).

i tried the following:
apt-get remove anonsurf (unable to locate package)

rm -rf anonsurf (it worked and i the directory is deleted but anonsurf still works)

anonsurf stop

anonsurf stopi2p

  • stopping I2P services
    sudo: unknown user: i2psvc
    sudo: unable to initialize policy plugin

how to fix it
Thanks in Advance.

Kafka source code on github and from the apache website is missing the “org.apache.kafka.common.message.” package? [closed]

I tried downloading the source code of Kafka from Github as well as from Apache’s website. I found that both the sources were missing the “org.apache.kafka.common.message.” package. Can anybody kindly let me know why this might be the case.

Kindly note that I had downloaded the source of “AK RELEASE 2.5.0” from Apache’s website. Similarly I used “trunk” branch from the current github repository for kafka.

tracking in odi the package which uses a given mapping

I am trying to find the whole lineage and loading process of a certain table column. To begin with i am locating the mapping used to populate the column. To do this i use:

select     m.name mapping_name,     mr.qualified_name,     mc.name datastore_alias,     t.table_name target_table,     mdl.cod_mod model_code from snp_mapping m inner join snp_map_comp mc on m.i_mapping = mc.i_owner_mapping     inner join snp_map_cp cp on mc.i_map_comp = cp.i_owner_map_comp     inner join snp_map_ref mr on mc.i_map_ref = mr.i_map_ref     inner join snp_table t on mr.i_ref_id = t.i_table     inner join snp_model mdl on t.i_mod = mdl.i_mod where cp.direction = 'O' and --output connection point     cp.i_map_cp not in         (select i_start_map_cp from snp_map_conn) --not a starting connection point; 

which works very nice. (Thread found here : https://stackoverflow.com/questions/60566000/odi-column-lineage-query/60566807#60566807).

Now i need to find the package which uses this mapping, so that i will be able to investigate the whole loading process. So the question is: is there a query which can return the packages that use the mapping defined?. I did find an SNP_PACKAGES table but i am not sure if i can get anything from there.

[ Politics ] Open Question : Pelosi wanted to sneak in a billion dollars in funding for abortion programs through the coronavirus stimulus package. Can you believe it?

Never let a crisis go to waste, who cares about the Coronavirus when you can push through liberal ideas in a spending bill.

Package of websites and some large Facebook pages

I will either sell these all as a package (which is what I prefer) or one at a time but the price will be higher one at a time. I have one FB page that is car for sale related that has about 100k followers, one that is a dating page that has 26k followers, one that is business investment related with 56k followers, and a maxbounty affiliate one that is active with 7800 plus the sites.

I dont really use the sites a whole lot. They are really just to drive offers to but I have seven sites…

Package of websites and some large Facebook pages

Unable to locate package openvas – Kali Linux

I’ve been trying to install OpenVas on my Kali Linux

I have no luck.

I tried to Google, I found this link

Fix “Unable to locate package” error in Kali Linux.

I open that sources.list, and add these as suggested.

deb http://http.kali.org/kali kali-rolling main contrib non-free # For source package access, uncomment the following line # deb-src http://http.kali.org/kali kali-rolling main contrib non-free deb http://http.kali.org/kali sana main non-free contrib deb http://security.kali.org/kali-security sana/updates main contrib non-free # For source package access, uncomment the following line # deb-src http://http.kali.org/kali sana main non-free contrib # deb-src http://security.kali.org/kali-security sana/updates main contrib non-free deb http://old.kali.org/kali moto main non-free contrib # For source package access, uncomment the following line # deb-src http://old.kali.org/kali moto main non-free contrib 

I ran the update, and see a lot of errors

root@kali:/etc/apt# apt-get update Err:1 http://old.kali.org/kali moto InRelease   503  Service Unavailable [IP: 54.39.49.227 80] Err:2 http://security.kali.org/kali-security sana/updates InRelease   503  Service Unavailable [IP: 192.99.200.113 80] Err:3 http://http.kali.org/kali kali-rolling InRelease                                                                         503  Service Unavailable [IP: 192.99.200.113 80]                                                                           Err:4 http://http.kali.org/kali sana InRelease                                                                                 503  Service Unavailable [IP: 192.99.200.113 80]                                                                           Reading package lists... Done                                                                                                W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  503  Service Unavailable [IP: 192.99.200.113 80]  W: Failed to fetch http://http.kali.org/kali/dists/sana/InRelease  503  Service Unavailable [IP: 192.99.200.113 80]          W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/InRelease  503  Service Unavailable [IP: 192.99.200.113 80]                                                                                                                 W: Failed to fetch http://old.kali.org/kali/dists/moto/InRelease  503  Service Unavailable [IP: 54.39.49.227 80]             W: Some index files failed to download. They have been ignored, or old ones used instead.                                    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17                                                                                                                     W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17                                                                                                                       W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17                                                                                                                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17                                                                                                                   W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:17 

Can someone please help ?

Download package to simplify Complex Conjugation

I want to use Needs to download QuickReIm package to simplify the Complex Conjugation, but I keep getting errors:

here is the Command:

Needs["QuickReIm`"] 

and here are the errors:

  Get::noopen: Cannot open QuickReIm`.   Needs::nocont: Context QuickReIm` was not created when Needs was    evaluated. 

Do you know the reason? Where can I find different packages and their uses?

Find which image has CVE package fixes

I have a handful of google container images that are flagging musl vulns.

Example: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.13

https://console.cloud.google.com/gcr/images/google-containers/GLOBAL/k8s-dns-kube-dns-amd64?gcrImageListsize=30 lists all available image versions.

How do I attempt to find which image has the fix? Since these are open source I’ve looked in https://github.com/kubernetes/dns. Specifically:

  • https://github.com/kubernetes/dns/blob/master/Dockerfile.kube-dns. Doesn’t seem to show any base image
  • https://github.com/kubernetes/dns/blob/master/Makefile Shows “BUILD_IMAGE ?= golang:1.11-alpine” but that image is quite old and isn’t even listed in https://github.com/docker-library/golang/tree/master where the latest is 1.13

Error trying to solve a 2D elasticity problem using FEM package

I have the following equations $ $ \frac{\partial{N_x}}{\partial{x}}+\frac{\partial{N_{xy}}}{\partial{y}}=0$ $ $ $ \frac{\partial{N_y}}{\partial{y}}+\frac{\partial{N_{xy}}}{\partial{x}}=0$ $ where \begin{equation} \begin{bmatrix}N_{x}\N_{y}\N_{xy}\end{bmatrix}=\begin{bmatrix}A_{11}(x)&A_{12}(x)&0\A_{12}(x)&A_{22}(x)&0\0&0&A_{66}\end{bmatrix}\begin{bmatrix}\frac{\partial{u}}{\partial{x}}\\frac{\partial{v}}{\partial{y}}\\frac{\partial{u}}{\partial{y}}+\frac{\partial{v}}{\partial{x}}\end{bmatrix}\end{equation} $ A_{ij}$ are varies only on $ x$ direction. The boundary conditions are shown bellow. I’m trying to apply the complete panel BCs.

99

Can someone help me to model this problem. I looked the FEM package, but I still can’t solved. Thank you in advance. I’m looking for solution to u(x,y) e v(x,y).

Follow my code:

E1 = 147 10^9; E2 = 10.3 10^9; G12 = 7 10^9; nu12 = 0.27; nu21 = (E2*nu12)/E1; t = 0.127 10^-3; a = 1; b = 1; u0 = -1;  Son = {{1/E1, -nu12/E1, 0}, {-nu21/E2, 1/E2, 0}, {0, 0, 1/G12}}; Qon = Inverse[Son]; angles = {{0, 45}, {0, -45}, {0, -45}, {0, 45}}; num = Dimensions[angles][[1]]; h = num*t; pos = Table[0, num + 1]; pos[[1]] = -h/2; For[i = 2, i <= num + 1, i++, pos[[i]] = pos[[i - 1]] + t;] mA = ConstantArray[0, {3, 3}]; mB = ConstantArray[0, {3, 3}]; mD = ConstantArray[0, {3, 3}];  For[i = 1, i <= num, i++, T0 = angles[[i, 1]] (pi/180); T1 = angles[[i, 2]] (pi/180); theta[x_] = (2/a) (T1 - T0) Abs[x] + T0; m = Cos[theta[x]]; n = Sin[theta[x]]; Q11 = Qon[[1, 1]]; Q12 = Qon[[1, 2]]; Q22 = Qon[[2, 2]]; Q66 = Qon[[3, 3]]; Qxx = m^4*Q11 + n^4*Q22 + 2*m^2*n^2*Q12 + 4*m^2*n^2*Q66; Qyy = n^4*Q11 + m^4*Q22 + 2*m^2*n^2*Q12 + 4*m^2*n^2*Q66; Qxy = m^2*n^2*Q11 + m^2*n^2*Q22 + (m^4 + n^4)*Q12 + -4*m^2*n^2*Q66; Qss = m^2*n^2*Q11 + m^2*n^2*Q22 - 2*m^2*n^2*Q12 + (m^2 - n^2)^2*Q66; Qxs = m^3*n*Q11 - m*n^3*Q22 + (m*n^3 - m^3*n)*Q12 + 2*(m*n^3 - m^3*n)*Q66; Qys = m*n^3*Q11 - m^3*n*Q22 + (m^3*n - m*n^3)*Q12 + 2*(m^3*n - m*n^3)*Q66; Qoff = {{Qxx, Qxy, Qxs}, {Qxy, Qyy, Qys}, {Qxs, Qys, Qss}}; mA = mA + Qoff*(pos[[i + 1]] - pos[[i]]); mB = mB + Qoff*(pos[[i + 1]]^2 - pos[[i]]^2); mD = mD + Qoff*(pos[[i + 1]]^3 - pos[[i]]^3); ]; mB = mB/2; mD = mD/3;  Needs["NDSolve`FEM`"] omega = Rectangle[{-a/2, -b/2}, {a, b}]; mesh = ToElementMesh[omega];  A11[x_] = mA[[1, 1]]; A12[x_] = mA[[1, 2]]; A16[x_] = mA[[1, 3]];  A22[x_] = mA[[2, 2]]; A26[x_] = mA[[2, 3]]; A66[x_] = mA[[3, 3]]; Nx[x_, y_] = A11[x] D[u[x, y], {x, 1}] + A12[x] D[v[x, y], {y, 1}] +               A16[x] (D[u[x, y], {y, 1}] + D[v[x, y], {x, 1}]); Ny[x_, y_] = A12[x] D[u[x, y], {x, 1}] + A22[x] D[v[x, y], {y, 1}] +               A26[x] (D[u[x, y], {y, 1}] + D[v[x, y], {x, 1}]); Nxy[x_, y_] = A16[x] D[u[x, y], {x, 1}] + A26[x] D[v[x, y], {y, 1}] +                A66[x] (D[u[x, y], {y, 1}] + D[v[x, y], {x, 1}]);  PDEs = {D[Nx[x, y], {x, 1}] + D[Nxy[x, y], {x, 1}], D[Ny[x, y], {y, 1}] +          Nxy[x, y], {y, 1}]}; gammaD = {DirichletCondition[u[x, y] == u0, x == a/2],            DirichletCondition[u[x, y] == -u0, x == -a/2]}; NDSolve[{PDEs == {0, 0}, gammaD}, {u,     v}, {x, y} \[Element] mesh]; 

I’m getting the following error:

NDSolve::femcnmd: The PDE coefficient {{0.000508 (-8.22842*10^11 Cos[Times[<<2>>]]^3 Sin[1.5708 Abs[<<1>>]] (Abs^\[Prime])[x]-4.04788*10^10 Cos[1.5708 Abs[<<1>>]] Sin[Times[<<2>>]]^3 (Abs^\[Prime])[x])+0.000254 (<<1>>)+<<1>>+1/2 (-0.001016 (-8.22842*10^11 Power[<<2>>] Sin[<<1>>] (<<1>>^(<<1>>))[<<1>>]-4.04788*10^10 Cos[<<1>>] Power[<<2>>] (<<1>>^(<<1>>))[<<1>>])-0.000508 (2.32093*10^11 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]-7.45065*10^11 Power[<<2>>] Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+1.62623*10^10 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+1.67953*10^10 Plus[<<3>>])-0.000508 (-2.32093*10^11 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+7.45065*10^11 Power[<<2>>] Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]-1.62623*10^10 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+1.67953*10^10 Plus[<<3>>])),<<1>>}} does not evaluate to a numeric matrix of dimensions {1,2} at the coordinate {-0.4625,-0.4625}; it evaluated to {{0.,5.79879*10^6 (Abs^\[Prime])[-0.4625]}} instead. 

Can someone help me? Thank you all in advance.