+ BOTH_QUOTES='"'"'"
+ MATCH="[^${BOTH_QUOTES}]*"
+ QMATCH="[${BOTH_QUOTES}]\?"
+ SED_COMMAND="s#.*apt_source_path=${QMATCH}\(${MATCH}\)${QMATCH}#\1#p"
+ APT_FDIO_REPO_FILE=$(curl -s "${REPO_URL}"/script.deb.sh | \
+ sed -n ${SED_COMMAND}) || {
+ die "Local fdio repo file path fetch failed."
+ }
+
+ if [ ! -f ${APT_FDIO_REPO_FILE} ]; then
+ die "${APT_FDIO_REPO_FILE} not found, \
+ repository installation was not successful."
+ fi
+
+ packages=$(apt-cache -o Dir::Etc::SourceList=${APT_FDIO_REPO_FILE} \
+ -o Dir::Etc::SourceParts=${APT_FDIO_REPO_FILE} dumpavail \
+ | grep Package: | cut -d " " -f 2) || {
+ die "Retrieval of available VPP packages failed."
+ }