GoVanguard / karmbian

GoVanguard fork of Armbian with complete Kali 2020 support
GNU General Public License v2.0
23 stars 4 forks source link

installation script doesnt install some requirements #6

Open jerryhopper opened 4 years ago

jerryhopper commented 4 years ago

Hey there!

On ubuntu while having the build-essentials installed, the installer-script doesnt check the following requirements: pv, aria2, lib32tinfo-dev, libncurses5-dev libghc-zlib-dev pkg-config libusb-1.0-0-dev patchutils binfmt-support ntpdate

Fix:

sudo apt-get install pv aria2 lib32tinfo-dev libncurses5-dev pkg-config libghc-zlib-dev libusb-1.0-0-dev patchutils binfmt-support ntpdate

Also, downloading the torrents, a symlink error occurs if file exists.

ln: failed to create symbolic link '/home/jerryhopper/karmbian/cache/toolchains/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz.asc': File exists

Nothing serious!

jerryhopper commented 4 years ago

After a good night sleep, i noticed the build failed...

sudo apt-get install selinux-policy-default

[ o.k. ] Installing packages for [ Armbian ]
Reading package lists...
Building dependency tree...
Package selinux-policy-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'selinux-policy-default' has no installation candidate
[ error ] ERROR in function create_rootfs_cache [ debootstrap.sh:241 ]
[ error ] Installation of Armbian packages failed
[ o.k. ] Process terminated
[ o.k. ] Unmounting [ /home/jerryhopper/karmbian/.tmp/rootfs-current-nanopineo2black-kali-rolling-no-no/ ]
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
jerryhopper commented 4 years ago

Ok, so im definatly stuck on this error : Package selinux-policy-default is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Im compiling on ubuntu 20 lts, for NanoPiNeo2Black

jerryhopper commented 4 years ago

so, i figured out the packages that were being installed. One of these has a reference to selinux-policy-default .

apt tries to install these : bc cpufrequtils device-tree-compiler fping fake-hwclock psmisc chrony parted dialog ncurses-term sysfsutils toilet figlet u-boot-tools usbutils openssh-server nocache debconf-utils python3-apt bridge-utils build-essential fbset iw wpasupplicant sudo linux-base crda wireless-regdb unattended-upgrades selinux-policy-default console-setup unicode-data initramfs-tools ca-certificates expect iptables automake html2text bison flex libwrap0-dev libssl-dev libnl-3-dev libnl-genl-3-dev keyboard-configuration kali-linux-core man-db kbd net-tools gnupg2 dirmngr networkd-dispatcher command-not-found network-manager wireless-tools lsof htop mmc-utils wget nano sysstat net-tools resolvconf jq libcrack2 cracklib-runtime curl alsa-utils btrfs-progs dosfstools iotop stress screen ntfs-3g vim pciutils evtest pv libfuse2 libdigest-sha-perl libproc-processtable-perl aptitude dnsutils f3 haveged hdparm rfkill vlan bash-completion hostapd git ethtool unzip ifenslave libpam-systemd iperf3 software-properties-common libnss-myhostname f2fs-tools avahi-autoipd iputils-arping qrencode sunxi-tools

Any help ?

jerryhopper commented 4 years ago

So, after removing the requirement from lib/configuration.sh i managed to build karmbian for the nanopineo2black

sscottgvit commented 3 years ago

It seems this isn't needed. We'll pull that ref out.