Skip to content

Upgrade DVC on Ubuntu 18.04 Deb Repository Install #4193

@melkiga

Description

@melkiga

Bug Report (Short Story)

I've installed DVC on my work server using the deb package from here, but want to be able to upgrade when a new version is released. I followed the instructions here in the repo section, and when I run sudo apt update I receive the following.

W: Failed to fetch https://dvc.org/deb/dists/stable/InRelease  Invalid response from proxy: HTTP/1.1 403 Forbidden  Server: squid/3.5.27  Mime-Version: 1.0  Date: Sat, 11 Jul 2020 19:55:43 GMT  Content-Type: text/html;charset=utf-8  Content-Length: 3506  X-Squid-Error: ERR_ACCESS_DENIED 0  Vary: Accept-Language  Content-Language: en  X-Cache: MISS from squid-deb-proxy  X-Cache-Lookup: NONE from squid-deb-proxy:8000  Via: 1.1 squid-deb-proxy (squid/3.5.27)  Connection: keep-alive     [IP: 10.224.0.67 8000]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Behavior

When I run sudo apt-get install --only-upgrade dvc, I receive a response that I already have the latest version of DVC, when in fact a new version has been released (1.1.8):

$ sudo apt-get install --only-upgrade dvc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dvc is already the newest version (1.1.7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I then tried following your instructions here for how to install from repo, but when I run sudo apt update I receive the following error:

$ sudo apt update
.....
Reading package lists... Done                     
W: Failed to fetch https://dvc.org/deb/dists/stable/InRelease  Invalid response from proxy: HTTP/1.1 403 Forbidden  Server: squid/3.5.27  Mime-Version: 1.0  Date: Sat, 11 Jul 2020 19:55:43 GMT  Content-Type: text/html;charset=utf-8  Content-Length: 3506  X-Squid-Error: ERR_ACCESS_DENIED 0  Vary: Accept-Language  Content-Language: en  X-Cache: MISS from squid-deb-proxy  X-Cache-Lookup: NONE from squid-deb-proxy:8000  Via: 1.1 squid-deb-proxy (squid/3.5.27)  ...
W: Some index files failed to download. They have been ignored, or old ones used instead.

Please provide information about your setup

Output of dvc version:

$ dvc version
1.1.7

OS cat /etc/os-release

$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Metadata

Metadata

Assignees

Labels

awaiting responsewe are waiting for your reply, please respond! :)bugDid we break something?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions