I'm not sure how to fix my Ubuntu server. Please help

I haven't touch my server for quite a while as it has been sitting in a hallway for about 5 years now. I haven't run the update command in at least a year. Now that I have It won't update. I have posted bellow the update and upgrade output bellow. I am not sure how to troubleshoot this issue. Please help.

Sudo apt-get update

Reading package lists... Done
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
demdog@rebelweb:~$

Sudo apt-get upgrade

demdog@rebelweb:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
console-setup : Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6.1 is installed
console-setup-linux : Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6.1 is installed
dbus : Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6.1 is installed
initscripts : Depends: sysvinit-utils (>= 2.88dsf-50) but 2.88dsf-41ubuntu6.3 is installed
keyboard-configuration : Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6.1 is installed
libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
util-linux : Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6.1 is installed
Depends: sysvinit-utils (>= 2.88dsf-59.1~) but 2.88dsf-41ubuntu6.3 is installed
E: Unmet dependencies. Try using -f.
demdog@rebelweb:~$

System Information

login as: demdog
[email protected]'s password:
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 3.13.0-92-generic i686)

System information as of Fri Sep 2 08:40:28 EDT 2016

System load: 1.1 Memory usage: 7% Processes: 73
Usage of /: 77.9% of 26.96GB Swap usage: 0% Users logged in: 0

Graph this data and manage this system at:
https://landscape.canonical.com/

Last login: Wed Aug 3 00:57:34 2016 from xxx.xxx.xxx.xxx

i dont use linux for my main machine so im not wendell level neckbeard, but did you try this?
sudo apt-get upgrade?

I have tried sudo apt-get upgrade. Sadly apt-get -f install continues to return the same errors

Are you doing sudo apt update first? I've found that helps sometimes when package versions are out of whack.

Alternately
sudo apt install lsb-base libtinfo5 sysvinit-utils

Manually updating those packages, individually if necessary, might help move things forward.

Also try updating apt itself via synaptic

It could be that your ubuntu distro has simply reached it's EOL.
What release are you using?

1 Like

Yeah what version of Ubuntu is it? LTS releases have a lifespan of 5 years support.

You may have to upgrade to a newer LTS.

You can also try clearing your apt cache:

sudo apt-get autoclean

sudo apt-get dist-upgrade

Will update you to a newer version but be aware you may have breakage. Read your output!

Any particular reason why you're running i686 (32 bit)?

Do you have any repositories or PPA:s that require newer "debian" repositories? Have you tried sudo apt-get -f dist-upgrade? (this will force an update to your kernel if available in your repository, so take note if you have any software you've compiled yourself on your computer)

Edit: so basically what @Adobe_Flash_Player said.

He could also use a USB installer to update with which may be less destructive. Hopefully he separated his home, www and root directories as partitions. Much easier to recover that way.

Does this server have a desktop GUI or are you running just from the terminal?

It looks like you have broken dependencies

lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6.1 is installed

This says to me you have lsb-base 6.1 installed but it wants version lsb-base 7

Enter sudo synaptic at the terminal and then search for lsb-base

Is it installed and at what version?

Same with

sysvinit-utils (>= 2.88dsf-50) but 2.88dsf-41ubuntu6.3 is installed

It wants sysvinit-utils 2.88dsf-50 but you have 2.88dsf-41

In the synaptic interface search for sysvinit-utils

Is it installed and at what version?

If you can use the synaptic console to upgrade these packages to the levels in the error.

This is running from the terminal, I have tried the distro update a few times, i haven't been able to get it to work. Its an older machine on a x86 cpu. I can try a few other things but Its slow going,