Problems with dev-install

1,008 views
Skip to first unread message

TheDevDude95

unread,
Jul 10, 2020, 6:32:29 PM7/10/20
to Chromium OS Discussion
Hey everyone, im having trouble using the dev_install script. Every time i run it i get this message:

curl: (22) The requested URL returned error: 403 Forbidden
[ERROR:dev_install.cc(315)] Could not download package

Is there anyway i can fix this

Mike Frysinger

unread,
Jul 10, 2020, 6:37:01 PM7/10/20
to TheDevDude95, Chromium OS Discussion
please post the full build log
-mike

--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss

Mike Frysinger

unread,
Jul 10, 2020, 9:07:02 PM7/10/20
to TheDevDude95, Chromium OS Discussion
you've copied & pasted 2 lines.  i'm pretty sure after you ran dev_install, there's a lot more output than just that.  please post all of them.
-mike

On Fri, Jul 10, 2020 at 9:04 PM TheDevDude95 <window...@gmail.com> wrote:
Noob question but how can i retrieve a build log 

TheDevDude95

unread,
Jul 10, 2020, 9:08:23 PM7/10/20
to Chromium OS Discussion, Mike Frysinger
Noob question but how can i retrieve a build log 

On Friday, July 10, 2020 at 6:37:01 PM UTC-4 Mike Frysinger wrote:

Mike Frysinger

unread,
Jul 11, 2020, 1:18:12 AM7/11/20
to TheDevDude95, Chromium OS Discussion
there's supposed to be a lot more logged output.  that line is supposed to tell you what it tried to download first.

localhost / # dev_install
[INFO:dev_install.cc(559)] Using binhost: ...
[INFO:dev_install.cc(562)] Starting installation of developer packages.
[INFO:dev_install.cc(563)] First, we download the necessary files.
[INFO:dev_install.cc(307)] Downloading ...

that in turn shows what board & OS version you're using, and what file is actually failing.
-mike

On Sat, Jul 11, 2020 at 12:58 AM TheDevDude95 <window...@gmail.com> wrote:
Oh ok well its not that much but here:

localhost / # dev_install
  % 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.cc(315)] Could not download package

This was all i got

TheDevDude95

unread,
Jul 11, 2020, 1:46:32 AM7/11/20
to Chromium OS Discussion, Mike Frysinger
Oh ok well its not that much but here:

localhost / # dev_install
  % 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.cc(315)] Could not download package

This was all i got

On Friday, July 10, 2020 at 9:08:23 PM UTC-4 TheDevDude95 wrote:

TheDevDude95

unread,
Jul 11, 2020, 1:51:32 AM7/11/20
to Chromium OS Discussion, Mike Frysinger, TheDevDude95

It never gave me any of that. However, my board is octopus and im using r86 on the Canary channel.

Here a screenshot for more detail of what i mean when no other info shows up:

Screenshot 2020-07-11 at 1.50.41 AM.png

dragon788

unread,
Jul 11, 2020, 10:17:30 AM7/11/20
to Chromium OS Discussion
Have you tried with `sudo su -` to get a login session?

It has been a while since I tried a dev_install and there were always issues with python whether it was six or something else misbehaving when I tried to `emerge` things.

DennisLfromGA

unread,
Jul 11, 2020, 12:11:45 PM7/11/20
to Chromium OS Discussion
dragon788,
 
Have you tried with `sudo su -` to get a login session?

That's exactly the method the OP used according to the screenshot above unless you mean from the Dev Console.


TheDevDude95,

The only other method I would suggest is to -
  • Sign-out of all accounts/profiles
  • Open the Dev Console using 'Ctrl+Alt+F2'
  • Login as root
  • Enter: dev_install

It might be a little cleaner that way as opposed to using the user's profile and it might give you the full diagnostics.

~Denny

Mike Frysinger

unread,
Jul 11, 2020, 12:58:43 PM7/11/20
to TheDevDude95, Chromium OS Discussion
there seems to be a regression in R86's logging which is preventing dev_install from showing more.  i've filed b/161005677 to track.

what does your /etc/lsb-release show ?
-mike

TheDevDude95

unread,
Jul 11, 2020, 3:23:37 PM7/11/20
to Chromium OS Discussion, Mike Frysinger, Chromium OS Discussion, TheDevDude95
It shows this:

CHROMEOS_ARC_ANDROID_SDK_VERSION=28
CHROMEOS_ARC_VERSION=6658214
CHROMEOS_BOARD_APPID={9A3BE5D2-C3DC-4AE6-9943-E2C113895DC5}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_RELEASE_BOARD=octopus-signed-mp-v19keys
CHROMEOS_RELEASE_BRANCH_NUMBER=0
CHROMEOS_RELEASE_BUILDER_PATH=octopus-release/R86-13333.0.0
CHROMEOS_RELEASE_BUILD_NUMBER=13333
CHROMEOS_RELEASE_BUILD_TYPE=Official Build
CHROMEOS_RELEASE_CHROME_MILESTONE=86
CHROMEOS_RELEASE_DESCRIPTION=13333.0.0 (Official Build) canary-channel octopus 
CHROMEOS_RELEASE_KEYSET=mp-v19
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_PATCH_NUMBER=0
CHROMEOS_RELEASE_TRACK=canary-channel
CHROMEOS_RELEASE_UNIBUILD=1
CHROMEOS_RELEASE_VERSION=13333.0.0
DEVICETYPE=CHROMEBOOK
GOOGLE_RELEASE=13333.0.0

TheDevDude95

unread,
Jul 11, 2020, 3:28:45 PM7/11/20
to Chromium OS Discussion, DennisLfromGA
Ive tried this and got the same error

Mike Frysinger

unread,
Jul 11, 2020, 7:13:28 PM7/11/20
to TheDevDude95, Chromium OS Discussion

TheDevDude95

unread,
Jul 11, 2020, 8:09:37 PM7/11/20
to Chromium OS Discussion, Mike Frysinger, Chromium OS Discussion, TheDevDude95
It still gives me the same error, i literally can't fix it

Mike Frysinger

unread,
Jul 11, 2020, 8:13:14 PM7/11/20
to TheDevDude95, Chromium OS Discussion
verify the wget command (or use curl) works.  if that doesn't, then there's probably something wonky on your network.
-mike

TheDevDude95

unread,
Jul 12, 2020, 8:56:00 AM7/12/20
to Chromium OS Discussion, Mike Frysinger, Chromium OS Discussion, TheDevDude95
It worked once i used curl but doesnt when i use dev_install

Mike Frysinger

unread,
Jul 24, 2020, 4:20:56 AM7/24/20
to TheDevDude95, Chromium OS Discussion
we fixed the logging problem and someone reported the issue with the extended details.  you can star the bug for progress:
-mike

On Fri, Jul 10, 2020 at 6:32 PM TheDevDude95 <window...@gmail.com> wrote:
--

TheDevDude95

unread,
Jul 24, 2020, 1:07:26 PM7/24/20
to Chromium OS Discussion, Mike Frysinger, Chromium OS Discussion, TheDevDude95
Thanks Mike, i appreciate it, just starred it
Reply all
Reply to author
Forward
0 new messages