<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2024 at 3:54 PM Robert Heller <<a href="mailto:heller@deepsoft.com">heller@deepsoft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Try 'apt update'.  Usually what is wrong is your package lists are out of date <br>
or out of sync.  apt update generally fixes.  The *debian* package is <br>
"mis-featured" -- the package list DB is sepaately updated from package <br>
install/update.  RHel does things differently -- yum/dnf always does the <br>
"logical equivalent" of apt update as an integeral part of any install or <br>
update (1 command does it all). Rule of thumb: before any apt <whatever>, do <br>
an apt update first.<br>
<br>
At Thu, 25 Apr 2024 15:41:54 -0400 "Ubuntu user technical support,? not for general discussions" <<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a>> wrote:<br>
<br>
> <br>
> something is messed up on apt.  fix broken does not fix anything -<br>
> how do I fix it.<br>
> <br>
> -----<br>
> 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<br>
> installed<br>
>  libc6-dev : Depends: libc6 (= 2.38-1ubuntu6.2) but 2.38-1ubuntu6.1 is<br>
> installed<br>
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or<br>
> specify a solution).<br>
> <br>
> <br>
> <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<br>
> need to install the Cwd module) (@INC contains: /etc/perl<br>
> /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0<br>
> /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5<br>
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36<br>
> /usr/share/perl/5.36 /usr/local/lib/site_perl) at<br>
> /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<br>
> 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<br>
> libc6:amd64 (2.38-1ubuntu6.2) ...<br>
> Can't locate POSIX.pm in @INC (you may need to install the POSIX module)<br>
> (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0<br>
> /usr/local/sha<br>
> re/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5<br>
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36<br>
> /usr/share/perl/<br>
> 5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/Template.pm line<br>
> 7.<br>
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm<br>
> line 7.<br>
> Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line<br>
> 8.<br>
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm<br>
> 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<br>
> 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<br>
> /var/cache/apt/archives/libc6_2.38-1ubuntu6.2_amd64.deb (--unpack):<br>
>  new libc6:amd64 package pre-installation script subprocess returned error<br>
> 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<br>
> libc6:i386 (2.38-1ubuntu6.2) ...<br>
> Can't locate POSIX.pm in @INC (you may need to install the POSIX module)<br>
> (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0<br>
> /usr/local/sha<br>
> re/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5<br>
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36<br>
> /usr/share/perl/<br>
> 5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/Template.pm line<br>
> 7.<br>
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm<br>
> line 7.<br>
> Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line<br>
> 8.<br>
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm<br>
> 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<br>
> 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<br>
> /var/cache/apt/archives/libc6_2.38-1ubuntu6.2_i386.deb (--unpack):<br>
>  new libc6:i386 package pre-installation script subprocess returned error<br>
> 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>
> <br>
> <br>
> What do I do with the above ?<br>
> <br>
> Jerry<br>
> <br>
<br>
-- <br>
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364<br>
Deepwoods Software        -- Custom Software Services<br>
<a href="http://www.deepsoft.com/" rel="noreferrer" target="_blank">http://www.deepsoft.com/</a>  -- Linux Administration Services<br>
<a href="mailto:heller@deepsoft.com" target="_blank">heller@deepsoft.com</a>       -- Webhosting Services<br>
<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></blockquote><div><br></div><div><br></div>apt update<br>Hit:1 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> mantic InRelease<br>Hit:2 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> mantic-updates InRelease                                    <br>Hit:3 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> mantic-backports InRelease                                  <br>Hit:4 <a href="https://dl.google.com/linux/chrome/deb">https://dl.google.com/linux/chrome/deb</a> stable InRelease                                         <br>Hit:5 <a href="http://security.ubuntu.com/ubuntu">http://security.ubuntu.com/ubuntu</a> mantic-security InRelease            <br>Hit:6 <a href="https://linux.teamviewer.com/deb">https://linux.teamviewer.com/deb</a> stable InRelease<br>Reading package lists... Done<br>Building dependency tree... Done<br>Reading state information... Done<br>35 packages can be upgraded. Run 'apt list --upgradable' to see them.<br><div><br></div><div><br></div><div>But it does no update them. The list command does show libc6.</div><div><br></div><div>how do I apply them ? I thought apt update would do that?</div><div><br></div><div>Thanks</div><div><br></div><div>Jerry </div></div></div>