Package Details: mintstick 1.4.4-1

Git Clone URL: https://aur.archlinux.org/mintstick.git (read-only, click to copy)
Package Base: mintstick
Description: A GUI to write .img or .iso files to a USB Key. It can also format them
Upstream URL: http://packages.linuxmint.com/pool/main/m/mintstick
Licenses: GPL
Conflicts: mintstick-git
Submitter: Sam-Burgos
Maintainer: Sam-Burgos
Last Packager: Sam-Burgos
Votes: 12
Popularity: 0.019387
First Submitted: 2018-06-27 17:23
Last Updated: 2020-06-18 23:38

Latest Comments

Comodin commented on 2021-04-27 03:23

Before install mintstick install this package to solved dependencies. https://aur.archlinux.org/packages/python-pyparted/

m8D2 commented on 2021-03-10 00:42

Oh I figured it out. The AUR python-pyparted is outdated, and it has to be updated to the latest upstream version.

Here's how:

  1. Create an empty directory

  2. inside it, create a text file named PKGBUILD

  3. Copy and paste the following content to this PKGBUILD file and save (as you may discover, only pkgrel, pkgver and sha512sum() are updated from v3.11.6, nothing malicious, don't trust me (or anyone else), please verify it yourself):

# Maintainer: Nikos Skalkotos <skalkoto at gmail dot com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Dennis Værum <dennis.vaerum (at) gmail (dot) com> 
# Contributor: Achilleas Pipinellis <axilleas archlinux info>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: kfgz <kfgz at interia pl>
# Contributor: Gökmen Görgen <gkmngrgn at gmail dot com>
# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com>

_pkgname=pyparted
pkgname=python-${_pkgname}
pkgver=3.11.7
pkgrel=0
pkgdesc="Python module for GNU parted"
url="https://github.com/dcantrell/pyparted"
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('pkg-config' 'python>=3.5' 'parted>=3.0')
conflicts=('pyparted-git')
replaces=('pyparted')
source=("https://github.com/dcantrell/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('41018989c21aab577cd1d51f521128d072b346afb9dcdcc27490cdbc2ed4382a854e4bd16780da72a0a95bbd521f14ee0e7f02816f34656cbae734d43a4f0b83')

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  depends=('python' 'parted>=3.0')

  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
  install -Dm755 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
  install -Dm755 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
  install -Dm755 TODO "${pkgdir}/usr/share/doc/${pkgname}/TODO"
  install -Dm755 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}

use your commandline to navigate to this directory and make a new package:

$ makepkg -siC

It'll update the python-pyparted package, and that's it.

The python-pyparted AUR package maintainer isn't responding to update request right now, and basically this is how you would now updating it by yourself.

m8D2 commented on 2021-03-10 00:28

Hi,

I recently have this error, the GUI will report "An error occurred."

If run in cmdline, it'll have this:

$ sudo mintstick -m format -u /dev/sda
Traceback (most recent call last):
  File "/usr/lib/mintstick/raw_format.py", line 7, in <module>
    import parted
ModuleNotFoundError: No module named 'parted'
An error occurred.

yochananmarqos commented on 2020-12-03 05:55

@Sam-Burgos: The icons and man page are missing (edited):

package() {
  cd ${pkgname}

  ## Creating the directories to copy the files
  install -d "$pkgdir/usr/bin"
  install -d "$pkgdir/usr/share/applications"
  install -d "$pkgdir/usr/share/polkit-1/actions"
  cp -rp share/{icons,nemo} "$pkgdir/usr/share"

  ## install.sh script is the one who contains all the installation process
  ./install.sh

  ## Install man page
  install -Dm644 "debian/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
}

Sam-Burgos commented on 2020-05-26 13:54

@asasione: the issue was with the package "python-pyparted", which was updated recently, I have tried to reinstall and now it works (you might have to clean the cache on your AUR helper in case you tried to install it previously)

asasione commented on 2020-05-26 08:31

This package won't install because of python-pyparted since the recent GCC 10 update, I'm getting a gcc failed error

yochananmarqos commented on 2018-11-02 15:16

From the Manjaro community package PKGBUILD:

depends=(desktop-file-utils python2-dbus python2-gobject python2-pyparted python2-xapp udisks2 xapps gtk3 parted)
optdepends=('dosfstools: FAT filesystems' 'exfat-utils: exFAT filesystems' 'ntfs-3g: NTFS filesystems')

m8D2 commented on 2018-11-01 18:55

This is to confirm that python2-gobject and python2-pyparted are indeed dependencies.

mintstick-git has it, and it works fine there. Running mintstick, however, has the error, but installating python2-gobject and python2-pyparted would fix it.

Sam-Burgos commented on 2018-07-08 18:42

Have you installed python2-gobject or python-gobject from the repositories? Probably I pulled in those dependencies with another package which is why the error doesn't appear to me, and because some packages I have make use of both I can't exactly tell which one you might need exactly (even if the app itself is written in Python2)

I will add them as dependencies later, as soon as I manage to restore a VM that I was using for these tests

Plexcon commented on 2018-07-08 16:20

$ mintstick Traceback (most recent call last): File "/usr/lib/mintstick/mintstick.py", line 13, in <module> import gi ImportError: No module named gi</module>