[opensuse] not finding atom after installing it
Hi, I installed Atom from its .rpm file(https://atom.io/). After installing it not able to find out it in search application, if i type `at`, `ato` etc. What went wrong ? -- ================ Regards, Arup Rakshit ================ Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian Kernighan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/07/2015 08:34, Arup Rakshit a écrit :
Hi,
I installed Atom from its .rpm file(https://atom.io/). After installing it not able to find out it in search application, if i type `at`, `ato` etc. What went wrong ?
for me, downloading atom rpm then as root zypper in atom.x86_64.rpm installed atom and I can run it as root or as user by typing "atom" jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday, July 26, 2015 08:46:18 AM jdd wrote:
Le 26/07/2015 08:34, Arup Rakshit a écrit :
Hi,
I installed Atom from its .rpm file(https://atom.io/). After installing it not able to find out it in search application, if i type `at`, `ato` etc. What went wrong ?
for me, downloading atom rpm then as root
zypper in atom.x86_64.rpm
installed atom and I can run it as root or as user by typing "atom"
jdd
I am getting error : linux-wzza:/home/arup # ls | grep atom.x86_64.rpm atom.x86_64.rpm linux-wzza:/home/arup # zypper in atom.x86_64.rpm Loading repository data... Reading installed packages... '_tmpRPMcache_:atom=0:1.0.2-0.1.fc21' not found in package names. Trying capabilities. No provider of 'atom = 0:1.0.2-0.1.fc21' found. Resolving package dependencies... Nothing to do. linux-wzza:/home/arup # -- ================ Regards, Arup Rakshit ================ Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian Kernighan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/07/2015 08:14, Arup Rakshit a écrit :
I am getting error :
linux-wzza:/home/arup # ls | grep atom.x86_64.rpm atom.x86_64.rpm linux-wzza:/home/arup # zypper in atom.x86_64.rpm Loading repository data... Reading installed packages... '_tmpRPMcache_:atom=0:1.0.2-0.1.fc21' not found in package names. Trying capabilities. No provider of 'atom = 0:1.0.2-0.1.fc21' found. Resolving package dependencies...
Nothing to do. linux-wzza:/home/arup #
no idea... I only did zypper in at [tab completion] an no error did you do an zypper up before? That said I install lot of software, and I may have already installed something I don't know (13.2 64 bits) may be try with rpm? jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday, July 26, 2015 10:05:45 AM jdd wrote:
Le 26/07/2015 08:14, Arup Rakshit a écrit :
I am getting error :
linux-wzza:/home/arup # ls | grep atom.x86_64.rpm atom.x86_64.rpm linux-wzza:/home/arup # zypper in atom.x86_64.rpm Loading repository data... Reading installed packages... '_tmpRPMcache_:atom=0:1.0.2-0.1.fc21' not found in package names. Trying capabilities. No provider of 'atom = 0:1.0.2-0.1.fc21' found. Resolving package dependencies...
Nothing to do. linux-wzza:/home/arup #
no idea... I only did zypper in at [tab completion] an no error
did you do an zypper up before?
That said I install lot of software, and I may have already installed something I don't know (13.2 64 bits)
may be try with rpm?
jdd
What is the rpm command to install this. I tried with `zypper` only. -- ================ Regards, Arup Rakshit ================ Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian Kernighan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/26/2015 03:41 AM, Arup Rakshit wrote:
What is the rpm command to install this. I tried with `zypper` only.
RTFM says INSTALLING, UPGRADING, AND REMOVING PACKAGES: rpm {-i|--install} [install-options] PACKAGE_FILE ... -- A little inaccuracy can save tons of explanation. -- Saki -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 25 Jul 2015 23:34:10 -0700 (PDT) Arup Rakshit wrote:
Hi,
I installed Atom from its .rpm file(https://atom.io/). After installing it not able to find out it in search application, if i type `at`, `ato` etc. What went wrong ?
Hi Arup, I had no difficulties: # zypper refresh 8< - - - - - trimmed - - - - - >8 All repositories have been refreshed. # zypper se atom Loading repository data... Reading installed packages... 8< - - - - - trimmed - - - - - >8 --> no package named 'atom' found --> only packages listed contained string 'atom', i.e. xlsatoms If a package is available within the distribution or repositories I've associated with my installation, my obvious preference is to use that package in lieu of a 'foreign' package. In this case, I retrieved the file atom.x86_64.rpm from the website, as you did, then # rpm -Uhv atom.x86_64.rpm --test Preparing... ################################# [100%] '-U' upgrade if already installed, otherwise install '#' print hash marks progress bar 'v' be verbose '--test' a 'dry run,' i.e. make no actual changes and check for errors It looks like a 'clean' installation would result with 'rpm' but I prefer to use zypper these days: # zypper in atom.x86_64.rpm Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: atom 1 new package to install. 8< - - - - - trimmed - - - - - >8 --> The installation proceeded with no errors (oSs 13.2 64 bit KDE4) --> Atom was found under Menu > Applications > Utilities > Editors --> it launched with no errors and looks worthwhile investigating further :-) hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday, July 26, 2015 01:44:53 PM Carl Hartung wrote:
On Sat, 25 Jul 2015 23:34:10 -0700 (PDT) Arup Rakshit wrote: The following NEW package is going to be installed: atom
1 new package to install. 8< - - - - - trimmed - - - - - >8 --> The installation proceeded with no errors (oSs 13.2 64 bit KDE4) --> Atom was found under Menu > Applications > Utilities > Editors --> it launched with no errors and looks worthwhile investigating further :-)
hth & regards,
Carl
Getting the same error: [arup@~]$ rpm -Uhv atom.x86_64.rpm error: Failed dependencies: lsb-core-noarch is needed by atom-1.0.2-0.1.fc21.x86_64 [arup@~]$ :( -- ================ Regards, Arup Rakshit ================ Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian Kernighan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 26 Jul 2015 19:54:05 +0630 Arup Rakshit wrote: 8< - - - - - trimmed - - - - - >8
Getting the same error:
[arup@~]$ rpm -Uhv atom.x86_64.rpm error: Failed dependencies: lsb-core-noarch is needed by atom-1.0.2-0.1.fc21.x86_64 [arup@~]$
:(
rpm -q --whatprovides lsb-core-noarch lsb-4.0-26.1.2.x86_64 So you're missing the Linux Standard Base Core, openSUSE package 'lsb' hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 26 Jul 2015 19:54:05 +0630 Arup Rakshit wrote: 8< - - - - - trimmed - - - - - >8
Getting the same error:
[arup@~]$ rpm -Uhv atom.x86_64.rpm error: Failed dependencies: lsb-core-noarch is needed by atom-1.0.2-0.1.fc21.x86_64 [arup@~]$
:(
'zypper in atom.x86_64.rpm' would normally have automatically identified and fulfilled the lsb package dependency. This statement assumes that lsb is available in your active repositories. This automatic fulfillment of dependencies is precisely why I prefer zypper over rpm. In the situation you presented ('foreign' package,) using rpm with the '-Uhv' & '--test' arguments provides a convenient 'sanity check' that is faster because no interactions with the repositories are initiated regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/07/2015 17:19, Carl Hartung a écrit :
automatic fulfillment of dependencies is precisely why I prefer zypper
yes, but zypper fails on this particular case (see first mail) I guess you can install (or reinstall) lsb-core-noarch with yast jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 26 Jul 2015 17:29:14 +0200 jdd jdd wrote:
Le 26/07/2015 17:19, Carl Hartung a écrit :
automatic fulfillment of dependencies is precisely why I prefer zypper
yes, but zypper fails on this particular case (see first mail)
I guess you can install (or reinstall) lsb-core-noarch with yast
jdd
I don't believe zypper failed at all. I believe Arup /thought/ he'd installed Atom but was mistaken. That package -- unless forced = bad! -- wouldn't have installed without lsb already being in place or unless it was being installed concurrently. This would be true using zypper or rpm, since zypper uses rpm -- the actual package management engine -- in the background. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/07/2015 18:02, Carl Hartung a écrit :
I don't believe zypper failed at all. I believe Arup /thought/ he'd installed Atom but was mistaken.
zypper couldn't install atom and so didn't install any dependency. Installing the dependency wont help zypper but may help rpm sometime a tools gives better infos on why it fails than an other the error messages are often cryptics I just (for a bad reason I discovered in the mean time) tried to compile picwiz, I I got messages like ./configure do not find lz that fills the web of people asking why, and visibly there are many reasons. I'm glad I do not need it finally jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 26 Jul 2015 18:11:42 +0200 jdd jdd wrote:
zypper couldn't install atom and so didn't install any dependency.
Agreed, but something else not described in Arup's original posts was responsible: On Sun, 26 Jul 2015 12:44:43 +0630 Arup Rakshit wrote:
linux-wzza:/home/arup # zypper in atom.x86_64.rpm Loading repository data... Reading installed packages... '_tmpRPMcache_:atom=0:1.0.2-0.1.fc21' not found in package names. Trying capabilities. No provider of 'atom = 0:1.0.2-0.1.fc21' found.
The package names echoed back in zypper's "package not found" and "no provider" error messages do not make sense: "_tmpRPMcache_:atom=0:1.0.2-0.1.fc21" "atom = 0:1.0.2-0.1.fc21"
Resolving package dependencies...
Nothing to do.
It seems zypper wasn't even looking for "atom." Since it found no provider for these strange things it was looking for, it did nothing.
Installing the dependency wont help zypper but may help rpm
You failed to grasp my earlier point. 'rpm' is the package management engine that is used both by zypper and YaST in the background. Hypothetical example: If you have _one_ dependency for a package, and, if that dependency is _not_ already installed, there are basically three paths you can take to install your package: a. Install the package with YaST. It's dependency will be automatically selected and presented for concurrent installation. b. Install the package with zypper. It's dependency will be automatically selected and presented for concurrent installation. c. Pre-install the dependency using rpm, zypper or YaST (this is silly) but you will then be able to install the package using either rpm, zypper or YaST since, in all three cases, the dependency has already been met. hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/07/2015 19:35, Carl Hartung a écrit :
You failed to grasp my earlier point. 'rpm' is the package management engine that is used both by zypper and YaST in the background.
yes, but zypper do not pass all the error messages (t least not on screen)
b. Install the package with zypper. It's dependency will be automatically selected and presented for concurrent installation.
only if the package is in openSUSE repositories I already had to install rpm by myself (and not only once), specially when original rpm is built for Fedora, for example (as the fc in the name suggest) but of course, no 64b packages on 32 bit machine :-)) funny than neither zypper nor rpm did notice the error jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 26 Jul 2015 19:54:40 +0200 jdd jdd wrote:
Le 26/07/2015 19:35, Carl Hartung a écrit :
You failed to grasp my earlier point. 'rpm' is the package management engine that is used both by zypper and YaST in the background.
yes, but zypper do not pass all the error messages (t least not on screen)
You wrote "Installing the dependency wont help zypper but may help rpm" which is not correct. This was the point of my example.
b. Install the package with zypper. It's dependency will be automatically selected and presented for concurrent installation.
only if the package is in openSUSE repositories
understood ... or available in a related repository that is active for the installation (Packman, nVidia, etc. etc.) ...
but of course, no 64b packages on 32 bit machine :-)) funny than neither zypper nor rpm did notice the error
The OP quoted only excerpts so we didn't see everything. regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Jul 27, 2015 at 12:07 AM, Carl Hartung <opensuse@cehartung.com> wrote:
On Sun, 26 Jul 2015 19:54:40 +0200 jdd jdd wrote:
Le 26/07/2015 19:35, Carl Hartung a écrit :
You failed to grasp my earlier point. 'rpm' is the package management engine that is used both by zypper and YaST in the background.
yes, but zypper do not pass all the error messages (t least not on screen)
You wrote "Installing the dependency wont help zypper but may help rpm" which is not correct. This was the point of my example.
b. Install the package with zypper. It's dependency will be automatically selected and presented for concurrent installation.
only if the package is in openSUSE repositories
understood ... or available in a related repository that is active for the installation (Packman, nVidia, etc. etc.)
...
but of course, no 64b packages on 32 bit machine :-)) funny than neither zypper nor rpm did notice the error
The OP quoted only excerpts so we didn't see everything.
regards,
Carl
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Sorry everyone. I just overlooked that I was trying to 64bit Atom rpn file. From there link https://atom.io/ I am not seeing any source for 32 bit, so it seems not possible in my current environment. Thanks to all of you for all kind of explanations. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 26 Jul 2015 20:56, Arup Rakshit wrote:
On Mon, Jul 27, 2015 at 12:07 AM, Carl Hartung wrote:
On Sun, 26 Jul 2015 19:54:40 +0200 jdd wrote:
Le 26/07/2015 19:35, Carl Hartung a écrit :
You failed to grasp my earlier point. 'rpm' is the package management engine that is used both by zypper and YaST in the background.
yes, but zypper do not pass all the error messages (t least not on screen)
You wrote "Installing the dependency wont help zypper but may help rpm" which is not correct. This was the point of my example.
b. Install the package with zypper. It's dependency will be automatically selected and presented for concurrent installation.
only if the package is in openSUSE repositories
understood ... or available in a related repository that is active for the installation (Packman, nVidia, etc. etc.)
...
but of course, no 64b packages on 32 bit machine :-)) funny than neither zypper nor rpm did notice the error
The OP quoted only excerpts so we didn't see everything.
Sorry everyone. I just overlooked that I was trying to 64bit Atom rpn file. From there link https://atom.io/ I am not seeing any source for 32 bit, so it seems not possible in my current environment.
Thanks to all of you for all kind of explanations.
Sorry, but this is a clear case of READ FULLY, and CAREFULLY. => https://atom.io/faq (excerpt): ... What platforms does Atom run on? Prebuilt versions of Atom are available for OS X 10.8 or later, Windows 7 & 8, RedHat Linux, and Ubuntu Linux. If you would like to build from source on Windows, Linux, or OS X, see the Atom README for more information. ... => https://github.com/atom/atom (excerpt, README.md): ... Red Hat Linux (Fedora 21 and under, CentOS, Red Hat) Currently only a 64-bit version is available. Download atom.x86_64.rpm from the Atom releases page. Run sudo yum localinstall atom.x86_64.rpm on the downloaded package. Launch Atom using the installed atom command. The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases. Fedora 22+ Currently only a 64-bit version is available. Download atom.x86_64.rpm from the Atom releases page. Run sudo dnf install atom.x86_64.rpm on the downloaded package. Launch Atom using the installed atom command. The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases. ... In short: - There is no 32bit prebuild package (same on Debian). - The RPM is build for Redhat Fedora, not for openSUSE. - You want a openSUSE 64 or 32 bit version, build it yourself. Installing Fedora packages on openSUSE is seldom a working way. Have a nice sunday evening, - Yamaban. --
participants (5)
-
Anton Aylward
-
Arup Rakshit
-
Carl Hartung
-
jdd
-
Yamaban