Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: LizziAS on 18 September 2017, 18:41:35

Title: gparted wont start (solved)
Post by: LizziAS on 18 September 2017, 18:41:35
sudo gparted
======================
libparted : 3.2
======================
terminate called after throwing an instance of 'Glib::ConvertError'
/usr/bin/gparted: line 193: 15941 Aborted                $BASE_CMD



yes i know i should use gksudo but using gksudo doesnt give me the terminal output to show what's wrong there...
Title: Re: gparted wont start
Post by: thefallenrat on 18 September 2017, 23:33:05
Are you running it in live environment? Can you try fully update it, then run the gparted again to see it's working? Because gparrted run without issues on my end

Code: [Select]
~ >>> gksudo gparted                                                                                                                                                    
======================
libparted : 3.2
======================

(https://artixlinux.org/forum/index.php?action=dlattach;topic=49.0;attach=75;image)
Title: Re: gparted wont start
Post by: LizziAS on 19 September 2017, 04:29:35
No not live, my converted manjaro-openrc install...
Title: Re: gparted wont start
Post by: thefallenrat on 19 September 2017, 13:48:13
Try running gparted_polkit in terminal
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 02:46:00
gparted_polkit
======================
libparted : 3.2
======================
terminate called after throwing an instance of 'Glib::ConvertError'
/usr/bin/gparted: line 193:  8141 Aborted                 $BASE_CMD
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 03:50:18
Possibly a related issue, mintstick won't run on my converted system either...


My fear is that

Pacman -Syuu broke them
Title: Re: gparted wont start
Post by: thefallenrat on 20 September 2017, 11:30:38
Have you enabled [system-testing] in your /etc/pacman.conf and update your system from it?

If not, you can follow here :

https://artixlinux.org/forum/index.php/topic,27.0.html
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 11:51:21
Have you enabled [system-testing] in your /etc/pacman.conf and update your system from it?

If not, you can follow here :

https://artixlinux.org/forum/index.php/topic,27.0.html

is the xorg bug fixed?
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 11:54:00
sudo pacman -Syyu
[sudo] password for lizzias:
:: Synchronizing package databases...
 system                   153.4 KiB   227K/s 00:01 [######################] 100%
 world                    101.2 KiB   342K/s 00:00 [######################] 100%
 galaxy                    11.8 KiB  0.00B/s 00:00 [######################] 100%
 system-testing            72.7 KiB   377K/s 00:00 [######################] 100%
 core                     139.4 KiB  1223K/s 00:00 [######################] 100%
 extra                   1780.2 KiB  3.71M/s 00:00 [######################] 100%
 community                  4.3 MiB  9.20M/s 00:00 [######################] 100%
 multilib                 178.9 KiB  58.2M/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: glibc: local (2.26-4) is newer than system (2.25-7)
 there is nothing to do




 sudo pacman -Syuu
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 system-testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: glibc: downgrading from version 2.26-4 to version 2.25-7
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-glibc: installing glibc (2.25-7) breaks dependency 'glibc>=2.26'


Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 11:56:26
sudo pacman -Rdd lib32-glibc

Packages (1) lib32-glibc-2.26-2

Total Removed Size:  16.28 MiB

:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing lib32-glibc                         [######################] 100%




 sudo pacman -Syuu
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 system-testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: glibc: downgrading from version 2.26-4 to version 2.25-7
resolving dependencies...
looking for conflicting packages...

Packages (1) glibc-2.25-7

Total Installed Size:  36.79 MiB
Net Upgrade Size:      -0.87 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
:: Processing package changes...
(1/1) downgrading glibc                            [######################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
Generating locales...
  en_US.UTF-8... done
  en_US.UTF-8... done
Generation complete.
:: Running post-transaction hooks...
(1/2) Creating temporary files...
(2/2) Updating the info directory file...





sudo gparted
======================
libparted : 3.2
======================
terminate called after throwing an instance of 'Glib::ConvertError'
/usr/bin/gparted: line 193:  5607 Aborted                 $BASE_CMD
Title: Re: gparted wont start
Post by: thefallenrat on 20 September 2017, 12:01:42
system                  153.4 KiB  227K/s 00:01 [######################] 100%
 world                    101.2 KiB  342K/s 00:00 [######################] 100%
 galaxy                    11.8 KiB  0.00B/s 00:00 [######################] 100%
 system-testing            72.7 KiB  377K/s 00:00 [######################] 100%

You need to put [system-testing] above [system] in your /etc/pacman.conf or you will never get the packages from [system-testing]
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 12:06:49
sudo pacman -Rdd gparted

Packages (1) gparted-0.29.0-2

Total Removed Size:  6.46 MiB

:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing gparted                            [######################] 100%
:: Running post-transaction hooks...
(1/2) Updating icon theme caches...
(2/2) Updating the desktop file MIME type cache...


sudo pacman -S gparted
resolving dependencies...
looking for conflicting packages...

Packages (1) gparted-0.29.0-2

Total Installed Size:  6.46 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                    [######################] 100%
(1/1) checking package integrity                  [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) installing gparted                          [######################] 100%
Optional dependencies for gparted
    dosfstools: for FAT16 and FAT32 partitions [installed]
    jfsutils: for jfs partitions [installed]
    f2fs-tools: for Flash-Friendly File System [installed]
    btrfs-progs: for btrfs partitions [installed]
    exfat-utils: for exFAT partitions [installed]
    ntfs-3g: for ntfs partitions [installed]
    reiserfsprogs: for reiser partitions [installed]
    udftools: for UDF file system support
    xfsprogs: for xfs partitions [installed]
    nilfs-utils: for nilfs2 support
    polkit: to run gparted directly from menu [installed]
    gpart: for recovering corrupt partition tables
    mtools: utilities to access MS-DOS disks [installed]
:: Running post-transaction hooks...
(1/2) Updating icon theme caches...
(2/2) Updating the desktop file MIME type cache...





sudo pacman -S udftools nilfs-utils gpart
resolving dependencies...
looking for conflicting packages...

Packages (3) gpart-0.3-1  nilfs-utils-2.2.6-1  udftools-1.3-2

Total Download Size:  0.20 MiB
Total Installed Size:  0.63 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
nilfs-utils-2.2.6-1...  111.7 KiB  226K/s 00:00 [######################] 100%
gpart-0.3-1-x86_64        28.9 KiB  1111K/s 00:00 [######################] 100%
udftools-1.3-2-x86_64    68.7 KiB  1273K/s 00:00 [######################] 100%
(3/3) checking keys in keyring                    [######################] 100%
(3/3) checking package integrity                  [######################] 100%
(3/3) loading package files                        [######################] 100%
(3/3) checking for file conflicts                  [######################] 100%
(3/3) checking available disk space                [######################] 100%
:: Processing package changes...
(1/3) installing udftools                          [######################] 100%
(2/3) installing nilfs-utils                      [######################] 100%
(3/3) installing gpart                            [######################] 100%





sudo gparted
======================
libparted : 3.2
======================






(http://i64.tinypic.com/n2byma.jpg)






(http://i63.tinypic.com/np27vs.jpg)















Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 12:08:42
You need to put [system-testing] above [system] in your /etc/pacman.conf or you will never get the packages from [system-testing]


sudo pacman -Syyu
[sudo] password for lizzias:
error: could not register 'system-testing' database (database already registered)
:: Synchronizing package databases...
 system-testing            72.7 KiB   245K/s 00:00 [######################] 100%
 system                   153.4 KiB   266K/s 00:01 [######################] 100%
 world                    101.2 KiB   340K/s 00:00 [######################] 100%
 galaxy                    11.8 KiB  0.00B/s 00:00 [######################] 100%
 core                     139.4 KiB  1202K/s 00:00 [######################] 100%
 extra                   1780.2 KiB  3.36M/s 00:01 [######################] 100%
 community                  4.3 MiB  7.57M/s 00:01 [######################] 100%
 multilib                 178.9 KiB  87.4M/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: bash: local (4.4.012-3) is newer than system-testing (4.4.012-2)
resolving dependencies...
looking for conflicting packages...

Packages (70) archlinux-keyring-20170823-1  artix-mirrorlist-20170916-1
              binutils-2.29.0-2  btrfs-progs-4.13-1  coreutils-8.28-1
              cronie-openrc-20170904-1  cryptsetup-openrc-20170904-1
              curl-7.55.1-2  dbus-openrc-20170904-1
              device-mapper-openrc-20170904-1  dhcpcd-openrc-20170904-1
              e2fsprogs-1.43.6-1  elogind-openrc-20170904-1  eudev-3.2.4-3
              expat-2.2.4-1  fakeroot-1.22-1  file-5.32-1  glibc-2.26-4
              glibc-openrc-20170904-1  gnupg-2.2.0-1  gnutls-3.5.15-1
              gpm-openrc-20170904-1  grub-2:2.02-4  hdparm-openrc-20170904-1
              hwids-20170715-1  iana-etc-20170824-1  icu-59.1-2
              inetutils-openrc-20170904-1  iproute2-4.13.0-1
              iptables-openrc-20170904-1  kmod-openrc-20170904-1
              krb5-openrc-20170904-1  libeudev-3.2.4-3  libgcrypt-1.8.1-1
              libidn-1.33-2  libksba-1.3.5-1  libldap-2.4.45-4  libpsl-0.18.0-1
              libtasn1-4.12-2  libtool-2.4.6+40+g6ca5e224-1
              libutil-linux-2.30.1-2  linux-api-headers-4.12.7-1
              linux-firmware-20170907.a61ac5c-1  linux-lts-4.9.50-1
              linux-lts-headers-4.9.50-1  lvm2-openrc-20170904-1  lz4-1:1.8.0-1
              man-pages-4.13-1  mdadm-openrc-20170904-1  mkinitcpio-23-3
              nano-2.8.7-1  ncurses-6.0+20170902-1  nfs-utils-openrc-20170904-1
              openldap-2.4.45-4  openldap-openrc-20170904-1  openrc-0.31.2-1
              openssh-openrc-20170904-1  openvpn-openrc-20170904-1
              perl-5.26.0-4  rpcbind-openrc-20170904-1  s-nail-14.9.3-1
              shadow-4.5-2  sqlite-3.20.1-1  sudo-1.8.21.p2-1
              thin-provisioning-tools-0.7.1-1  util-linux-2.30.1-2
              wpa_supplicant-1:2.6-8  wpa_supplicant-openrc-20170904-1
              xinetd-openrc-20170904-1  zlib-1:1.2.11-2

Total Download Size:   182.78 MiB
Total Installed Size:  653.69 MiB
Net Upgrade Size:       15.86 MiB

:: Proceed with installation? [Y/n]
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 12:11:02
You need to put [system-testing] above [system] in your /etc/pacman.conf or you will never get the packages from [system-testing]



error: glibc: signature from "Cromnix (Buildbot) <[email protected]>" is invalid
:: File /home/lizzias/Downloads/.cache/pacman/pkg/glibc-2.26-4-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 12:12:53
quick edit of pacman.conf

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Never
#Required DatabaseNever
LocalFileSigLevel = Never
#Optional
#RemoteFileSigLevel = Required
Title: Re: gparted wont start
Post by: robin0800 on 20 September 2017, 12:13:21

error: glibc: signature from "Cromnix (Buildbot) <[email protected]>" is invalid
:: File /home/lizzias/Downloads/.cache/pacman/pkg/glibc-2.26-4-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

pacman -S artix-keyring
pacman-key --populate artix
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 12:17:31
system updated


pacman.conf restored

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseNever
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
Title: Re: gparted wont start
Post by: LizziAS on 20 September 2017, 12:25:48
 sudo pacman -S lib32-glibc
[sudo] password for lizzias:
error: could not register 'system-testing' database (database already registered)
resolving dependencies...
looking for conflicting packages...

Packages (1) lib32-glibc-2.26-2

Total Installed Size:  16.28 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) installing lib32-glibc                       [######################] 100%
Title: Re: gparted wont start (solved)
Post by: thefallenrat on 20 September 2017, 12:28:48

error: glibc: signature from "Cromnix (Buildbot) <[email protected]>" is invalid
:: File /home/lizzias/Downloads/.cache/pacman/pkg/glibc-2.26-4-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

Delete the package and re-run the update

Also, glad the gparted works again!