Apt giving error --fix-broken not working
Robert Heller
heller at deepsoft.com
Thu Apr 25 20:28:51 UTC 2024
At Thu, 25 Apr 2024 16:18:29 -0400 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>
> On Thu, Apr 25, 2024 at 4:15â¯PM Colin Law <clanlaw at gmail.com> wrote:
>
> > On Thu, 25 Apr 2024 at 21:05, Jerry Geis <jerry.geis at gmail.com> wrote:
> > >
> > > 35 packages can be upgraded. Run 'apt list --upgradable' to see them.
> > >
> > >
> > > But it does no update them. The list command does show libc6.
> > >
> > > how do I apply them ? I thought apt update would do that?
> >
> > apt upgrade
> >
> > Colin L
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> apt upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
> libc6-dbg : Depends: libc6 (= 2.38-1ubuntu6.2) but 2.38-1ubuntu6.1 is
> installed
> libc6-dev : Depends: libc6 (= 2.38-1ubuntu6.2) but 2.38-1ubuntu6.1 is
> installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
> specify a solution).
apt purge libc6-dbg libc6-dev
apt update
apt upgrade
apt install libc6-dbg libc6-dev
Note:
This might actually work also:
apt update
apt update
apt full-upgrade
(optionally:
apt autoremove
)
The difference between apt upgrade and apt full-upgrade is that their are some
packages that get a new version *installed*, rather than upgrading. Generaly
this applies to *kernels*, but might include other packages.
>
--
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