View previous topic :: View next topic |
Author |
Message |
mjrosenb Tux's lil' helper
Joined: 12 Jun 2006 Posts: 115 Location: CMU
|
Posted: Tue Feb 27, 2007 11:55 am Post subject: Downgrading glibc on an alpha |
|
|
This may be a silly problem, but it is stupid o'clock. My alpha stopped booting sometime in the last week, and now that I have something off the live cd, glibc has been masked, and wants to downgrade. Seeing as how the machine currently doesn't boot, I'd like to try downgrading, but portage refuses to let me do so. Any easy way to do this? _________________ I'll be mjrosenb on #${COMPUTER_RELATED_SUBJECT}
1x i386 laptop w/ Gentoo
4x i386 desktop w/ Gentoo
2x dual proc i386 w/dragonfly bsd
1x x86-64 desktop w/ Gentoo
1x i386 desktop w/ FreeBSD
1x alpha workstation w/ Gentoo
looking for more |
|
Back to top |
|
|
KiberGus Tux's lil' helper
Joined: 16 Apr 2005 Posts: 81 Location: Moskow, Russia
|
Posted: Tue Feb 27, 2007 12:34 pm Post subject: |
|
|
Portage says true. Thre is a way to downgrade glibc, but this would brake your system.
Copy all your system files, then use this script:
Code: |
#!/bin/bash
CBUILD=$(portageq envvar CHOST)
PORTAGE_CONFIGROOT="/"
if [[ "$1" == "--root" ]] ; then
ROOT="$2"
shift 2
else
ROOT="$SYSROOT"
fi
export CBUILD PORTAGE_CONFIGROOT ROOT
LDFLAGS="-l/usr/armv5tel-gnueabi-linux-gnu/usr/lib/ -l/usr/armv5tel-gnueabi-linux-gnu/lib/ -l/pda/lib -l/pda/usr/lib ${LDFLAGS}"
emerge $*
|
xmerge --root "path where you copied your system files" -C glibc
xmerge --root "path where you copied your system files" =glibc-needed glibc version
After this that copy would contain older glibc, however it may (must) not work. But using the same script you car rebuild world with older glibc. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|