Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 43421  / 1 Year ago, thu, january 19, 2023, 1:01:52

I can't install any package, as I get this error:



installArchives() failed: E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.7.2-2ubuntu1_amd64.deb containing libgcc1:amd64, pre-dependency problem:
libgcc1 pre-depends on multiarch-support
multiarch-support is unpacked, but has never been configured.

dpkg: error processing /var/cache/apt/archives/libgcc1_1%3a4.7.2-2ubuntu1_amd64.deb (--unpack):
pre-dependency problem - not installing libgcc1:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libgcc1_1%3a4.7.2-2ubuntu1_amd64.deb
Error in function:
dpkg: dependency problems prevent configuration of libc6:amd64:
libc6:amd64 depends on libgcc1; however:
Package libgcc1 is not installed.
libc6:amd64 depends on tzdata; however:
Package tzdata is not installed.

dpkg: error processing libc6:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
multiarch-support depends on libc6 (>= 2.3.6-2); however:
Package libc6:amd64 is not configured yet.

dpkg: error processing multiarch-support (--configure):
dependency problems - leaving unconfigured

More From » apt

 Answers
1

Here the solution for this problem, super easy way ;)



You have to use dpkg direct to solve this problem sometimes.



"Here we go again"



The package multiarch-support is unpacked, but has never been configured this means the package soon will configure, but is not configured yet.



When is the status unpacked the package is not installed yet, so the package libgcc1 cannot install because of the dependency is not installed yet and cannot be installed before multiarch-support.



We have to force the installed status for multiarch-support to do the trick.



nano /var/lib/dpkg/status


find the the line starting with Package:
something like:



Package: multiarch-support
Status: install ok unpacked


You have to change the unpacked to installed



Now try:



sudo dpkg --configure --pending
sudo apt-get install --reinstall multiarch-support libgcc1 debconf


I think you can get the system working again this way, let me known if you can do.


[#34111] Thursday, January 19, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oileweaty

Total Points: 337
Total Questions: 108
Total Answers: 105

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
oileweaty questions
Thu, Jul 1, 21, 01:57, 3 Years ago
Wed, Nov 24, 21, 11:48, 2 Years ago
Sat, May 14, 22, 00:50, 2 Years ago
;