MySQL 8 installation fail – dpkg: dependency problems prevent configuration of mysql-server:

I wasn’t able yet to install MySQL 8 in Ubuntu.

Linux : Ubuntu 18.04.2 LTS (running on windows using WSL) Kernel : 4.4.0-17134-Microsoft Mysql-server : 8.0.16-2ubuntu18.04 amd64

I am following those instructions – Steps for a fresh installation of MySQL : https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#apt-repo-fresh-install

Deb Package downloaded : (mysql-apt-config_0.8.13-1_all.deb)

I have tried some suggestions that I found at the internet, based on similar cases, but none of them worked. Example : sudo apt -f install -> In order to fix the dependency problem.

After the installation, I run the command to start the mysql server, but the service isn’t recognized, so the installation fail.

Based on my experience, it’s very hard to evaluate exactly the root cause of the problem, any suggestion recommendation and suggestion would be really appreciated.

I am planning to follow this installation process My SQL Community Server, https://dev.mysql.com/downloads/mysql/, where I can select the packages to be installed.


Installed MySql Packages after installation process finishes

dpkg -l | grep mysql -> Installed Packages

ii mysql-apt-config 0.8.13-1 all Auto configuration for MySQL APT Repo. ii mysql-client 8.0.16-2ubuntu18.04 amd64 MySQL Client meta package depending on latest version ii mysql-common 8.0.16-2ubuntu18.04 amd64 Common files shared between packages ii mysql-community-client 8.0.16-2ubuntu18.04 amd64 MySQL Client ii mysql-community-client-core 8.0.16-2ubuntu18.04 amd64 MySQL Client Core Binaries iF mysql-community-server 8.0.16-2ubuntu18.04 amd64 MySQL Server ii mysql-community-server-core 8.0.16-2ubuntu18.04 amd64 MySQL Server Core Binaires iU mysql-server 8.0.16-2ubuntu18.04 amd64 MySQL Server meta package depending on latest version


Installation output :

update-alternatives: using /var/lib/mecab/dic/ipadic to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode Setting up mysql-client (8.0.16-2ubuntu18.04) … Setting up mysql-community-server-core (8.0.16-2ubuntu18.04) … Setting up mecab-ipadic-utf8 (2.7.0-20070801+main-1) … Compiling IPA dictionary for Mecab. This takes long time… reading /usr/share/mecab/dic/ipadic/unk.def … 40 emitting double-array: 100% |###########################################| /usr/share/mecab/dic/ipadic/model.def is not found. skipped. reading /usr/share/mecab/dic/ipadic/Adj.csv … 27210 reading /usr/share/mecab/dic/ipadic/Adnominal.csv … 135 reading /usr/share/mecab/dic/ipadic/Adverb.csv … 3032 reading /usr/share/mecab/dic/ipadic/Auxil.csv … 199 reading /usr/share/mecab/dic/ipadic/Conjunction.csv … 171 reading /usr/share/mecab/dic/ipadic/Filler.csv … 19 reading /usr/share/mecab/dic/ipadic/Interjection.csv … 252 reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv … 3328 reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv … 795 reading /usr/share/mecab/dic/ipadic/Noun.csv … 60477 reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv … 120 reading /usr/share/mecab/dic/ipadic/Noun.nai.csv … 42 reading /usr/share/mecab/dic/ipadic/Noun.name.csv … 34202 reading /usr/share/mecab/dic/ipadic/Noun.number.csv … 42 reading /usr/share/mecab/dic/ipadic/Noun.org.csv … 16668 reading /usr/share/mecab/dic/ipadic/Noun.others.csv … 151 reading /usr/share/mecab/dic/ipadic/Noun.place.csv … 72999 reading /usr/share/mecab/dic/ipadic/Noun.proper.csv … 27327 reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv … 12146 reading /usr/share/mecab/dic/ipadic/Others.csv … 2 reading /usr/share/mecab/dic/ipadic/Postp-col.csv … 91 reading /usr/share/mecab/dic/ipadic/Postp.csv … 146 reading /usr/share/mecab/dic/ipadic/Prefix.csv … 221 reading /usr/share/mecab/dic/ipadic/Suffix.csv … 1393 reading /usr/share/mecab/dic/ipadic/Symbol.csv … 208 reading /usr/share/mecab/dic/ipadic/Verb.csv … 130750 emitting double-array: 100% |###########################################| reading /usr/share/mecab/dic/ipadic/matrix.def … 1316×1316 emitting matrix : 100% |###########################################|

done! update-alternatives: using /var/lib/mecab/dic/ipadic-utf8 to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode Setting up mysql-community-server (8.0.16-2ubuntu18.04) … update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode dpkg: error processing package mysql-community-server (–configure): installed mysql-community-server package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-community-server (= 8.0.16-2ubuntu18.04); however: Package mysql-community-server is not configured yet.

dpkg: error processing package mysql-server (–configure): dependency problems – leaving unconfigured Processing triggers for libc-bin (2.27-3ubuntu1) … No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing:E: Sub-process /usr/bin/dpkg returned an error code (1)

Best Regards, Ricardo

Problems with Encrypted Files

I was having problems with my main drive and decided to upgrade to a new SSD for my boot drive. Upon installing Windows I realized I could not access any of my encrypted files due to not having that certificate.

My next plan of action was to just boot into my old OS and decrypt the files but it just BSOD with “Critical driver nvstor.sys is missing or contains errors.”. I’ve searched the error and haven’t found any working solutions yet.

