The dependencies of the following packages could not be installed:
apt-utils: Depends: apt (= 1.2.29ubuntu0.1) but it is not installed
Depends: libc6 (> = 2.4) but 2.23-0ubuntu10 is installed
Depends: libgcc1 (> = 1: 3.0) but 1: 6.0.1-0ubuntu1 is installed
Depends: libstdc ++ 6 (> = 5.2) but 5.4.0-6ubuntu1 ~ 16.04.11 is installed
code: Depends: libnss3 (> = 2: 3.26) but 2: 3.28.4-0ubuntu0.16.04.4 is installed
Depends: apt but it is not installed
Depends: libgtk-3-0 (> = 3.10.0) but 3.18.9-1ubuntu3.3 has been installed
ubuntu-minimal: Depends: apt but it is not installed
update-notifier-common: PreDepends: apt (> = 1.1 ~) but it is not installed
Depends: python3: any but it is a virtual package
Depends: update-manager-core (> = 1: 16.04.6) but 1: 16.04.15 is installed

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

You mentioned 'upgrade' instead of a re-install. The change to x86 (32-bit) to x86_64 (64-bit) requires re-install. Did you re-install? or how did you 'upgrade' your system from x86 to x86_64 (ie. change architecture).
– guivercFeb 15 at 8:06

I actually did not re-install I have no idea at all how that works in Linux. I just did found a page and followed the steps explained there and horribly screwed up.
– gaming4all playsFeb 15 at 8:10

3

Well the previous answer you apparently followed says "... took me the better part of a week. Including manually fixing 600+ broken packages in aptitude" so you shouldn't be too surprised to find yourself in this situation
– steeldriverFeb 15 at 8:31

3

I would suggest you just re-install. It can be done by Backup!, download install media (the release of Ubuntu you want in x86_64), verify download (md5sum) then write to install-media. Boot it, verify it (just a safety step), then select 'install' & 'somethign else'. Something else has the option to re-install using same partitions without format, allowing you to re-install over your existing system. The installer will take note of your install apps, erase system dirs & install, then re-add the apps you had (providing they're from Ubuntu repos) & ask you to reboot. It's pretty easy.
– guivercFeb 15 at 9:22

That's unfortunate, you've found yourself in a position where you have somehow removed the underlying package tools from your installation. See this answer for how to remedy that.
– Kristopher IvesFeb 15 at 9:23