I'm not a Kali developer so I can't help you in that sense :(, but I suppose that it could be the problem. it looks like you're simply out of memory and it can't install apt-transport-https. cat /proc/meminfo | grep Total' and see how muchMemTotalandSwapTotal` you have.
Broil the cod fillets for 10 to 12 minutes, or until the flesh at the thickest part flakes easily with a fork. Remove from the broiling rack with a wide, flat spatula. Gently peel away the skin from the white flesh of the fish. Serve hot as is, with your favorite sauce or with a lemon wedge. Cod fillets, 6 oz. each.
Coat both sides of cod in melted butter in the baking dish. Bake cod in the preheated oven for 10 minutes. Remove from oven; top with lemon juice, wine, and cracker mixture. Place back in oven and bake until fish is opaque and flakes easily with a fork, about 10 more minutes. Garnish baked cod with parsley and green onion. Serve with lemon wedges.