lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.56k stars 414 forks source link

dpkg install of 0.35.0-6875 fails #2740

Closed granitepenguin closed 5 years ago

granitepenguin commented 5 years ago

Debian 10 64bit install of 0.35.0-6875 fails

root@mojojojo:~# dpkg -i /home/drock/Downloads/LBRY_0.35.0.deb 
Selecting previously unselected package lbry.
(Reading database ... 366980 files and directories currently installed.)
Preparing to unpack .../Downloads/LBRY_0.35.0.deb ...
Unpacking lbry (0.35.0-6875) ...
Setting up lbry (0.35.0-6875) ...
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

version LBRY_0.34.2.deb works fine

granitepenguin commented 5 years ago

restarted 0.35 and it came up and prompted to update. clicked update and was told it's already installed by the package manager, so reinstalled.

After reinstallation, started lbry up again and it appears to be working and not prompting to upgrade again.

tzarebczan commented 5 years ago

Glad to hear it worked and sorry about the trouble. Looks like it had some issues with a local file while installing - might be related to your machine. Closing for now and will confirm it works on Linux.

granitepenguin commented 5 years ago

yeah, it's a newly-built debian 10 box. This is more for reference than anything, especially since I didn't see it with 0.34.2. The update was bumpy and even clearing everything out and installing 0.35 by itself, I was still getting the conflict. Ultimately, it's working regardless, but something to be aware of.

Thanks!

tzarebczan commented 5 years ago

Thanks for the info! Can we send you some appreciation for the report and trouble?

Also, can you clarify that you started 0.35 after this error and it prompted to update again?

tzarebczan commented 5 years ago

Ah, maybe you were missing sudo in the dkpg command? Try that?

tzarebczan commented 5 years ago

Seemed to work fine for me on Ubuntu:

tom@tom-VirtualBox:~/Downloads$ sudo dpkg -i LBRY_0.35.0.deb 
[sudo] password for tom: 
(Reading database ... 188416 files and directories currently installed.)
Preparing to unpack LBRY_0.35.0.deb ...
Unpacking lbry (0.35.0-6875) over (0.34.1-rc.2) ...
Setting up lbry (0.35.0-6875) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
granitepenguin commented 5 years ago

Thanks for the appreciation link. Not at all necessary, but it's appreciated. :-)

sudo isn't the issue, I was root at the time root@mojojojo:~# dpkg -i /home/drock/Downloads/LBRY_0.35.0.deb

When I have a spare moment, I'll try to track down where /usr/share/applications/screensavers/glitchpeg.desktop comes from (i.e., what .deb provides it) and see if maybe there's a corruption there of some kind.

granitepenguin commented 5 years ago

looks like xscreensaver-data-extra

root@mojojojo:~# dpkg -S /usr/share/applications/screensavers/glitchpeg.desktop
xscreensaver-data-extra: /usr/share/applications/screensavers/glitchpeg.desktop

forcing a reinstall of it to see if that cleans anything up

root@mojojojo:~# aptitude reinstall xscreensaver-data-extra
The following packages will be REINSTALLED:
  xscreensaver-data-extra 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 41 not upgraded.
Need to get 1,335 kB of archives. After unpacking 0 B will be used.
Get: 1 http://deb.debian.org/debian buster/main amd64 xscreensaver-data-extra amd64 5.42+dfsg1-1 [1,335 kB]
Fetched 1,335 kB in 0s (5,432 kB/s)           
(Reading database ... 367151 files and directories currently installed.)
Preparing to unpack .../xscreensaver-data-extra_5.42+dfsg1-1_amd64.deb ...
Unpacking xscreensaver-data-extra (5.42+dfsg1-1) over (5.42+dfsg1-1) ...
Setting up xscreensaver-data-extra (5.42+dfsg1-1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...

That didn't help

root@mojojojo:~# dpkg -r lbry 
(Reading database ... 367150 files and directories currently installed.)
Removing lbry (0.35.0-6875) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
root@mojojojo:~# dpkg -i /home/drock/Downloads/LBRY_0.35.0.deb 
Selecting previously unselected package lbry.
(Reading database ... 366980 files and directories currently installed.)
Preparing to unpack .../Downloads/LBRY_0.35.0.deb ...
Unpacking lbry (0.35.0-6875) ...
Setting up lbry (0.35.0-6875) ...
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

Also noticed that 0.35.1 is being mentioned when I start up, but picking Upgrade is just closing LBRY and not starting the install. It also isn't showing up as in the location it says it should be:

root@mojojojo:/tmp/qpchWh# dpkg -i /tmp/4p9m8h/LBRY_0.35.1.deb
dpkg: error: cannot access archive '/tmp/4p9m8h/LBRY_0.35.1.deb': No such file or directory

manually downloaded it and tried installing. Got the same error

root@mojojojo:~# dpkg -i /home/drock/Downloads/LBRY_0.35.1.deb 
(Reading database ... 367151 files and directories currently installed.)
Preparing to unpack .../Downloads/LBRY_0.35.1.deb ...
Unpacking lbry (0.35.1-6882) over (0.35.0-6875) ...
Setting up lbry (0.35.1-6882) ...
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

but like before, it's starting up ok.