You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Distribute VS Code via a signed apt repository #2973
@ChaseMoskal
to upgrade from apt you have to run sudo apt update && sudo apt upgrade
you are getting that error because you didnt update your sources most likely
As Ghet (@ghetolay) mentioned the repo will be disabled after an Ubuntu upgrade, I made a change this morning that works similar to Chrome that will re-enable the repo when the deb package is installed next (coming in tomorrow's Insiders) #24898. This will get auto-updating working again after you install manually after an OS upgrade.
Hey Daniel Imms (@Tyriar)
I'm working on an electron app named zulip-electron. I have already build a .deb using electron-builder. Just wanted to know how to add .deb to a PPA so that users can install/update my app via sudo apt-get myapp. Any suggestions would be really appreciated.
Akash (@akashnimare) we don't use a PPA, we use a regular apt repo and the actual implementation is handled by another team. There should be plenty of documentation on the internet for how to set up a repo.
Activity
Create apt repository package catalog with deb package
Tyriar commentedon Mar 17, 2016
Unfortunately it doesn't look like the signing will be up in time for the release, pushing to April. /cc João Moreno (@joaomoreno)
joaomoreno commentedon Mar 17, 2016
Signatures are always a lengthy process...
It's enough if we get the debs and rpms out the door.
typekpb commentedon Apr 15, 2016
does this one cover rpm repository as well, or should I create a new issue?
Tyriar commentedon Apr 22, 2016
Being pushed to May.
Tyriar commentedon Apr 22, 2016
Peter Butkovic (@typekpb) #229 is tracking the rpm/yum repo.
50 remaining items
chase-moskal commentedon Apr 13, 2017
Daniel Imms (@Tyriar) — vscode is prompting me to update from v0.11.1 to v0.11.2 via the website
I tried to update with
It tells me
I suppose the version that apt-get has access to is out-of-date
sudopluto commentedon Apr 13, 2017
@ChaseMoskal
to upgrade from apt you have to run
sudo apt update && sudo apt upgradeyou are getting that error because you didnt update your sources most likely
ghetolay commentedon Apr 14, 2017
@ChaseMoskal be sure you have a
/etc/apt/sources.list.d/vscode.listand that the content is not commented (with a#).It happened to me after an Ubuntu upgrade.
chase-moskal commentedon Apr 15, 2017
Pranav Sharma (@sudopluto), Ghet (@ghetolay) — it works!
I closed everything I had open, and ran
sudo apt update && sudo apt upgradeI opened
/etc/apt/sources.list.d/vscode.listand saw that its full contents was:After
sudo apt-get install code— I have code v1.11.2-1492070517Thanks fellas, I appreciate it
Tyriar commentedon Apr 17, 2017
As Ghet (@ghetolay) mentioned the repo will be disabled after an Ubuntu upgrade, I made a change this morning that works similar to Chrome that will re-enable the repo when the deb package is installed next (coming in tomorrow's Insiders) #24898. This will get auto-updating working again after you install manually after an OS upgrade.
ghetolay commentedon Apr 17, 2017
Daniel Imms (@Tyriar) Nice, thks!
Rarely seen a PR built out of a comment 👍
akashnimare commentedon Apr 19, 2017
Hey Daniel Imms (@Tyriar)
I'm working on an electron app named zulip-electron. I have already build a .deb using electron-builder. Just wanted to know how to add
.debto a PPA so that users can install/update my app viasudo apt-get myapp. Any suggestions would be really appreciated.Tyriar commentedon Apr 19, 2017
Akash (@akashnimare) we don't use a PPA, we use a regular apt repo and the actual implementation is handled by another team. There should be plenty of documentation on the internet for how to set up a repo.
If you're interested here is the post install steps to install the repo when installing the package https://github.com/Microsoft/vscode/blob/bfc4e3d780ddbcf8802d9ddc61e3b440af3cae5b/resources/linux/debian/postinst.template#L20
akashnimare commentedon Apr 20, 2017
So I guess I just need to setup a repo + the above post install script?
Tyriar commentedon Apr 20, 2017
Akash (@akashnimare) the post install is optional, the minimal thing you need to do is setup a repo and provide users with steps to register it like https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions
Z-Y00 commentedon Oct 3, 2017
why not provide the "debian/* " file, in case someone may wanna pack it into Debian , this would save much trouble.
Tyriar commentedon Oct 3, 2017
Lorri Rao (@Z-Y00) I don't understand the question? We provide the deb package via the website homepage and https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions ?
Z-Y00 commentedon Oct 4, 2017
I mean you can consider geting it into Debian's official repository, since the code is under MIT license.
https://www.debian.org/doc/debian-policy/