Author Topic: cards freezes, not installing not upgrading  (Read 5792 times)

fungalnet

  • Newbie
  • *
  • Posts: 11
  • Karma: +1/-0
cards freezes, not installing not upgrading
« on: Wed Oct 31 09:08:19 2018 »
In the past few days when I run cards sync it seems to work fine.  When I run upgrade it begins downloading files, it seems as it completes the process and then just freezes, indefinitely.  No error message, cpu use shows active and continuous use 10-15%.
If I halt the process and start again with a simple install of a single pkg it does the same.


fungalnet

  • Newbie
  • *
  • Posts: 11
  • Karma: +1/-0
Re: cards freezes, not installing not upgrading
« Reply #1 on: Wed Oct 31 10:11:44 2018 »
running flcards from terminal opens up the gui, when I run sync it crashes

# flcards
Code: [Select]
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
zsh: abort      flcards
Thinking it may be related to zsh incompatibility I run it in bash

Code: [Select]
# flcards
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
Aborted

Code: [Select]
# cards sync
/var/lib/pkg/depot/nos/.PKGREPO
/var/lib/pkg/depot/lxde-extra/.PKGREPO
/var/lib/pkg/depot/lxde/.PKGREPO
/var/lib/pkg/depot/xfce4-extra/.PKGREPO
/var/lib/pkg/depot/xfce4/.PKGREPO
/var/lib/pkg/depot/gui-extra/.PKGREPO
/var/lib/pkg/depot/gui/.PKGREPO
/var/lib/pkg/depot/cli-extra/.PKGREPO
/var/lib/pkg/depot/cli/.PKGREPO
/var/lib/pkg/depot/base/.PKGREPO
root [ ~ ]# cards upgrade
Retrieve info about the 377 packages:  83%

Then it stays like this indefinitely, no error produced, and I couldn't find any log for cards yet

Another example:
Code: [Select]
# cards install git
/var/lib/pkg/depot/base/git/.PKGREPO
/var/lib/pkg/depot/base/git/git1539112741x86_64.cards.tar.xz
     3.11 MB  (357.82 KB/s) 100 % - 0 s   
/var/lib/pkg/depot/base/openssh/.PKGREPO
/var/lib/pkg/depot/base/openssh/openssh1535278479x86_64.cards.tar.xz
    659.60 KB  (258.97 KB/s) 100 % - 0 s   
/var/lib/pkg/depot/base/libedit/.PKGREPO
/var/lib/pkg/depot/base/libedit/libedit1533484375x86_64.cards.tar.xz
    118.63 KB  (129.65 KB/s) 100 % - 0 s   
Retrieve info about the 377 packages:  83%
« Last Edit: Wed Oct 31 10:17:43 2018 by fungalnet »

oyim

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +3/-0
Re: cards freezes, not installing not upgrading
« Reply #2 on: Wed Oct 31 11:58:53 2018 »
I've not tried running it via the terminal; however, I have had it crash a couple of times when running Sync. I realized that if I run Sync before all of the packages populate the window, that's when it would crash. If I allow them to populate first, then run Sync, I haven't had any issues.


fungalnet

  • Newbie
  • *
  • Posts: 11
  • Karma: +1/-0
Re: cards freezes, not installing not upgrading
« Reply #3 on: Wed Oct 31 12:45:34 2018 »
cards sync on terminal runs fine, it is during installation or upgrade that it freezes, after the downloading has completed it seems.
That 83% that is pretty constant I think it is the last thing it reports before completion, not that it is incomplete.

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: cards freezes, not installing not upgrading
« Reply #4 on: Wed Oct 31 13:09:50 2018 »
Can I see your /etc/cards.conf file. I beleave you comment some collections AFTER you install packages that are not  in any collection you have at the moment.

Regards,
Thierry

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: cards freezes, not installing not upgrading
« Reply #5 on: Wed Oct 31 13:11:01 2018 »
The file /var/log/install.log is the log file of cards

fungalnet

  • Newbie
  • *
  • Posts: 11
  • Karma: +1/-0
Re: cards freezes, not installing not upgrading
« Reply #6 on: Wed Oct 31 13:17:26 2018 »
Code: [Select]
# cat  /etc/cards.conf
## For nos
# Comment following line
# If you don't want to install Non Open source/Not compiled packages
#
dir /var/lib/pkg/depot/nos|http://downloads.nutyx.org
#
## For LXQt
# Comment following 2 lines
# if you don't want to install LXQt
#
#dir /var/lib/pkg/depot/lxqt-extra|http://downloads.nutyx.org
#dir /var/lib/pkg/depot/lxqt|http://downloads.nutyx.org
#
## For lxde
# Comment following 2 lines
# if you don't want to install lxde
#
dir /var/lib/pkg/depot/lxde-extra|http://downloads.nutyx.org
dir /var/lib/pkg/depot/lxde|http://downloads.nutyx.org
#
## For Gnome
# Comment following 2 lines
# if you don't want to install gnome
#
#dir /var/lib/pkg/depot/gnome-extra|http://downloads.nutyx.org
#dir /var/lib/pkg/depot/gnome|http://downloads.nutyx.org
#
## For mate
# Comment following 2 lines
# if you don't want to install mate
#
#dir /var/lib/pkg/depot/mate-extra|http://downloads.nutyx.org
#dir /var/lib/pkg/depot/mate|http://downloads.nutyx.org
#
## For kde5
# Comment following 2 lines
# if you don't want to install kde5
#
#dir /var/lib/pkg/depot/kde5-extra|http://downloads.nutyx.org
#dir /var/lib/pkg/depot/kde5|http://downloads.nutyx.org
#
## For xfce4
# Comment following 2 lines
# if you don't want to install xfce4
#
dir /var/lib/pkg/depot/xfce4-extra|http://downloads.nutyx.org
dir /var/lib/pkg/depot/xfce4|http://downloads.nutyx.org
#
#
## Normally everything under this line
# are needed stuffs
#
## For all the graphical applications
dir /var/lib/pkg/depot/gui-extra|http://downloads.nutyx.org
#
## For a minimal graphical interface
dir /var/lib/pkg/depot/gui|http://downloads.nutyx.org
#
## For all the console applications
dir /var/lib/pkg/depot/cli-extra|http://downloads.nutyx.org
#
## For a minimal console interface
dir /var/lib/pkg/depot/cli|http://downloads.nutyx.org
#
## Chroot system without reboot possibilities for a chroot
dir /var/lib/pkg/depot/base|http://downloads.nutyx.org
#
## Normaly you want to keep base and
base /var/lib/pkg/depot/base
#
#
## If you want to keep more collections remove comments below
# Adjust to your needs
#
 base /var/lib/pkg/depot/cli
 base /var/lib/pkg/depot/cli-extra
 base /var/lib/pkg/depot/gui
 base /var/lib/pkg/depot/gui-extra
 base /var/lib/pkg/depot/...
locale en


Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: cards freezes, not installing not upgrading
« Reply #7 on: Wed Oct 31 21:39:19 2018 »
I confirm that a bug. In the means time You commented out to many lines:

Code: [Select]
## If you want to keep more collections remove comments below
# Adjust to your needs
#
 base /var/lib/pkg/depot/cli
 base /var/lib/pkg/depot/cli-extra
 base /var/lib/pkg/depot/gui
 base /var/lib/pkg/depot/gui-extra
 base /var/lib/pkg/depot/...

Please remove at least the line

Code: [Select]
base /var/lib/pkg/depot/...
And to test if it fixed, put back active all the available collections and let me know