<div dir="auto">You have to give apt a directive, like install, along with the --fix-broken option.<div dir="auto"><br></div><div dir="auto">Iirc, you also need to specify a package to act on. </div><div dir="auto"><br></div><div dir="auto">HTH</div><div dir="auto"><br></div><div dir="auto">Mark</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2024, 12:44 Jerry Geis <<a href="mailto:jerry.geis@gmail.com">jerry.geis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>something is messed up on apt.  fix broken does not fix anything -</div><div>how do I fix it.</div><div><br></div><div>-----</div>You might want to run 'apt --fix-broken install' to correct these.<br>The following packages have unmet dependencies:<br> libc6-dbg : Depends: libc6 (= 2.38-1ubuntu6.2) but 2.38-1ubuntu6.1 is installed<br> libc6-dev : Depends: libc6 (= 2.38-1ubuntu6.2) but 2.38-1ubuntu6.1 is installed<br>E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).<div><br></div><div><br></div><div><br>root@silentm:~# apt --fix-broken install<br>Reading package lists... Done<br>Building dependency tree... Done<br>Reading state information... Done<br>Correcting dependencies... Done<br>The following additional packages will be installed:<br>  libc6 libc6:i386<br>Suggested packages:<br>  glibc-doc glibc-doc:i386 locales:i386<br>The following packages will be upgraded:<br>  libc6 libc6:i386<br>2 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.<br>79 not fully installed or removed.<br>Need to get 0 B/6,247 kB of archives.<br>After this operation, 2,048 B of additional disk space will be used.<br>Do you want to continue? [Y/n] y<br>debconf: Perl may be unconfigured (Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl/5.36/File/Path.pm line 6.<br>BEGIN failed--compilation aborted at /usr/share/perl/5.36/File/Path.pm line 6.<br>Compilation failed in require at (eval 1) line 3.<br>BEGIN failed--compilation aborted at (eval 1) line 3.<br>) -- aborting<br>(Reading database ... 310846 files and directories currently installed.)<br>Preparing to unpack .../libc6_2.38-1ubuntu6.2_amd64.deb ...<br>De-configuring libc6:i386 (2.38-1ubuntu6.1), to allow configuration of libc6:amd64 (2.38-1ubuntu6.2) ...<br>Can't locate POSIX.pm in @INC (you may need to install the POSIX module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/sha<br>re/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/<br>5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/Template.pm line 7.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 7.<br>Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.<br>Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.<br>Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.<br>Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.<br>Compilation failed in require at /usr/share/debconf/frontend line 6.<br>BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.<br>dpkg: error processing archive /var/cache/apt/archives/libc6_2.38-1ubuntu6.2_amd64.deb (--unpack):<br> new libc6:amd64 package pre-installation script subprocess returned error exit status 2<br>Preparing to unpack .../libc6_2.38-1ubuntu6.2_i386.deb ...<br>De-configuring libc6:amd64 (2.38-1ubuntu6.1), to allow configuration of libc6:i386 (2.38-1ubuntu6.2) ...<br>Can't locate POSIX.pm in @INC (you may need to install the POSIX module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/sha<br>re/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/<br>5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/Template.pm line 7.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 7.<br>Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.<br>Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.<br>Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.<br>Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.<br>BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.<br>Compilation failed in require at /usr/share/debconf/frontend line 6.<br>BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.<br>dpkg: error processing archive /var/cache/apt/archives/libc6_2.38-1ubuntu6.2_i386.deb (--unpack):<br> new libc6:i386 package pre-installation script subprocess returned error exit status 2<br>Errors were encountered while processing:<br> /var/cache/apt/archives/libc6_2.38-1ubuntu6.2_amd64.deb<br> /var/cache/apt/archives/libc6_2.38-1ubuntu6.2_i386.deb<br>needrestart is being skipped since dpkg has failed<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br></div><div><br></div><div><br></div><div>What do I do with the above ?</div><div><br></div><div>Jerry</div></div>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank" rel="noreferrer">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</blockquote></div>