| View previous topic :: View next topic |
| Author |
Message |
papapenguin l33t


Joined: 20 Sep 2005 Posts: 645 Location: Bellevue
|
Posted: Sun Apr 01, 2012 5:15 am Post subject: |
|
|
sadly, too late...
I took the chance and now I'm locked out...
| Quote: | | Unable to change owner or mode of tty stdin: Read-only file systemdonald@(none)~ $ |
damn my impatientience...
I did just update portage yesterday
sys-apps/portage-2.1.10.52
now...help?... _________________ --------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------ |
|
| Back to top |
|
 |
papapenguin l33t


Joined: 20 Sep 2005 Posts: 645 Location: Bellevue
|
Posted: Sun Apr 01, 2012 5:50 am Post subject: |
|
|
ok, so I'm back in at the command line by editing the kernel command line in grub and running
| Code: | | mount -o rw,remount / |
I found this, but no with no real answers...
http://forums.gentoo.org/viewtopic-t-873907-start-0.html
...not sure if I should rebuild from install cd, or if there's another way... _________________ --------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------ |
|
| Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1634
|
Posted: Sun Apr 01, 2012 2:42 pm Post subject: |
|
|
Could you explain what exactly you did?
In the first post, you said that you masked the latest (I assume 8.30) and downgraded to 8.21, but after a while, having already upgraded grep?
If so, why did you decide to downgrade?
You can verify what happened by running this (since there's not grep you can use sed):
| Code: | | sed -n '/Merging/{/libpcre/p; /grep/p}' /var/log/emerge.log |
If that's correct, try this - you'll downgrade your grep to the version in the tinderbox:
| Code: | # mkdir -p /usr/portage/packages/sys-apps
# cd /usr/portage/packages/sys-apps
# wget tinderbox.dev.gentoo.org/default-linux/amd64/sys-apps/grep-2.5.4-r1.tbz2
# emerge -aK =grep-2.5.4-r1 |
If that works, please post. _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
| Back to top |
|
 |
papapenguin l33t


Joined: 20 Sep 2005 Posts: 645 Location: Bellevue
|
Posted: Sun Apr 01, 2012 8:16 pm Post subject: |
|
|
I'm not sure the exact order...I must have upgraded grep, masked the latest libpcre, then it asked for libpcre to be rebuilt and that created the crash...on rebuild, it must have destroyed libpcre?
I have wpa_supplicant and wpa_gui as my wireless, but I'm not sure how to use them at command line, therefore don't have internet... _________________ --------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------ |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7679
|
Posted: Sun Apr 01, 2012 8:35 pm Post subject: |
|
|
| papapenguin wrote: | | I have wpa_supplicant and wpa_gui as my wireless, but I'm not sure how to use them at command line, therefore don't have internet... | Do you not have a wired connection you can use in emergencies? You could follow Etal's steps from a LiveCD if that provides working Internet access. To do that, boot the LiveCD, mount your filesystems, prepend the root mountpoint to the paths Etal showed, then chroot in to run the emerge.
| Etal wrote: | | Sadly tinderbox only has libpcre-8.12.tbz2 (which is libpcre.so.0), so I don't think that would work... | True, it may be behind, but I expect that the binaries it provides are at least self-consistent. If he cannot get a new libpcre, then the grep that you later suggested he download should still be linked against the old libpcre. Switching both packages to old versions is not ideal, but should at least produce a working system. |
|
| Back to top |
|
 |
papapenguin l33t


Joined: 20 Sep 2005 Posts: 645 Location: Bellevue
|
Posted: Sun Apr 01, 2012 10:48 pm Post subject: |
|
|
ok, thanks all...here was the solution:
since I couldn't download anything, I had to boot from CD...I plugged in an ethernet cable to my router and following the steps to chroot, I allowed the boot CD to run until the command prompt, where I
then mounted the partitions, I didn't need to make a swap partition, or directory, since they were intact
| Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot |
I didn't need a portage snapshot, so I skipped to chrooting, first copying my DNS
| Code: | | cp -L /etc/resolv.conf /mnt/gentoo/etc/ |
then mounted proc and dev
| Code: | mount -t proc none /mnt/gentoo/proc
mount --rbind /dev /mnot/gentoo/dev |
then chrooted
| Code: | chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1" |
I then followed etal's advice
| Code: | # mkdir -p /usr/portage/packages/sys-apps
# cd /usr/portage/packages/sys-apps
# wget tinderbox.dev.gentoo.org/default-linux/amd64/sys-apps/grep-2.5.4-r1.tbz2
# emerge -aK =grep-2.5.4-r1 |
ran emerge --sync, updated grep then shutdown and re-entered my old system... _________________ --------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------ |
|
| Back to top |
|
 |
papapenguin l33t


Joined: 20 Sep 2005 Posts: 645 Location: Bellevue
|
Posted: Sun Apr 01, 2012 11:19 pm Post subject: |
|
|
now that I'm here, I've rebuilt libpcre-8.21 and run revdep rebuild, which is building 10 packages
| Code: | emerge --complete-graph=y --oneshot --autounmask=n app-admin/apache-tools:0 app-admin/syslog-ng:0 dev-lang/R:0 dev-lang/php:5.4 dev-lang/swig:0 dev-libs/rasqal:0 dev-vcs/git:0 kde-base/kdelibs:4 sys-apps/less:0 www-servers/apache:2
..........
Calculating dependencies... done! |
I think my problem is solved... _________________ --------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------ |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1587 Location: US
|
Posted: Sun Apr 01, 2012 11:32 pm Post subject: |
|
|
papapenguin,
Glad to hear that! I was hoping that some of the heavy-hiters would come up with with a suggestion - and they did.
Hope this works out. |
|
| Back to top |
|
 |
bgregorcy n00b

Joined: 19 May 2006 Posts: 61 Location: SLC
|
Posted: Wed Apr 11, 2012 8:44 pm Post subject: Thanks |
|
|
| Had the same issue the above solved it for me also |
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Wed Jun 06, 2012 1:20 pm Post subject: |
|
|
The BIG problem for me here is my portage is on an NFS partition, and as nothing with "load", i.e. NFS sysfs devfs rpcbind etc, I can't see my server.
Which in turn means I can't upgrade libpcre back to the 8.30 version.
I will add, I ran an update to the world last night before going to bed, and libpcre was DOWNGRADED by portage to libpcre-8.21
I thought nothing of it as no warnings were given.
Today I turn on my PC to find I have an unbootable system.
I ran eix-update and now my database is way out of date.
Any ideas on how to get this broken system to see my portage NFS share, as the libpcre-so.1 problem is preventing me from doing anything jut now.
TIA.
P.S. I am doing this from a chroot env just now. (via Live DVD)
EDIT: UPDATE:
Okay, so I manually copied over the libpcre folder from my NFS server and put into the local folder and updated my database using eix.
Naturally the entire database was out of date, but at least the newer versions of libpcre re-appeared. I still encountered the missing shared object problem, but recreated a symlink and it compiled fine after that.
At least now I can boot up my system again. Although I can not update to the latest stable version (8.30-r2), as the build fails.
I don't know why.
But hey ho, I am up and running again.
Now I need to figure out why portage wanted to downgrade libpcre. Time to use some tools to figure why that happened, and indeed find out why the latest stable version won't compile.
Cheers for the insight on this post. Came in handy. _________________ Whatever you do, do it properly! |
|
| 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
|
|