Updating from bash

automatically builds a Debian HTTP mirror based on requests which pass through the proxy.

Of course, you can get the same benefit if you are already using a standard caching proxy and all your systems are configured to use it.

By default it just updates the package list and downloads new packages, but without installing them.

Note: Automatic upgrade of packages is NOT recommended in reduces the bandwidth requirements of Debian mirrors by restricting the frequency of Packages, Releases and Sources file updates from the back end and only doing a single fetch for any file, independently of the actual request from the proxy.

Sometimes, a revised package will require the installation of a newly revised version of another package, in which case the installation will fail until/unless the other package is installed.

Many people find this approach much too time-consuming, since Debian evolves so quickly -- typically, a dozen or more new packages are uploaded every week.

The script updates all Mi STer cores, including and the main Mi STer Linux executable; it updates scaler filters, Game Boy palettes and scripts; it can (experimental and risky) optionally update the whole Linux system.

Simply put in your SD and launch it through Mi STer main menu OSD (press F12 and then Scripts).

To deal with this avalanche, many people prefer to use a more automated method.

[[email protected] Ser ~]# java -version java version "1.7.0_65" Open JDK Runtime Environment (rhel-2.5.1.2.el6_5-x86_64 u65-b17) Open JDK 64-Bit Server VM (build 24.65-b04, mixed mode) [[email protected] Ser ~]# [[email protected] Ser ~]# cd /opt/ [[email protected] Ser opt]# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24= oraclelicense=accept-securebackup-cookie" " wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24= oraclelicense=accept-securebackup-cookie" " [[email protected] Ser opt]# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24= oraclelicense=accept-securebackup-cookie" “ wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24= oraclelicense=accept-securebackup-cookie" “ Selection Command ----------------------------------------------- * 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java 3 /opt/jdk1.8.0_172/bin/java Enter to keep the current selection[ ], or type selection number: 3 [[email protected] Ser jdk1.8.0_172]# alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_172/bin/javac 2 [[email protected] Ser jdk1.8.0_172]# alternatives --set javac /opt/jdk1.8.0_172/bin/javac [[email protected] Ser jdk1.8.0_172]# [[email protected] Ser jdk1.8.0_172]# java -version java version "1.8.0_172" Java(TM) SE Runtime Environment (build 1.8.0_172-b11) Java Hot Spot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode) [[email protected] Ser jdk1.8.0_172]# [[email protected] Ser ~]# java -version java version "1.7.0_65" Open JDK Runtime Environment (rhel-2.5.1.2.el6_5-x86_64 u65-b17) Open JDK 64-Bit Server VM (build 24.65-b04, mixed mode) [[email protected] Ser ~]# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24= oraclelicense=accept-securebackup-cookie" " wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24= oraclelicense=accept-securebackup-cookie" " [[email protected] Ser ~] rpm -ivh jdk-8u172-linux-i586##(OR)## [[email protected] Ser tmp]# rpm -ivh jdk-8u172-linux-x64Preparing...

########################################### [100%] 1:jdk1.8 ########################################### [100%] Unpacking JAR files...

OSX’s bash is terribly out of date, as was pointed out to me today by 8th Light Craftsman Eric Meyer. There’s a device called a tape drive that reads and writes data on a magnetic tape. It’s common for this command to install executables after the compilation process is complete. only allows you to switch to the shells listed in /etc/shells, so we need to register the new binary as a valid shell.

My machine was using bash 3.2.48 and the most recent version of bash is 4.2. The bash manual tells us that if the -c option is present commands are read from string.

Search for updating from bash:

updating from bash-34updating from bash-12

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating from bash”