So I bought a System76 laptop, and it doesn't let me install anything.

I did try to run it, and it said-

sudo apt-get -f install Reading package lists... Done Building dependency tree
Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: gir1.2-networkmanager-1.0 gir1.2-nmgtk-1.0 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libc6:i386 Suggested packages: glibc-doc:i386 locales:i386 The following NEW packages will be installed: libc6:i386 0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded. 11 not fully installed or removed. Need to get 0 B/2,316 kB of archives. After this operation, 9,811 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Preconfiguring packages ... (Reading database ... 179185 files and directories currently installed.) Preparing to unpack .../libc6_2.23-0ubuntu7_i386.deb ... Unpacking libc6:i386 (2.23-0ubuntu7) ... Processing triggers for libc-bin (2.23-0ubuntu7) ... Setting up gcc-6-base:i386 (6.0.1-0ubuntu1) ... dpkg: error processing package imagemagick-common (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration Setting up libtiff5:amd64 (4.0.6-1ubuntu0.2) ... dpkg: dependency problems prevent configuration of libmagickcore-6.q16-2:amd64: libmagickcore-6.q16-2:amd64 depends on imagemagick-common (= 8:6.8.9.9-7ubuntu5.7); however: Package imagemagick-common is not configured yet.

dpkg: error processing package libmagickcore-6.q16-2:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libmagickwand-6.q16-2:amd64: libmagickwand-6.q16-2:amd64 depends on libmagickcore-6.q16-2 (>= 8:6.8.9.9); however: Package libmagickcore-6.q16-2:amd64 is not configured yet. libmagickwand-6.q16-2:amd64 depends on imagemagick-common (= 8:6.8.9.9-7ubuntu5.7); however: Package imagemagick-common is not configured yet.

dpkg: error processing package libmagickwand-6.q16-2:amd64 (--configure): dependency problems - leaving unconfigured Setting up libc6:i386 (2.23-0ubuntu7) ... No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. Setting up liblzma5:i386 (5.1.1alpha+20120614-2ubuntu2) ... Setting up libpcre3:i386 (2:8.38-3.1) ... Setting up libgpg-error0:i386 (1.21-2ubuntu1) ... Setting up libgcrypt20:i386 (1.6.5-2ubuntu0.2) ... Setting up libselinux1:i386 (2.4-3build2) ... Setting up libgcc1:i386 (1:6.0.1-0ubuntu1) ... Processing triggers for libc-bin (2.23-0ubuntu7) ... Errors were encountered while processing: imagemagick-common libmagickcore-6.q16-2:amd64 libmagickwand-6.q16-2:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)

/r/Ubuntu Thread Parent