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.
The technique is simple: Cut the cod fillets into serving pieces, put them in a pan and add cold water, milk and seasonings such as cloves, peppercorns, parsley and bay leaf. Heat the liquid to a boil and let the fish simmer gently about 2 minutes or slightly longer, depending on the thickness of the pieces. Then drain and serve. I have such a liking for poached cod, I would settle for a simple sauce of melted butter and lemon juice. But this fish can be transformed into many different dishes; just a change in the sauce will do the trick.