Broken APT -- how to fix this?

Robert Heller heller at deepsoft.com
Wed Nov 30 20:47:05 UTC 2022


At Wed, 30 Nov 2022 20:27:49 +0100 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Wed, 2022-11-30 at 13:18 -0500, Robert Heller wrote:
> > The following packages were automatically installed and are no longer required:
> >   mxe-x86-64-unknown-linux-gnu-mxe-conf 
> > Use 'sudo apt autoremove' to remove them.
> 
> > The following additional packages will be installed:
> >   mxe-x86-64-pc-linux-gnu-cmake-conf mxe-x86-64-pc-linux-gnu-mxe-conf
> > The following NEW packages will be installed:
> >   mxe-x86-64-pc-linux-gnu-cmake-conf mxe-x86-64-pc-linux-gnu-mxe-conf
> 
> >  trying to overwrite '/usr/lib/mxe/usr/bin/config.guess', which is also in package mxe-x86-64-unknown-linux-gnu-mxe-conf 1-20170208
> >  trying to overwrite '/usr/lib/mxe/usr/share/cmake/modules/FindFreetype.cmake', which is also in package mxe-x86-64-unknown-linux-gnu-mxe-conf 1-20170208
> 
> Hi,
> 
> this log tells you that two files are provided by a package that is
> seemingly from a third party repository. The package name is
> mxe-x86-64-unknown-linux-gnu-mxe-conf
> It also tells you that you can remove the unnecessary conflicting
> package by running
> 
> sudo apt autoremove

This failed.

> 
> you probably also need to run
> 
> sudo apt update
> sudo dpkg --configure -a
> sudo apt install -f
> 
> to fix the broken install.
> 

I ended up *manually* removing the packages one-by-one with sudo dpkg 
--purge... That seemed to have cured things.  I then re-installed everything.

> Regards,
> Ralf
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
      



More information about the ubuntu-users mailing list