Test and Measurement Forum

Spelling mistake in sudo apt-get update reference

Post your Linux discussions here

Spelling mistake in sudo apt-get update reference

Postby jars121 » Thu Mar 23, 2017 8:31 am

G'day,

I'm trying to install Picoscope for my newly acquired 3203D. I'm getting a 404 when trying to run sudo apt-get update, which shows an error in the referenced link:

Code: Select all
https://labs.picotech.com/debian/dists/picocope/main/binary-amd64/Packages


Note the "/picocope/" is missing an 's'.

How can I successfully install the Packages file using the correct link?
jars121
Newbie
 
Posts: 0
Joined: Thu Mar 23, 2017 7:56 am

Re: Spelling mistake in sudo apt-get update reference

Postby Hitesh » Mon Mar 27, 2017 9:45 am

Hi jars121,

Thank you for bringing to our attention. Our Development Team have been informed so hopefully this should be fixed soon.

Edit: Could you please try copying and pasting the following lines into the terminal window followed by <ENTER>, then try the update:

Code: Select all
sudo bash -c 'echo "deb http://labs.picotech.com/debian/ picoscope main" >/etc/apt/sources.list.d/picoscope.list'

Code: Select all
wget -O - http://labs.picotech.com/debian/dists/picoscope/Release.gpg.key | sudo apt-key add -

Please note that in each case, the commands should be entered as a single line.

Regards,
Last edited by Hitesh on Mon Mar 27, 2017 11:05 am, edited 1 time in total.
Reason: Added note to run commands for repository and public key
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2454
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Spelling mistake in sudo apt-get update reference

Postby jars121 » Sat May 20, 2017 12:03 am

My apologies for the delayed response, I made my post just before heading overseas for work.

I've entered in the two lines as recommended, but am still having issues running sudo apt-get update. The issue of "picoscope" being spelled as "picocope" remains.

Image
jars121
Newbie
 
Posts: 0
Joined: Thu Mar 23, 2017 7:56 am

Re: Spelling mistake in sudo apt-get update reference

Postby Hitesh » Mon May 22, 2017 10:44 am

Hi jars121,

No problem, hope you had a good trip :D

Try opening the file /etc/apt/sources.list.d/picoscope.list and manually correcting the entry if it has been misspelt.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2454
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Spelling mistake in sudo apt-get update reference

Postby jars121 » Wed May 24, 2017 8:22 am

Hitesh,

Thank you very much :) I had a very productive and informative trip actually (South Korea)!

I've corrected the spelling mistake in the .list document as suggested, and have successfully installed PicoScope.

Thanks again,

Jamie
jars121
Newbie
 
Posts: 0
Joined: Thu Mar 23, 2017 7:56 am

Re: Spelling mistake in sudo apt-get update reference

Postby Hitesh » Wed May 24, 2017 11:15 am

Hi Jamie,

Good to hear that the PicoScope application is working :D

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2454
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests