New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 867189 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

[regression] on-device emerge is failing

Project Member Reported by kirtika@google.com, Jul 24

Issue description

emerge $package on-device itself is supposed to work per this page: 
https://sites.google.com/a/chromium.org/dev/chromium-os/how-tos-and-troubleshooting/install-software-on-base-images

This used to work ~1 year ago (around R55), but as of R68/R69, it is not. 

 
please attach full logs to show the commands you ran and the output you're seeing
On newly flashed chell (same with soraka), I get the following logs, which seems like commondatastorage.googleapis.com is giving an access denied error:

localhost ~ # dev_install
ERROR(dev_install): Directory /usr/local/etc/portage exists.
ERROR(dev_install): Did you mean dev_install --reinstall?

localhost ~ # dev_install --reinstall
To clean up, we will run:
  rm -rf /usr/local/
Any content you have stored in there will be deleted.
Remove all installed packages now? (y/N) y
Removed all installed packages.
Reinstalling emerge.
Starting installation of developer packages.
First, we download the necessary files.
Devserver URL set to:  http://akhouderchah.mtv.corp.google.com:8080
Use it as the binhost? (y/N) y
Downloading http://akhouderchah.mtv.corp.google.com:8080/static/pkgroot/chell/packages/app-admin/python-updater-0.11.tbz2
curl: (6) Couldn't resolve host 'akhouderchah.mtv.corp.google.com'
ERROR(dev_install): Could not download package.
ERROR(dev_install): Command curl --fail -o /usr/local/portage/packages/app-admin/python-updater-0.11.tbz2 http://akhouderchah.mtv.corp.google.com:8080/static/pkgroot/chell/packages/app-admin/python-updater-0.11.tbz2 failed.

localhost ~ # dev_install --reinstall
To clean up, we will run:
  rm -rf /usr/local/
Any content you have stored in there will be deleted.
Remove all installed packages now? (y/N) y
Removed all installed packages.
Reinstalling emerge.
Starting installation of developer packages.
First, we download the necessary files.
Devserver URL set to:  http://akhouderchah.mtv.corp.google.com:8080
Use it as the binhost? (y/N) n
Downloading https://commondatastorage.googleapis.com/chromeos-dev-installer/board/chell/canary-R69-10807.0.2018_06_22_1043/packages/app-admin/python-updater-0.11.tbz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403 Forbidden
ERROR(dev_install): Could not download package.
ERROR(dev_install): Command curl --fail -o /usr/local/portage/packages/app-admin/python-updater-0.11.tbz2 https://commondatastorage.googleapis.com/chromeos-dev-installer/board/chell/canary-R69-10807.0.2018_06_22_1043/packages/app-admin/python-updater-0.11.tbz2 failed.

Sign in to add a comment