What is "no entry for app..." error in flatpak? - flatpak

I installed elementary OS. I was trying to download apps with flatpak. I downloaded flatpakref files into "~/Downloads/flatpak/" directory. Then i wrote sudo flatpak install com.discordapp.Discord.flatpakref.
I got an error like this
error: No entry for app/com.discordapp.Discord/x86_64/stable in remote 'freedesktop' summary flatpak cache
Then i thought that the discord package is broken. I tried with Atom text editor.
Then i got this error
error: No entry for app/io.atom.Atom/x86_64/stable in remote 'freedesktop' summary flatpak cache.
I searched about the error but i couldn't find anything. What is this error and how can i fix this?

Related

Have someone install "IITB Simplecpp in mac"?

I am trying to install simplecpp from this website "https://www.cse.iitb.ac.in/~ranade/simplecpp/"
I am following the mac version.
but when I try to cp file "/usr/include/xlocale.h ./" it gives an error "cp: /usr/include/xlocale.h: No such file or directory"
Please, someone, install and tells me if I am doing wrong or there is an error with the commands given in the website.
Run locate xlocale.h to find where that file exists on your machine, and copy it from one of those locations. For example on some Macs it is in /Library/Developer/CommandLineTools/SDKs/usr/include/xlocale.h if you have XCode and its "Command Line Tools" installed.

Google certificate-transparency build error: `configure: error: cannot find install-sh, install.sh, or shtool`

I got this error from the gclient sync --disable-syntax-validation command while building Google's certificate-transparency:
configure: error: cannot find install-sh, install.sh, or shtool
in spite of the fact that shtool was in fact installed.
Although I did have shtool installed, I must have installed it after I had run the configuration command (gclient config --name="certificate-transparency" https://github.com/google/certificate-transparency.git).
I deleted the ct directory (i.e. all the source code downloaded from github), reran the config command and gclient sync --disable-syntax-validation and this time did not experience the error.

Windows10/Windows8.1: getting Empty error message while running XBootmgr

I manually copied WPT folder from a file server onto my Windows10 test machine and ran below XBootmgr command:
"Xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -numRuns 1 -resultPath d:\tempetl"
Note: copied WPT folder at location "C:\WPT" and I have manually created "D:\tempetl"
But it is not running and giving small error pop-up which doesn't contain any error message. Getting same issue on another Windows8.1 machine.
I thought there is some issue with the switches I have used, so I tried simple command:
"Xbootmgr -trace shutdown -noPrepReboot"
But faced same issue.
Can anybody help me to resolve this issue?
Thanks in Advance!
Manually copy-pasting the WPT folder won't work. You need to install WPT using an MSI file (WPTx64-x86_en-us.msi).
On a Windows PC which has WPT installed on it, you can find this file in
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\Redistributables
You can also install WPT as part of Windows Assessment and Deployment Kit (ADK) from https://www.microsoft.com/en-US/download/details.aspx?id=39982
Also, once you install WPT, you need to restart the computer once before you can start using the WPT commands for xbootmgr and xperf from an elevated command line window.

shiny (Rstudio) package for R - no able to install on Mavericks

I am about to begin a project with Shiny (by RStudio). When I try to install the shiny package using the console install.packages("shiny"), I get the following error message:
trying URL 'http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.1/shiny_0.10.1.tgz'
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL'http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.1/shiny_0.10.1.tgz'
Warning in install.packages :
download of package ‘shiny’ failed
I have tried to install it from the drop down menu in RStudio but have encountered the same problem. Any thoughts as to what is going on?
I am working on Mac, with the latest version of Mavericks (R version is 3.1.1).
Thanks,
Brian
Try a different CRAN mirror. The error indicates that the file was not found on the CRAN server
chooseCRANmirror()
shiny has just been updated 2014-10-01 so the changes may not have propagated down to all mirrors yet.

Mac/Django error message: "/mercurial/osutil.so: no appropriate 64-bit architecture"

I'm new to Macs (and quite new to Django) and I'm setting up an existing Django/MySQL site that uses Mercurial as a site package, on a new Macbook Pro.
All was going well during installation - no error messages. I installed the default versions of most packages from macports.
However when I try runserver, localhost shows the following error message:
ImportError at /
.../lib/python2.6/site-packages/mercurial/osutil.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
Please could anyone advise? I've tried typing the following at the terminal:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
but it didn't help.
I've gotten a similar error and a combination of two things helped me install Mercurial for OS X Lion. I'm running OS X 10.7.3.
First, there is a bug on line 455 of the setup.py script (at least for Mercurial 2.2.1, the version I tried). The line
version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines()
should be replaced with
version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0]
Second, after I installed Mercurial (either by easy_install, Mac OS X binary installer, and compilation), I kept getting the following error message:
ImportError: dlopen(/Library/Python/2.7/site-packages/mercurial/osutil.so, 2): no suitable image found. Did find: /Library/Python/2.7/site-packages/mercurial/osutil.so: mach-o, but wrong architecture
However, after seeing this post, I noticed that
defaults read com.apple.versioner.python Prefer-32-Bit
outputs 1 on my system. However, running this command
defaults write com.apple.versioner.python Prefer-32-Bit -bool no
and then recompiling / installing mercurial resulted in a working executable for me at the end.
If everything from my comment checks out, try setting that Prefer-32-bit in an user environment variable instead of at the command line.
Edit this file: ~/.MacOSX/environment.plist
See:
http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-113982