andyrichardson / atom-updater-linux

Be notified of updates to Atom and install without leaving the editor.
https://atom.io/packages/atom-updater-linux
MIT License
5 stars 1 forks source link

Update Failed #12

Closed Manuestaire closed 6 years ago

Manuestaire commented 6 years ago

Issue Description

Updating from Atom Failed, got to download the file but could not install it

Steps to reproduce

Running Update on Linux Mint

Actual result

Got the following error:

Something went wrong while attempting to update atom
Hide Stack Trace
Error: Command failed: SHELL=/bin/bash pkexec rpm -U /tmp/atom-updater-linux.installer
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Dependencias fallidas:
    lsb-core-noarch se necesita por atom-1.28.1-0.1.x86_64
    libXss.so.1()(64bit) se necesita por atom-1.28.1-0.1.x86_64
    libsecret-1.so.0()(64bit) se necesita por `atom-1.28.1-0.1.x86_64

Additional info

Atom version: 1.27.2 x64

Package version: 1.2.2

Operating System: Mint 17.2

andyrichardson commented 6 years ago

Hi @Manuestaire thanks for the report.

You're using a Debian based OS and for some unusal reason it looks as though you have rpm installed.

If you navigate to the package settings, you can manually specify that you want to install the Debian package version.

I'm going to close the issue but feel free to reopen if your problem persists.

Manuestaire commented 6 years ago

Thank you, that solved the issue

(btw I hope this response doesn't reopen the issue :S)

andyrichardson commented 6 years ago

To prevent others encountering this issue, I've made some changes to the way in which the OS (and therefore primary package manager) is detected - #20.