B
B
bixoxide2018-10-02 20:42:23
ubuntu
bixoxide, 2018-10-02 20:42:23

Problem with base-fales, what to do?

~$ sudo apt-get install oracle-java8-installer
... Preconfiguring
packages ...
dpkg: error processing package base-files (--configure):
package is completely unworkable;
it should be reinstalled before configuring
. Errors occurred while processing the following packages:
base-files
And this is always the case when I try to install something. I searched and found nothing. UBUNTU 18.04

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazar Mokrinsky, 2018-10-02
@bixoxide

You broke something by installing earlier, most likely from deb files directly.
To begin with, try sudo apt-get install -fto correct obvious errors automatically, just make sure that you do not offer to demolish the floor of the system - in this case, refuse and bring the output of what you received in the terminal.

K
klepiku, 2018-10-03
@klepiku

first try sudo dpkg --configure -a
if it doesn't help
download base-files in downloads and write
dpkg --force-all -i base-files.deb
but it's easier to include ppa
for java 10
sudo add-apt-repository ppa:linuxuprising/ java
and 8-9 sudo add-apt-repository ppa:webupd8team/java
java 8 for UBUNTU 18.04 can break dependencies especially if base-files = version number
and by the way openjdk 11 is available out of the box

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question