Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading portage blocked by perl5. Help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Garbz
Apprentice
Apprentice


Joined: 02 Jul 2003
Posts: 260
Location: Brisbane, Australia

PostPosted: Wed Aug 20, 2003 8:45 am    Post subject: Upgrading portage blocked by perl5. Help Reply with quote

Hey all.

Just did an emerge sync and as usual it told me that an upgrade to portage was availuable. Emerge -UDp portage however did not work very well at all.

Here's the output:

Code:
>>> --upgradeonly implies --update... adding --update to options.
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[blocks B     ] <dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12)
[ebuild     U ] sys-libs/ncurses-5.3-r4 [5.3-r2]
[ebuild     U ] sys-apps/groff-1.18.1-r3 [1.18.1-r2]
[ebuild     U ] dev-java/java-config-0.2.8-r1 [0.2.8]
[ebuild     U ] app-shells/bash-2.05b-r7 [2.05b-r6]
[ebuild     U ] sys-kernel/linux-headers-2.4.19-r1 [2.4.19]
[ebuild     U ] sys-apps/shadow-4.0.3-r7 [4.0.3-r6]
[ebuild     U ] sys-apps/baselayout-1.8.6.10 [1.8.6.9]
[ebuild     U ] media-libs/freetype-2.1.4-r1 [2.1.4]
[ebuild     U ] sys-libs/db-4.0.14-r1 [3.2.9-r6]
[ebuild     U ] sys-devel/binutils-2.14.90.0.5-r1 [2.14.90.0.5]
[ebuild     U ] sys-apps/coreutils-5.0-r1 [5.0]
[ebuild     U ] sys-apps/debianutils-1.16.7-r3 [1.16.7-r2]
[ebuild     U ] sys-apps/portage-2.0.49_pre18 [2.0.48-r7]


obviously any attempt to upgrade portage fails.
Perl won't install!

Code:
Calculating dependencies ...done!
[blocks B     ] <dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12)
[ebuild   R   ] dev-lang/perl-5.8.0-r12


but strangly enough File-Spec will (and it appears as though it's already at the most recent verion.

Code:
laptop root # emerge -p File-Spec
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R   ] dev-perl/File-Spec-0.84-r1
 
laptop root # emerge -s File-Spec
Searching...
[ Results for search key : File-Spec ]
[ Applications found : 1 ]
 
*  dev-perl/File-Spec
      Latest version available: 0.84-r1
      Latest version installed: 0.84-r1
      Size of downloaded files: 27 kB


It also appears that perl is naturally already installed and is also at the latest version.

So how do i overcome this problem. Atm emerging anything with -UD flags will nearly always give the same error. especially updating world.

Any ideas?
_________________
Every begining is another begining's end.
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Wed Aug 20, 2003 9:28 am    Post subject: Reply with quote

Hi,

you have one package blocking another.
There have been some pretty good modifications to perl 5.8 for gentoo. These blockers are a sideeffect. You have to manually unmerge the blocking package, then emerge -U world.

Don't worry, no functionality will be lost.
Back to top
View user's profile Send private message
Garbz
Apprentice
Apprentice


Joined: 02 Jul 2003
Posts: 260
Location: Brisbane, Australia

PostPosted: Wed Aug 20, 2003 9:50 am    Post subject: Reply with quote

so is File-Spec or perl blocked ?

And which one do i unmerge. Is perl safe to unmerge?
_________________
Every begining is another begining's end.
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Wed Aug 20, 2003 10:08 am    Post subject: Reply with quote

FileSpec blocks perl, so unmerging FileSpec should resolve this block.

Do NOT unmerge Perl!! It's used in many places... You would not like to reinstall from scratch, would ya? :)
Back to top
View user's profile Send private message
Garbz
Apprentice
Apprentice


Joined: 02 Jul 2003
Posts: 260
Location: Brisbane, Australia

PostPosted: Wed Aug 20, 2003 10:55 am    Post subject: Reply with quote

that's what i though thanks a lot.

I couldn't remember if it was perl or python that was critical, I know one of them is used for portage, so naturally i touched nothing till u replied :lol:
_________________
Every begining is another begining's end.
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Wed Aug 20, 2003 11:26 am    Post subject: Reply with quote

Well, portage is written in python, but gcc uses perl in some places, so they are both critical :)
Back to top
View user's profile Send private message
ghardey
n00b
n00b


Joined: 11 Jun 2003
Posts: 15

PostPosted: Thu Aug 21, 2003 11:41 pm    Post subject: emerge perl only? Reply with quote

I had a similiar problem and FileSpec was one of my blocks. Both blocks were from the perl package. In an earlier post you recommended:
Code:
emerge -U world

Is that really necessary or could I just
Code:
emerge perl
? :?:
Back to top
View user's profile Send private message
Garbz
Apprentice
Apprentice


Joined: 02 Jul 2003
Posts: 260
Location: Brisbane, Australia

PostPosted: Fri Aug 22, 2003 12:21 am    Post subject: Reply with quote

i took out file spec and emerged world. Worked fine.
_________________
Every begining is another begining's end.
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Fri Aug 22, 2003 3:20 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads. Please post any followups here.
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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