Score:0

installing libmysqlclient21 gives error

sa flag

I am trying to install libmysqlclient21 on databricks as shown below

%sh
sudo apt-get update
sudo apt-get update -y --fix-missing
sudo apt-get install -y libmysqlclient21 

But I get the below error:

enter image description here

Artur Meinild avatar
vn flag
Could you insert the error as text instead of an image? Thanks.
Score:0
cn flag

As per your screenshot, it looks like an apt mirror does not have the required .deb file for downloading.

  1. You could try selecting an alternate mirror, as per the below guide:
  • Open the Software & Updates application, then click on the “Download From” drop down box.
  • Manually scroll through the list and select your desired mirror, or alternatively just click the “Select best server” button to let Ubuntu do the work for you.
  1. Using mirror protocol as part of your /etc/apt/sources.list entry, will instruct apt command to fetch mirrors located within your country only.
  • In order to use mirror protocol, update all lines within /etc/apt/sources.list file from the usual e.g.:
    deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted
    to:
    deb mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted

  • Repeat the above for all relevant lines where appropriate.

  • Run sudo apt-get update again.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.