Can't Deploy My Shiny App: Unable to fetch some archives

134 views
Skip to first unread message

JohnRM

unread,
Jul 12, 2018, 10:30:30 AM7/12/18
to shinyapps.io Users
Hello all,

I have a shiny app which I have been able to deploy to Shinyapps.io without issue in the past. I have just encountered a new error and seem unable to remedy it. When I now deploy using rsconnect I get the following error:

Preparing to deploy application...
DONE
Uploading bundle for application: 248300...DONE
Deploying bundle: 1477202 for application: 248300 ...
Waiting for task: 536797524
  building: Parsing manifest
  building: Building image: 1491310
  building: Installing system dependencies
################################ Begin Task Log ################################ 
[2018-07-12T13:52:06.291583837+0000] Execute script: packages/build/jqr.sh
+ set -e
+ apt-get install -y software-properties-common python-software-properties
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  apt-utils cron gir1.2-glib-2.0 iso-codes libapt-inst2.0 libdbus-glib-1-2
  libgirepository-1.0-1 python-apt python-apt-common python-pycurl python3-apt
  python3-dbus python3-gi python3-pycurl python3-software-properties
  unattended-upgrades
Suggested packages:
  anacron logrotate checksecurity exim4 | postfix | mail-transport-agent
  isoquery python-apt-dbg python-apt-doc libcurl4-gnutls-dev python-pycurl-dbg
  python-pycurl-doc python3-apt-dbg python-dbus-doc python3-dbus-dbg
  python3-pycurl-dbg bsd-mailx mail-transport-agent
The following NEW packages will be installed:
  apt-utils cron gir1.2-glib-2.0 iso-codes libapt-inst2.0 libdbus-glib-1-2
  libgirepository-1.0-1 python-apt python-apt-common python-pycurl
  python-software-properties python3-apt python3-dbus python3-gi
  python3-pycurl python3-software-properties software-properties-common
  unattended-upgrades
0 upgraded, 18 newly installed, 0 to remove and 26 not upgraded.
Need to get 3566 kB of archives.
After this operation, 22.6 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 cron amd64 3.0pl1-128ubuntu2 [68.4 kB]
Err:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.26
  404  Not Found [IP: 52.91.65.63 80]