Is there any way to retrieve the certificate offline on a different Windows installation? Or do I have to fix this BSOD error somehow to regain access to my encrypted files?

OS: Windows 10

Can upgrading the timeout for my proxy pass in Nginx and Gunicorn cause any problems?

I’m going to add these configuration:

proxy_connect_timeout 300s; proxy_read_timeout 300s; 

and for Gunicorn:

gunicorn_django -D -b 127.0.0.1:8901 --workers=5 --pid=/var/webapp/campus.pid --settings=settings.production --timeout 300 --pythonpath=/var/webapp/campus/ 

Can this cause any problems I do not know about?

(Additional context)

Beginner programmer having problems with first program assignment

I have made a few adjustments, I still can not seem to find the problem. any help would be appreciated.

          1 ##         2 # This program computes the price of an order            from           3 # the total price and the number of the books            that          4 # were ordered from the bookstore.         5 # Constant tax rate of 7.5% on the total price            of          6 # each book.         7         8 TAX_RATE = 0.075         9         10 # Obtain number of books and book price from            order.         11 userInput = input(Number of Books purchased            ?")         12 numBooks = float(userInput)         13         14 userInput = input("Total Book Costs ?")         15 bookPrice = float(userInput)         16         17 # Calculate total for books.         18 totalForBooks = numBooks * bookPrice         19         20 totalTax = numBooks * TAX_RATE         21         22 shippingCostPerBook = 2         23 totalShippingCost = shippingCostPerBook *            numBooks         24         25 # Calculate the total of their order            including price         26 # of book(s), tax, and shipping costs.         27         28 totalOfOrder = totalForBooks + totalTax +            totalShippingCost         29 print("tax : %2f" % totalTax)         30 print("Total Shipping :" % totalShippingCost)           x 31 print("Total Order : %.2f % totalOfOrder)  

I have tried to add parenthesis, (str). I continue to get an X error in line 31. again, help would be appreciated.

Final Codes for this problems please

Could you please post the final codes for this problem? Thank you very much! Please post java codes. The example has C#, but I am interesting in Java. Thanks

public decimal ShelfPrice { get; set; }

public string Name { get; set; }  public bool IsImported { get { return Name.Contains("imported "); } }  public bool IsOf(ProductType productType) {     return productType_Identifiers.ContainsKey(productType) &&         productType_Identifiers[productType].Any(x => Name.Contains(x)); } 

Stack-exchange devoted to research problems, the suggested approaches and updates

The idea is to have a database of open research problems where the answers will be updates or suggested approaches.

I think this should be a separate site from MO because many of these posts will not be answerable in the short term. Otherwise, if we start adding such posts in MO (eg. under the tag “open problems”), they will quickly crowd the usual MO posts which can be answered in the short term.

Reasons:

  1. It will be a great place to not only share research problems but also our ideas on attacking these problems. This is the main function of conferences so it would be great to have an online forum that serves this same purpose especially for early researchers who cannot afford going to all the different conferences.
  2. By having the wiki-structure users will be able to create updates on the original post.
  3. Currently to find research problems one has to dig deep into papers or email the authors for suggestions. But a powerful forum like stack-exchange will be able to serve as a large database for researchers to browse for problems to work on next.
  4. An alternative is just continue to add content in the Wikipedia article on open problems. However, the site will quickly become crowded as subproblems are being added.

We will greatly appreciate any comments or even better to follow the proposal: Proposal: Open research problems in math

We only need 5 users to follow it to get it going.

Family of eigenvalue problems on unit disc

Let $ \varepsilon\in[0,1]$ , and consider the eigenvalue problem: $ $ \begin{cases}\Delta \varphi(x) + g(\varepsilon\cdot x)\cdot \varphi(x)=\lambda \varphi(x), \quad x\in B_1(0)\ \varphi(x)=0,\quad x\in\partial B_1(0), \end{cases}$ $

where $ B_1(0) \subset \mathbb{C}$ is the unit disc, $ \Delta$ denotes the (positive) Laplacian of $ \mathbb{C} \,\tilde{=} \,\mathbb{R}^2$ , and $ g:B_1(0)\rightarrow\mathbb{R}$ is a nice and and smooth function with $ g(0)=0$ , e.g. $ g(z) = 1 – \vert (1-z^n)^{2/n}\vert^2 $ for some $ n\in\mathbb{N}$ .

I would like to know how the lowest eigenvalue $ \lambda_1$ depend on $ \varepsilon$ and $ g(z)$ . What is the best way to approach the problem? For $ \varepsilon = 0$ , we have the classical eigenvalue problem for the Laplacian with Dirichlet boundary conditions on the unit disc. So one can solve the problem explicitly by means of Bessel functions. But for $ \varepsilon>0$ explicit solution is not possible anymore. Unfortunately, until now nothing worked and I do not know what to do.

I would very appreciate your help and suggestions! Best wishes

Problems with Memory Card Reader

I just added an internal card reader model Icy Box IB-863a to my computer and have some problems with it. I am running Ubuntu 16.04.

All is fine when there is an SD-card in the reader at boottime. The card is mounted correctly, unmounted when taken out, remounted when inserted again and I can switch to another card.

Problems arise when I boot the computer with an empty card-rader. The booting process hangs for quite a while with a message of not being able to determine the cache-mode for sdc, sdd, sde and sdf (those seem to be the devices associated to the card reader). After a while booting finishes, but cards I insert into the reader don’t get mounted and I cannot access them. In addition the disk-app crashes on start.

Any Idea how I can get this to work?