NuTyX official Forum
Help => Cards: The Package Manager => Topic started by: rrbs on Thu Jan 09 14:11:06 2020
-
Hey,
i've a error about "cards sync -i".
Can you help me?
thanks
sudo cards sync -i
/var/lib/pkg/depot/nos/.PKGREPO
HTTP response code said error
cards 2.4.98 sync:
URL : http://downloads.nutyx.org/x86_64/rolling/nos/.PKGREPO
FILE : /var/lib/pkg/depot/nos/.PKGREPO
MD5SUM:
!!! download failed !!!
-
First mistake:
The numbers / names of officials collections have been changed since the NuTyX 11.2 version:
They are now named:
desktops
gui-extra
gui
cli-extra
cli
base
You need to adjust your /etc/cards.conf to meet those requirements.
Means delete, adjust the dir lines
Second mistake:
sudo cards sync
the sync don't use -i
cards sync -h
-
How do you mean? What should the cards.conf look like now?
This is my card.conf
# Default server URL
url http://downloads.nutyx.org
#
## For nos
# Comment following line
# If you don't want to install Non Open source/Not compiled packages
#
dir /var/lib/pkg/depot/nos
#
## For LXQt
# Comment following 2 lines
# if you don't want to install LXQt
#
dir /var/lib/pkg/depot/lxqt-extra
dir /var/lib/pkg/depot/lxqt
#
## For lxde
# Comment following 2 lines
# if you don't want to install lxde
#
dir /var/lib/pkg/depot/lxde-extra
dir /var/lib/pkg/depot/lxde
#
## For Gnome
# Decomment following 2 lines
# if you don't want to install gnome
#
# dir /var/lib/pkg/depot/gnome-extra
# dir /var/lib/pkg/depot/gnome
#
## For mate
# Comment following 2 lines
# if you don't want to install mate
#
dir /var/lib/pkg/depot/mate-extra
dir /var/lib/pkg/depot/mate
#
## For kde5
# Comment following 2 lines
# if you don't want to install kde5
#
dir /var/lib/pkg/depot/kde5-extra
dir /var/lib/pkg/depot/kde5
#
## For xfce4
# Comment following 2 lines
# if you don't want to install xfce4
#
dir /var/lib/pkg/depot/xfce4-extra
dir /var/lib/pkg/depot/xfce4
#
#
## Normally everything under this line
# are needed stuffs
#
## For all the graphical applications
dir /var/lib/pkg/depot/gui-extra
#
## For a minimal graphical interface
dir /var/lib/pkg/depot/gui
#
## For all the console applications
dir /var/lib/pkg/depot/cli-extra
#
## For a minimal console interface
dir /var/lib/pkg/depot/cli
#
## Chroot system without reboot possibilities for a chroot
dir /var/lib/pkg/depot/base
#
## 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/...
group de
-
hum... something like:
# Default server URL
url http://downloads.nutyx.org
# From Paul: I think nos is gone, so I commented it
## For nos
# Comment following line
# If you don't want to install Non Open source/Not compiled packages
#
# dir /var/lib/pkg/depot/nos
#
## Normally everything under this line
# are needed stuffs
#
## For the different desktops environments: gnome, kde, mate, xfce, lxqt, etc.
dir /var/lib/pkg/depot/desktops
#
## For all the graphical applications
dir /var/lib/pkg/depot/gui-extra
#
## For a minimal graphical interface
dir /var/lib/pkg/depot/gui
#
## For all the console applications
dir /var/lib/pkg/depot/cli-extra
#
## For a minimal console interface
dir /var/lib/pkg/depot/cli
#
## Chroot system without reboot possibilities for a chroot
dir /var/lib/pkg/depot/base
#
## 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/...
group de
-
See this post
https://forums.nutyx.org/index.php/topic,366.msg1210.html#msg1210
-
Thanks.
now all is ok.