Ign:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.26
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgirepository-1.0-1 amd64 1.46.0-3ubuntu1 [88.3 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 gir1.2-glib-2.0 amd64 1.46.0-3ubuntu1 [127 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 iso-codes all 3.65-1 [2268 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libdbus-glib-1-2 amd64 0.106-1 [67.1 kB]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt-common all 1.1.0~beta1ubuntu0.16.04.1 [16.0 kB]
Err:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.26
  404  Not Found [IP: 52.91.65.63 80]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-apt amd64 1.1.0~beta1ubuntu0.16.04.1 [137 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python3-dbus amd64 1.2.0-3 [83.1 kB]
Err:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.26
  404  Not Found [IP: 52.91.65.63 80]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python3-gi amd64 3.20.0-0ubuntu1 [153 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt amd64 1.1.0~beta1ubuntu0.16.04.1 [139 kB]
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pycurl amd64 7.43.0-1ubuntu1 [43.3 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-software-properties all 0.96.20.7 [20.7 kB]
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python3-pycurl amd64 7.43.0-1ubuntu1 [42.3 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.7 [20.3 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.7 [9452 B]
Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.9 [32.3 kB]
Fetched 3314 kB in 0s (7149 kB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.26_amd64.deb  404  Not Found [IP: 52.91.65.63 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.2.26_amd64.deb  404  Not Found [IP: 52.91.65.63 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 536797528 failed: Error building image: Build exited with non-zero status: 100


I have run apt-get update, apt-get upgrade, and apt-get update --fix missing, in my ubuntu terminal and have now installed/upgraded everything so that I when I rerun apt-get upgrade, I get the result that `0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.` But when I go to redeploy, I get the same error (above - `0 upgraded, 18 newly installed, 0 to remove and 26 not upgraded`) as before. I am using R 3.5.1 and am curious how to resolve this "fetch archives" issue if not in the ubuntu terminal?

Any advice is much appreciated!

Joshua Spiewak

unread,
Jul 12, 2018, 10:36:37 AM7/12/18
to shinyapps.io Users
My apologies, I noticed this issue with jqr last week and had lined up the fix, but dropped the ball in getting it deployed.
I will see if I can get it out today, Monday at the latest.

JohnRM

unread,
Jul 12, 2018, 10:55:00 AM7/12/18
to shinyapps.io Users
Thanks so much, I greatly appreciate your time!

Joshua Spiewak

unread,
Jul 12, 2018, 1:58:20 PM7/12/18
to shinyapps.io Users
Fix is deployed, could you try again please?

JohnRM

unread,
Jul 12, 2018, 2:40:16 PM7/12/18
to shinyapps.io Users
Just successfully deployed my app, thanks so much!

Rocio Uria

unread,
Jul 18, 2018, 5:56:05 PM7/18/18
to shinyapps.io Users
Hi,

I'm having the same problem in deploying my app as JohnRM (see Task Log below). Like in his case, I deployed my app successfully to Shinyapps.io in the past (last December) but it is no longer working. 
How do I make the fix deployed to solve this issue work for me?
Do I need to update any package or my R installation? I'm using R version 3.3.2, shiny version 1.0.5, rsconnect version 0.8.8.

Thank you,
Rocio

################################ Begin Task Log ################################ 
[2018-07-18T21:28:21.312443107+0000] Execute script: packages/build/magick.sh
+ set -e
+ apt-get install -y software-properties-common python-software-properties
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  apt-utils cron gir1.2-glib-2.0 iso-codes libapt-inst2.0 libdbus-glib-1-2
  libgirepository-1.0-1 python-apt python-apt-common python-pycurl python3-apt
  python3-dbus python3-gi python3-pycurl python3-software-properties
  unattended-upgrades
Suggested packages:
  anacron logrotate checksecurity exim4 | postfix | mail-transport-agent
  isoquery python-apt-dbg python-apt-doc libcurl4-gnutls-dev python-pycurl-dbg
  python-pycurl-doc python3-apt-dbg python-dbus-doc python3-dbus-dbg
  python3-pycurl-dbg bsd-mailx mail-transport-agent
The following NEW packages will be installed:
  apt-utils cron gir1.2-glib-2.0 iso-codes libapt-inst2.0 libdbus-glib-1-2
  libgirepository-1.0-1 python-apt python-apt-common python-pycurl
  python-software-properties python3-apt python3-dbus python3-gi
  python3-pycurl python3-software-properties software-properties-common
  unattended-upgrades
0 upgraded, 18 newly installed, 0 to remove and 20 not upgraded.
Need to get 3566 kB of archives.
After this operation, 22.6 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 cron amd64 3.0pl1-128ubuntu2 [68.4 kB]
Err:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.26
  404  Not Found [IP: 52.91.65.63 80]
Ign:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.26
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgirepository-1.0-1 amd64 1.46.0-3ubuntu1 [88.3 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 gir1.2-glib-2.0 amd64 1.46.0-3ubuntu1 [127 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 iso-codes all 3.65-1 [2268 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libdbus-glib-1-2 amd64 0.106-1 [67.1 kB]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt-common all 1.1.0~beta1ubuntu0.16.04.1 [16.0 kB]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-apt amd64 1.1.0~beta1ubuntu0.16.04.1 [137 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python3-dbus amd64 1.2.0-3 [83.1 kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python3-gi amd64 3.20.0-0ubuntu1 [153 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt amd64 1.1.0~beta1ubuntu0.16.04.1 [139 kB]
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pycurl amd64 7.43.0-1ubuntu1 [43.3 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-software-properties all 0.96.20.7 [20.7 kB]
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python3-pycurl amd64 7.43.0-1ubuntu1 [42.3 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.7 [20.3 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.7 [9452 B]
Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.9 [32.3 kB]
Err:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.26
  404  Not Found [IP: 52.91.65.63 80]
Err:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.26
  404  Not Found [IP: 52.91.65.63 80]
Fetched 3314 kB in 0s (11.7 MB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.26_amd64.deb  404  Not Found [IP: 52.91.65.63 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.2.26_amd64.deb  404  Not Found [IP: 52.91.65.63 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 538007622 failed: Error building image: Build exited with non-zero status: 100
Execution halted

Joshua Spiewak

unread,
Jul 19, 2018, 8:34:10 AM7/19/18
to shinyapps.io Users
Hi, same issue only with the magick package.

Fix is in flight, I will update when it is deployed. Likely next Monday.

Rocio Uria

unread,
Jul 19, 2018, 9:51:38 AM7/19/18
to Joshua Spiewak, shinyapps.io Users
Thank you!

--
You received this message because you are subscribed to a topic in the Google Groups "shinyapps.io Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shinyapps-users/whpKLwZW0-M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shinyapps-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/33b5a8f9-5279-4d1c-ac60-9dc3c7450c2c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Joshua Spiewak

unread,
Jul 23, 2018, 2:07:15 PM7/23/18
to shinyapps.io Users
Could you try again and let me know what happens please?

Rocio Uria

unread,
Jul 24, 2018, 12:29:13 PM7/24/18
to Joshua Spiewak, shinyapps.io Users
Hi Joshua,

Deployment worked! 

Thank you for your responsiveness to the issue,

Rocio

Reply all
Reply to author
Forward
0 new messages