mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	split the arm64/amd64 repos
This commit is contained in:
		
							parent
							
								
									df3590fb47
								
							
						
					
					
						commit
						ba2d00fd5a
					
				
					 1 changed files with 18 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ apt -y install media-types libffi8 libssl3
 | 
			
		|||
# `apt info libpython2.7-stdlib`
 | 
			
		||||
cd /tmp
 | 
			
		||||
case $ARCH in
 | 
			
		||||
    #"amd64")
 | 
			
		||||
    "amd64")
 | 
			
		||||
        #wget http://mirrors.edge.kernel.org/ubuntu/pool/universe/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu2_amd64.deb
 | 
			
		||||
        #apt install ./libpython2.7-minimal_2.7.18-13ubuntu2_amd64.deb
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -26,9 +26,14 @@ case $ARCH in
 | 
			
		|||
        #wget http://mirrors.kernel.org/ubuntu/pool/universe/p/python2.7/python2.7_2.7.18-13ubuntu2_amd64.deb
 | 
			
		||||
        #apt install ./python2.7_2.7.18-13ubuntu2_amd64.deb
 | 
			
		||||
        #rm *.deb
 | 
			
		||||
        #;;
 | 
			
		||||
        # works on U23.04 x86_64 VM
 | 
			
		||||
        cat << EOF >> /etc/apt/sources.list.d/python2.list
 | 
			
		||||
deb [trusted=yes] http://archive.ubuntu.com/ubuntu jammy main universe
 | 
			
		||||
deb [trusted=yes] http://archive.ubuntu.com/ubuntu jammy-updates main universe
 | 
			
		||||
EOF
 | 
			
		||||
        ;;
 | 
			
		||||
 | 
			
		||||
    #"arm64")
 | 
			
		||||
    "arm64")
 | 
			
		||||
        #wget http://ftp.debian.org/debian/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-8_arm64.deb
 | 
			
		||||
        #apt install ./libpython2.7-minimal_2.7.18-8_arm64.deb
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -41,25 +46,21 @@ case $ARCH in
 | 
			
		|||
        #wget http://ftp.debian.org/debian/pool/main/p/python2.7/python2.7_2.7.18-8_arm64.deb
 | 
			
		||||
        #apt install ./python2.7_2.7.18-8_arm64.deb
 | 
			
		||||
        #rm *.deb
 | 
			
		||||
        #;;
 | 
			
		||||
        # gave 404 errors on U23.04 x86_64 VM need to circle back to U23.04 arm64 and confirm
 | 
			
		||||
        cat << EOF >> /etc/apt/sources.list.d/python2.list
 | 
			
		||||
deb [trusted=yes] http://ports.ubuntu.com/ jammy main universe
 | 
			
		||||
deb [trusted=yes] http://ports.ubuntu.com/ jammy-updates main universe
 | 
			
		||||
EOF
 | 
			
		||||
        ;;
 | 
			
		||||
 | 
			
		||||
# trusted is used for Debian and RasPiOS as the keys would be missing for Ubuntu
 | 
			
		||||
    "arm64"|"amd64")
 | 
			
		||||
        #apt -y install ubuntu-keyring
 | 
			
		||||
        cat << EOF >> /etc/apt/sources.list.d/python2.list
 | 
			
		||||
# gave 404 errors on U23.04 x86_64 VM
 | 
			
		||||
#deb [trusted=yes] http://ports.ubuntu.com/ jammy main universe
 | 
			
		||||
#deb [trusted=yes] http://ports.ubuntu.com/ jammy-updates main universe
 | 
			
		||||
 | 
			
		||||
# works on U23.04 x86_64 VM need to circle back to U23.04 arm64 and confirm
 | 
			
		||||
deb [trusted=yes] http://archive.ubuntu.com/ubuntu jammy main universe
 | 
			
		||||
deb [trusted=yes] http://archive.ubuntu.com/ubuntu jammy-updates main universe
 | 
			
		||||
 | 
			
		||||
#    "arm64"|"amd64")
 | 
			
		||||
#        cat << EOF >> /etc/apt/sources.list.d/python2.list
 | 
			
		||||
# keys for Debian future work maybe
 | 
			
		||||
#deb [signed-by=/usr/share/keyrings/ubuntu-keyring-2018-archive.gpg] http://ports.ubuntu.com/ jammy main universe
 | 
			
		||||
#deb [signed-by=/usr/share/keyrings/ubuntu-keyring-2018-archive.gpg] http://ports.ubuntu.com/ jammy-updates main universe
 | 
			
		||||
EOF
 | 
			
		||||
        ;;
 | 
			
		||||
#EOF
 | 
			
		||||
#        ;;
 | 
			
		||||
 | 
			
		||||
    "armhf")
 | 
			
		||||
        #wget http://raspbian.raspberrypi.org/raspbian/pool/main/libf/libffi/libffi7_3.3-6_armhf.deb
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue