Comments (6)
Hi,
Thanks, and yes, it works with your kind suggestion. Sincere regards.
from apart-gtk.
I believe the issue is apart-core calls system lsblk -Jbo name,size,fstype,label,mountpoint,uuid
but it seems json output is not supported in the util-linux version that comes with centos 7.
Updating your util-linux should fix this.
I've raised #15 to add an appropriate version of util-linux to the app requirements. I'll also improve the error message.
from apart-gtk.
Hi,
Thanks for your kind response. If it is only related to a more recent version of lsblk
then can I specify an alternate location for the same? This would help me not to touch the util-linux that comes with CentOS 7.x, instead, I could get a statically-linked lsblk
from a more recent version of util-linux.
from apart-gtk.
Yes you can set env var APART_LSBLK_CMD
or add new lsblk to PATH
.
from apart-gtk.
Hi,
Thanks for your kind inputs. But somehow, setting APART_LSBLK_CMD
didn't work in my case (I tried with export APART_LSBLK_CMD=/usr/local/bin/lsblk
). The error msgs were continued to be displayed. The startup script for apart-gtk
couldn't find the custom-installed lsblk
at /usr/local/bin/
(once pkexec has been invoked).
My request is, would it be possible to have the non-standard paths defined for lsblk
(similar to what you have done in case of partclone
), say for example, in the apart-core-$APART_CORE_VERSION/src/lsblk.rs
script?
from apart-gtk.
Ah yes you are correct, pkexec does not inherit the env vars. Tbf the env vars are there for testing really.
I think you can still get it to work if you avoid pkexec, e.g. sudo APART_LSBLK_CMD=/usr/local/bin/lsblk apart-gtk
from apart-gtk.
Related Issues (15)
- Support Debian/Ubuntu HOT 1
- Persist history during run
- cannot restore HOT 8
- thread 'main' panicked HOT 2
- Deb package description contains <b></b> tags in title HOT 2
- Add util-linux version to requirements
- Support Fedora HOT 1
- Only show "run again" button when backup source is available
- Don't show "Run Again" when source is mounted
- Send system notification when tasks are complete
- Group matching/similar clones in history
- Simplify historic task options to a single button
- Backup current partition HOT 2
- clone directly to disk? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apart-gtk.