Question: Is there any way to get the details of my LAN connection in Ubuntu 16.04? Especially that part where it says whether a 100 Mbps or a 1000 Mbps is in use. I already tried `lspci | grep Ethernet`, but that just gives me this:
`04:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)`
So that tells me that it is a Gigabit hence a 1000 Mbps, but isn't there a more technical way to find that out?

Answer: 
There is no package named *oracle-java8-installer* in ppa:webupd8team/java. The correct name of the package is oracle-java-8-installer. Open the terminal and type:

```
sudo apt update  
sudo apt install oracle-java-8-installer  

```

Alternatively you can install Java 8 from the default repositories in all currently supported versions of Ubuntu. Remove the ppa:webupd8team/java repository from your software sources with `sudo apt-add-repository --remove ppa:webupd8team/java`, update the package list with `sudo apt-get update` and run this command:

```
sudo apt install openjdk-8-jdk  

```

If you still get the `Debconf : DbDriver "config" : /var/cache/deconf/config.dat is locked by another process: resource temporarily unavailable` error message then solve it by following the answers to ["debconf: DbDriver "config": config.dat is locked by another process: Resource temporarily unavailable" while installing packages](https://askubuntu.com/q/136881/).
```
W: Failed to fetch http: 
/ppa.launchpad.net/thefrontiergroup/vsftpd/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http: 
/ppa.launchpad.net/thefrontiergroup/vsftpd/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

```

These errors indicate that these two ppas no longer exist. Remove them from `/etc/apt/sources.list` and `/etc/apt/sources.list.d`

There is no reason to have them, since vsftp exists in the main repositories.

Also I suggest you upgrade to 17.10 since 16.10 isn't supported anymore.

Once the repositories were removed,

```
sudo apt update

```

should work, and then you can install Java 8.