LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-06-2021, 05:54 AM   #1
abejarano
Member
 
Registered: May 2006
Posts: 67

Rep: Reputation: 15
Spectacle Snap Error: corrupted file


Thank you,

Snap installs Spectacle without error but running Spectacle; it stops at a corrupted file. When I tried to remove the file Rm failed to do it saying

rm: cannot remove '/snap/spectacle/136/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5': Read-only file syste".

When Spectacle failed it reported

spectacle: symbol lookup error: /snap/spectacle/136/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5: undefined symbol: _ZN9KLineEdit16returnKeyPressedERK7QString"

I am doing a bad block check and that could fix the problem. But what if there is no bad block(s) in the file's drive space? How do I get past the read only attribute? Chattr says

chattr: Operation not supported while reading flags on /snap/spectacle/136/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5

So how to proceed if there is no bad block there? Forum suggestions at snapcraft.io were ineffectual. I don't want to remove all my snaps and other suggestions must have been outdated by upgrades.
 
Old 09-06-2021, 06:51 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,981

Rep: Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734Reputation: 5734
do not try to go into /snap/<whatever> and fix the "content". That won't work (as you see).
Either the snap you downloaded is corrupted (or incorrect) or just incompatible with your OS. Or probably you have a hardware related error.
 
Old 09-07-2021, 08:55 AM   #3
abejarano
Member
 
Registered: May 2006
Posts: 67

Original Poster
Rep: Reputation: 15
So if there is a bad block in the NVME there is no way to fix the problem?
 
Old 09-07-2021, 11:02 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 2,657

Rep: Reputation: Disabled
Are you sure there's really a bad block at play? What was the result of your bad block check? Have you tried to just remove the snap in question?
Code:
snap remove --purge spectacle
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Enable Snap And Install Snap Packages On Linux Mint 20? LXer Syndicated Linux News 1 06-13-2020 05:09 PM
LXer: A hands-on look at SparkFun's new Spectacle kit LXer Syndicated Linux News 0 07-20-2017 09:11 PM
KDE spin - spectacle? Timothy Miller Fedora 4 02-23-2016 10:12 PM
LXer: KDE Applications 15.12 Launches for KDE Plasma 5.5 with Spectacle Screenshot Tool LXer Syndicated Linux News 0 12-16-2015 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration