Advertisement
Guest User

Untitled

a guest
Oct 8th, 2022
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. server@server-HP-Z420-Workstation:~$ sudo apt install mysql-server
  2. Reading package lists... Done
  3. Building dependency tree... Done
  4. Reading state information... Done
  5. mysql-server is already the newest version (8.0.30-0ubuntu0.22.04.1).
  6. You might want to run 'apt --fix-broken install' to correct these.
  7. The following packages have unmet dependencies:
  8. mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
  9. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  10. server@server-HP-Z420-Workstation:~$ sudo apt --fix-broken install
  11. Reading package lists... Done
  12. Building dependency tree... Done
  13. Reading state information... Done
  14. Correcting dependencies... Done
  15. The following additional packages will be installed:
  16. mysql-server-8.0
  17. Suggested packages:
  18. mailx tinyca
  19. The following NEW packages will be installed:
  20. mysql-server-8.0
  21. 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
  22. 1 not fully installed or removed.
  23. Need to get 0 B/1.411 kB of archives.
  24. After this operation, 1.630 kB of additional disk space will be used.
  25. Do you want to continue? [Y/n] y
  26. Preconfiguring packages ...
  27. dpkg: warning: files list file for package 'mysql-common' missing; assuming package has no files currently installed
  28. dpkg: warning: files list file for package 'mysql-client-core-8.0' missing; assuming package has no files currently installed
  29. dpkg: warning: files list file for package 'mysql-server-core-8.0' missing; assuming package has no files currently installed
  30. dpkg: warning: files list file for package 'mysql-client-8.0' missing; assuming package has no files currently installed
  31. (Reading database ... 255834 files and directories currently installed.)
  32. Preparing to unpack .../mysql-server-8.0_8.0.30-0ubuntu0.22.04.1_amd64.deb ...
  33. Failed to stop mysql.service: Unit mysql.service not loaded.
  34. invoke-rc.d: initscript mysql, action "stop" failed.
  35. invoke-rc.d returned 5
  36. There is a MySQL server running, but we failed in our attempts to stop it.
  37. Stop it yourself and try again!
  38. dpkg: error processing archive /var/cache/apt/archives/mysql-server-8.0_8.0.30-0ubuntu0.22.04.1_amd64.deb (--unpack):
  39. new mysql-server-8.0 package pre-installation script subprocess returned error exit status 1
  40. Errors were encountered while processing:
  41. /var/cache/apt/archives/mysql-server-8.0_8.0.30-0ubuntu0.22.04.1_amd64.deb
  42. E: Sub-process /usr/bin/dpkg returned an error code (1)
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement