NuTyX official Forum
Help => Cards: The Package Manager => Topic started by: fungalnet 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.
-
running flcards from terminal opens up the gui, when I run sync it crashes
# flcardsterminate 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
# flcards
terminate called after throwing an instance of 'std::system_error'
what(): Invalid argument
Aborted
# 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:
# 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%
-
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.
-
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.
-
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
-
The file /var/log/install.log is the log file of cards
-
# 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
-
I confirm that a bug. In the means time You commented out to many lines:
## 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
base /var/lib/pkg/depot/...
And to test if it fixed, put back active all the available collections and let me know