[Python-modules-team] How to install python-mysqldb on Debian 9 (Stretch)

Peter Wilson peter.wilson.email at gmail.com
Sun Dec 1 09:20:34 GMT 2019


robot at Brick002:~$ cat a
sudo apt-get update
sudo apt-get install python-mysqldb
robot at Brick002:~$ . ./a
Err:1 http://httpredir.debian.org/debian stretch InRelease
  Could not resolve 'httpredir.debian.org'
Err:2 http://security.debian.org stretch/updates InRelease
  Could not resolve 'security.debian.org'
Err:3 http://archive.ev3dev.org/debian stretch InRelease
  Could not resolve 'archive.ev3dev.org'
Reading package lists... Done
W: Failed to fetch
http://httpredir.debian.org/debian/dists/stretch/InRelease  Could not
resolve 'httpredir.debian.org'
W: Failed to fetch
http://security.debian.org/dists/stretch/updates/InRelease  Could not
resolve 'security.debian.org'
W: Failed to fetch http://archive.ev3dev.org/debian/dists/stretch/InRelease
 Could not resolve 'archive.ev3dev.org'
W: Some index files failed to download. They have been ignored, or old ones
used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-mysqldb is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-mysqldb' has no installation candidate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20191201/375445ce/attachment.html>


More information about the Python-modules-team mailing list