frankd wrote: 
> Great News. 
> It seems that there is only one changelog for all versions of glibc -
> the installed Raspbian version should also include the changes
> specifically introduced for the Raspberry while the new version has only
> the original changelogs of Debian. 
> Good workaround - I would actually delet the new one and restore the
> name of the original one (to keep the system as clean as possible).  I
> think we can also make a more convenient version of the new deb package
> by removing this file (note to myself: also remove the MD5 entry of the
> file and TOC entry if available).
> 
> When we will have a second success report, I will update the tutorial on
> the first page (It will get longer and longer with the Deb-package
> modification....). The good thing is that you do not need any external
> program for all of this, all can be done with a raspberry...


Just tested by myself. 
the instructions for Buster (replacing step 2-4 of the original tutorial
on the first page) are:

-------------------  
Check the current libc6 version of the Raspberry: dpkg -s libc6:armhf
Find the equivalent  version of the i386 libc Debian package from
https://packages.debian.org/buster/i386/libc6 (currently
libc6_2.28-10_i386.deb)
Adapt the lines below with your version:


wget
http://ftp.us.debian.org/debian/pool/main/g/glibc/libc6_2.28-10_i386.deb
mkdir -p newpack oldpack/DEBIAN
dpkg-deb -x libc6_2.28-10_i386.deb oldpack/
dpkg-deb -e libc6_2.28-10_i386.deb oldpack/DEBIAN
nano oldpack/DEBIAN/control
        Set the version to the Rasbian version (add +rpi1) and remove the
dependency of libgcc1 and save the file
dpkg-deb -Z xz -b oldpack/ newpack/
rm oldpack/usr/share/doc/libc6/changelog.Debian.gz
nano oldpack/DEBIAN/md5sums     
        Remove the line with the MD5 Sums for changelog.Debian.gz

The new package is now in the subfolder newpack, with the name of the
new version (e.g. libc6_2.28-10+rpi1_i386.deb)
Install the new package: 
sudo dpkg -i newpack/libc6_2.28-10+rpi1_i386.deb

-------------------------

If you update the libraries with sudo apt dist-upgrade and a new version
of libc6 will have been published in the meantime, the upgrade will fail
due to version mismatches. 
In this case remove the libc6:i386 version (sudo apt-get purge
libc6:i386) run the distribution upgrade and follow the steps of
re-packaging and installing the new libc6:i386

Would be great to get confirmation that this approach works for somebody
else.


------------------------------------------------------------------------
frankd's Profile: http://forums.slimdevices.com/member.php?userid=52885
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to