Hi, On Fri, Apr 11, 2025 at 04:50:01PM +0200, Rafał Grzywacz wrote: > Hello, I'm using a netgear readynas duo v2 nas server running linux debian > squeeze 6.0.3, when I try to install packages is E:... e.g. > # sudo apt-get install curl > E: Could not perform immediate configuration on 'libc6'. Please see man 5 > apt.conf under APT::Immediate-Configure for details. (2).
This is happening because something it wants to install needs a newer libc before it can be installed. It's essentially this problem: https://superuser.com/questions/199582/apt-error-could-not-perform-immediate-configuration-on/457224#457224 However, the release you're running (Debian 6 squeeze) went into limited lTS in 2014 and complete end of life in 2016. Packages for it don't exist any more on the regular Debian mirrors and would have to be obtained from archive.debian.net or a mirror of it. > the sources.list file with the > > deb [trusted=yes] http://archive.kernel.org/debian-archive/debian squeeze > main contrib non-free The above line appears to be using a mirror of archive.debian.net for EOL packages but you've had to use trusted=yes because the key has expired, so you no longer have strong assurance that you're installing genuine Debian packages. > deb http://http.debian.net/debian/ squeeze-lts main contrib non-free > # proposed additions for a 6.0 point release > deb http://ftp.us.debian.org/debian squeeze-proposed-updates main contrib > non-free The above won't work at all as the files aren't there any longer. > deb http://www.deb-multimedia.org/ unstable main non-free This one is not Debian and using packages from here is a good way to break even an otherwise supported system. > /usr/share/keyrings/deb-multimedia-keyring.pgp yes > deb http://ftp.pl.debian.org/debian sid main I dread to think why you also have a source for sid here. Mixing of sid with the ten+ year old packages on the rest of your system is a really really bad idea. Perhaps you only used it when squeeze was relatively new, as sid is always sid. Basically I wouldn't be looking at fixing this system, I would be looking at reinstalling it or taking it out back where it goes to live out the rest of its days on a farm. > As you can see I have problems that are not on my side, so please help me > because I would like to install packages. What can I do and how to do so > that I can install. You can try to follow the advice in the superuser link about the apt immediate-configure option, or try to upgrade libc first and alone, but this system is so broken that to be honest anything you do may break it further, and as it has no support whatsoever you'll just get to keep the pieces. This is a form of tech debt and now it's time to pay the interest. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting