• Re: Debian

    From Andy Smith@21:1/5 to All on Fri Apr 11 17:30:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Andy Smith on Fri Apr 11 17:50:01 2025
    On Fri, Apr 11, 2025 at 03:27:10PM +0000, Andy Smith wrote:
    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.

    Worse than that, if this is the original netgear "firmware", I have no
    idea how close to a normal debian system it ever was, what the actual
    hardware is, or whether that hardware is supported by debian itself (vs
    only with netgear modifications). A quick google suggests that the
    netgear modifications are extensive enough that the device would no
    longer have its original functionality, but I don't know if it would be possible to turn it into a generic server rather than a "netgear duo appliance".

    As a general matter, to upgrade this it would be necessary to do an
    upgrade to each intermediate release, so from squeeze to wheezy to
    jessie to stretch to buster to bullseye to bookworm. Most of those are
    long since out of support, though available via archive.debian.org. *If*
    the underlying hardware works with a normal debian, this is possible
    (though tedious) but there are some gotchas around things like long-since-expired signatures which need to be manually overriden. I
    would probably recommend not going down this route unless you have a
    great deal of experience with debian on non-standard hardware. There may
    be resources available from other netgear users which could help you
    upgrade, but you'd need to search for those outside of debian itself
    (maybe on netgear forums or such). If there were some recipie for a
    fresh install vs a very long upgrade path, your goals would probably be
    more achievable.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Mon Apr 14 18:40:01 2025
    Worse than that, if this is the original netgear "firmware", I have no idea how close to a normal debian system it ever was, what the actual hardware
    is, or whether that hardware is supported by debian itself (vs only with netgear modifications). A quick google suggests that the netgear modifications are extensive enough that the device would no longer have its original functionality, but I don't know if it would be possible to turn it into a generic server rather than a "netgear duo appliance".

    At least OpenWRT seems to support this device, so there's a recent Linux
    kernel which supports that hardware.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)