Could use some help on libc6-dev

Discussion in 'all things UNIX' started by Palancar, Feb 9, 2020.

  1. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,210
    Guys I could really use a steer if someone has one for me. I am running Buster on the machine in question. Upgrading and using a usb3 antenna for ac internet speeds. I have this driver installed on several other buster machines and it is fast as hell.

    On this machine somehow, someway, I have caused a broken package. and the driver won't install. Let me paste in the terminal output below to see if you guys can give me a way to correct this scenario:

    attempted terminal install of libc6-dev after downloading from Debian mirror to my Desktop

    XXX@debian:~$ cd Desktop && sudo dpkg -i libc6-dev_2.28-10_amd64.deb
    [sudo] password for XXX:
    Selecting previously unselected package libc6-dev:amd64.
    (Reading database ... 235438 files and directories currently installed.)
    Preparing to unpack libc6-dev_2.28-10_amd64.deb ...
    Unpacking libc6-dev:amd64 (2.28-10) ...
    dpkg: dependency problems prevent configuration of libc6-dev:amd64:
    libc6-dev:amd64 depends on libc6 (= 2.28-10); however:
    Version of libc6:amd64 on system is 2.29-2.
    libc6-dev:amd64 depends on libc-dev-bin (= 2.28-10); however:
    Package libc-dev-bin is not installed.

    dpkg: error processing package libc6-dev:amd64 (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    libc6-dev:amd64
    XXX@debian:~/Desktop$

    Question: does anyone know of a reasonable way to downgrade libc6 to 2.28-10 from the current version libc6 2.29-2? I have a crap load of personal modifications on this drive so avoiding a scratch reinstall would be highly preferable. Should a reinstall be required I may elect to stay with the older slower motherboard nics on this machine. A rebuild would be a solid day and a half at least. This Buster OS is running slick, updates great, and is flawless up until I decided to load the linux driver that comes with the antenna. Again, it works fine on my other Buster setups. Don't remember what I did that would cause the 2.29-2 version to be on this system. Ideas anybody?

    ps - Support for the driver (realtek) says ANY version of libc6-dev will work, so even some upgraded version of that would be fine.
     
  2. Stefan Froberg

    Stefan Froberg Registered Member

    Joined:
    Jul 30, 2014
    Posts:
    744
  3. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,210

    That link has some great reading. THANK YOU. I will come back and post if this works so others can use it if they end up in a ditch like me, LOL! It may be a day or so until I get to it.
     
  4. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    1,057
    Location:
    Member state of European Union
    libc6 is at the core of Debian Gnu/Linux. Debian Buster comes with version 2.28-10 of libc6, so you managed to create FrankenDebian.
    Paste output of:
    Code:
    apt-cache policy libc6
    apt-cache policy libc6-dev
     
  5. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,210
    Yep, guilty. I have read alot about FrankenDebians --- nightmares really.

    XXX@debian:~$ sudo apt-cache policy libc6 && apt-cache policy libc6-dev
    [sudo] password for XXX:
    libc6:
    Installed: 2.29-2
    Candidate: 2.29-2
    Version table:
    *** 2.29-2 100
    100 /var/lib/dpkg/status
    2.28-10 500
    500 http://ftp.de.debian.org/debian buster/main amd64 Packages
    500 http://ftp.us.debian.org/debian buster/main amd64 Packages
    libc6-dev:
    Installed: (none)
    Candidate: 2.28-10
    Version table:
    2.28-10 500
    500 http://ftp.de.debian.org/debian buster/main amd64 Packages
    500 http://ftp.us.debian.org/debian buster/main amd64 Packages
    XXX@debian:~$

    I have tested the waters in a terminal for downgrade: sudo apt install libc6-dev=2.28-10 libc6=2.28-10 libc-dev-bin=2.28-10

    If I would have allowed my system to complete that downgrade it would have been an explosion with over 400 files being removed. Frankens are a mess. I don't have any idea what I did because it was so stupid! As I mentioned earlier this OS runs so well. The realtek driver I need for the antenna requires libc6-dev (any version). So, live with slower already working nics OR a from scratch install.

    Any other ideas?
     
  6. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,210

    Found out how I created a "Franken". When I was running Stretch I wanted to have FF Quantum, which was not in the stable repository. In my genius and after reading around online I added the SID respository to the sources list and added PIN priorities to keep the rest of my Stretch OS at stable versions. Paste below. Since that time I upgraded to Buster without issues at all. Once again, running slick.


    #lines added for quantum firefox
    deb http://ftp.us.debian.org/debian/ sid main
    deb-src http://ftp.us.debian.org/debian/ sid main


    sudo gedit /etc/apt/preferences



    GNU nano 3.2 /etc/apt/preferences

    Package: *
    Pin: release a=stable
    Pin-Priority: 500

    Package: *
    Pin: release a=unstable
    Pin-Priority: 2

    Package: firefox
    Pin: release a=unstable
    Pin-Priority: 501

    Package: libfontconfig1
    Pin: release a=unstable
    Pin-Priority: 501

    Package: fontconfig-config
    Pin: release a=unstable
    Pin-Priority: 501

    Package: libnss3
    Pin: release a=unstable
    Pin-Priority: 501

    end paste.

    I no longer use the SID repo. I doubt removing these PIN settings is likely to help me but tomorrow I may give it a try.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.