package speedtest-cli (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/speedtest', which is also in package speedtest 1.2.0.84-1.ea6b6773cf

Bug #2009829 reported by Faisal Nawaz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
speedtest-cli (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Instead of going to sites like speedtest.net, I want to check my current Internet speed from the terminal on Ubuntu. But this time it does not install and gives the following error:

trying to overwrite '/usr/bin/speedtest', which is also in package speedtest 1.
2.0.84-1.ea6b6773cf
Errors were encountered while processing:
 /var/cache/apt/archives/speedtest-cli_2.1.3-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: speedtest-cli (not installed)
ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39
Uname: Linux 5.15.0-43-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_5_15_0_43_46_generic_92
ApportVersion: 2.20.11-0ubuntu82.1
AptOrdering:
 speedtest-cli:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Mar 9 17:06:38 2023
DpkgTerminalLog:
 Preparing to unpack .../speedtest-cli_2.1.3-2_all.deb ...
 Unpacking speedtest-cli (2.1.3-2) ...
 dpkg: error processing archive /var/cache/apt/archives/speedtest-cli_2.1.3-2_all.deb (--unpack):
  trying to overwrite '/usr/bin/speedtest', which is also in package speedtest 1.2.0.84-1.ea6b6773cf
ErrorMessage: trying to overwrite '/usr/bin/speedtest', which is also in package speedtest 1.2.0.84-1.ea6b6773cf
InstallationDate: Installed on 2023-02-25 (12 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.6
SourcePackage: speedtest-cli
Title: package speedtest-cli (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/speedtest', which is also in package speedtest 1.2.0.84-1.ea6b6773cf
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Faisal Nawaz (faisalnawazmir) wrote :
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote (last edit ):

Looks like you still have the Speedtest CLI app from Ookla's third party repo installed and it's conflicting with speedtest-cli from the Ubuntu repos. Uninstall the Ookla Speedtest CLI app first and see if that helps. Note that you may have to use dpkg manually at this point to fix things, probably by uninstalling the now likely half-installed speedtest-cli package. Then apt should start working normally again, and you can remove the conflicting app before trying to install speedtest-cli again.

Changed in speedtest-cli (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for speedtest-cli (Ubuntu) because there has been no activity for 60 days.]

Changed in speedtest-cli (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.