Comments (10)
Today I seem to be having fewer issues, but I am still unable to identify the source of the delay whenever it happens, other than it being related to an update check. I would note that the problem seems to happen on all sorts of different networks, and I have consistently observed other users having the same problem during workshops.
from proxspace.
After the initial update, ProxSpace will not check for updates over the internet, it will only check the cache for updates. Try removing this line yes | pacman -Syuu
in ProxSpace/msys2/etc/post-install/09-proxspace.post:55
from proxspace.
from proxspace.
I see, remove the else
before that line too. To my knowledge pacman -Syuu
should not access the internet, but I could be wrong
from proxspace.
from proxspace.
Just a quick update:
I observed the same issue again, even after making the changes to 09-proxspace.post. Whatever is happening, it's happening before any characters are printed to the console.
I might have to actually do some digging and see what, if anything, is calling out.
from proxspace.
Does this still happen when you delete 09-proxspace.post? (Delete it after the initial setup of ProxSpace)
from proxspace.
So far deleting the file has seemed to significantly reduce start time. I have not yet observed the delay since removing the 09-proxspace.post file but I will continue to monitor.
from proxspace.
Replace the 09-proxspace.post with the code below and post the output from ProxSpace. If possible, monitor the CPU usage, IO usage and Network usage during the start up of ProxSpace to check for possible hardware bottlenecks.
check_install () {
startPacman2=`date +%s`
pacman -Q $1
endPacman2=`date +%s`
runtimePacman2=$((endPacman2-startPacman2))
echo "ProxSpace: check_install1($1): $runtimePacman2"
if [ $? == 1 ]; then
startPacman3=`date +%s`
pacman --noconfirm --overwrite='*' -S $1
endPacman3=`date +%s`
runtimePacman3=$((endPacman3-startPacman3))
echo "ProxSpace: check_install2($1): $runtimePacman3"
fi
}
check_install_web () {
pacman -Q $1 | grep $2
if [ $? == 1 ]; then
pacman --noconfirm --overwrite='*' -U $3
fi
}
clean_86 () {
startClean86=`date +%s`
rm -rf /mingw32/share/qt5/examples
endClean86=`date +%s`
runtimeClean86=$((endClean86-startClean86))
echo "ProxSpace: clean86 rm: $runtimeClean86"
startPacman5=`date +%s`
pacman --noconfirm --overwrite='*' -Scc
endPacman5=`date +%s`
runtimePacman5=$((endPacman5-startPacman5))
echo "ProxSpace: clean64 pacman: $runtimePacman5"
}
clean_64 () {
startClean64=`date +%s`
rm -rf /mingw64/share/qt5/examples
endClean64=`date +%s`
runtimeClean64=$((endClean64-startClean64))
echo "ProxSpace: clean64 rm: $runtimeClean64"
startPacman4=`date +%s`
pacman --noconfirm --overwrite='*' -Scc
endPacman4=`date +%s`
runtimePacman4=$((endPacman4-startPacman4))
echo "ProxSpace: clean64 pacman: $runtimePacman4"
}
setup_proxspace ()
{
if [ "$MSYSTEM" == "MINGW64" ]; then
check_install mingw-w64-x86_64-gcc
check_install mingw-w64-x86_64-readline
check_install git
check_install make
check_install pkg-config
check_install mingw-w64-x86_64-qt5
clean_64
fi
if [ "$MSYSTEM" == "MINGW32" ]; then
check_install mingw-w64-i686-readline
check_install mingw-w64-i686-gcc
check_install git
check_install make
check_install pkg-config
check_install mingw-w64-i686-qt5
clean_86
fi
}
startProxSpace=`date +%s`
export LANG=en_US.UTF-8
echo "ProxSpace: start"
if [ "$MAYBE_FIRST_START" = "false" ]; then
echo "ProxSpace: MAYBE_FIRST_START = FALSE"
startPacman1=`date +%s`
yes | pacman -Su
endPacman1=`date +%s`
runtimePacman1=$((endPacman1-startPacman1))
echo "ProxSpace: packages updated in: $runtimePacman1"
startSetup=`date +%s`
setup_proxspace
endSetup=`date +%s`
runtimeSetup=$((endSetup-startSetup))
echo "ProxSpace: setup_proxspace finished in: $runtimeSetup"
else
echo "ProxSpace: MAYBE_FIRST_START = TRUE"
yes | pacman -Syuu
echo "ProxSpace: packages updated"
fi
endProxSpace=`date +%s`
runtimeProxSpace=$((endProxSpace-startProxSpace))
echo "ProxSpace: runtimeProxSpace:$runtimeProxSpace"
from proxspace.
Starting with ProxSpace 3.3 this should no longer be an issue.
from proxspace.
Related Issues (20)
- [SOLVED] getting error arm-none-eabi-gcc: No such file or directory during make clean && make all HOT 7
- autobuild.sh HOT 2
- Different size between compiled files HOT 28
- outdated mirrorlist HOT 1
- Could not find libicuin65.dll when run Go.bat in the win32 folder HOT 1
- Installing ProxSpace for Proxmark3 to Windows 10 HOT 1
- build error HOT 4
- autobuild.bat - mingw32: key is unknown / database 'mingw64' is not valid HOT 2
- Autobuild script missing a couple DLL's. HOT 1
- Err with pgp keys HOT 7
- Most of the links are for Chinese sites HOT 1
- Still unable to Flash bootrom or Firmware HOT 11
- Updating git w/ perm issues HOT 3
- Uninstalled the usb driver HOT 4
- Dumps go to working directory, dispite `prefs set savepaths` HOT 2
- when i run .pm3 HOT 1
- Feature: Include ‘vi’ in space HOT 1
- invalid or corrupted package
- MSYS2 not finishing the initial setup HOT 1
- Seek help. I encountered an error while initializing proxspace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxspace.