Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: Ubuntu-Forum & Kubuntu-Forum | www.Ubuntu-Forum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

  • »Danjel4u« ist der Autor dieses Themas

Beiträge: 4

Registrierungsdatum: 29.09.2014

Derivat: Kein Ubuntu-Derivat

Architektur: 64-Bit PC

  • Nachricht senden

1

05.04.2021, 14:06

libc6 Downgrade mit Fehlermeldung - Ubuntu 20.04

Servus,

ich versuche bei libc6 ein Downgrade durchzuführen leider erhalte ich folgende Meldung:
(Habe auch versucht die libc6 manuell runterzuladen und zu installieren auch die gleiche Meldung)

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
root@ubuntu-server /tmp > apt-get install libc6=2.31-0ubuntu9.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  glibc-doc locales
The following held packages will be changed:
  libc6
The following packages will be DOWNGRADED:
  libc6
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 0 B/2715 kB of archives.
After this operation, 158 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de_DE.UTF-8",
        LC_ALL = "de_DE.UTF-8",
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)



Bin mal die Meldung mit locale ran gegangen. locales ist bei mir nicht installieret. Wollte es nachinstallieren und erhalte die Meldung die mich zum Problem von oben bringt.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
root@ubuntu-server /tmp > apt-get install locales
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6 : Breaks: locales (< 2.32) but 2.31-0ubuntu9.2 is to be installed
         Recommends: libnss-nis but it is not installable
         Recommends: libnss-nisplus but it is not installable
 locales : Depends: libc-bin (> 2.31) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.



Manuell Installation:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
root@ubuntu-server /tmp > apt install ./locales_2.32-0ubuntu3_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'locales' instead of './locales_2.32-0ubuntu3_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 locales : Depends: libc-bin (> 2.32) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.






Vielen Dank schonmal

Edit Lösung:
cd /tmp
dpkg -x libc-bin*.deb libcdir/
sudo cp libcdir/sbin/ldconfig /sbin/
sudo apt-get install --reinstall libc-bin
sudo apt-get install -f

dann konnte ich mit dem Downgrade weitermachen.

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Danjel4u« (05.04.2021, 21:10) aus folgendem Grund: Lösung