You are not logged in.

#1 2012-07-19 14:17:19

John0000
Member
Registered: 2012-04-12
Posts: 40

[SOLVED]Full upgrade fails after new install

Hello,
Please note before reading that I know about the recent changes with the /lib symlink to /usr/lib and the filesystem (I read the home page).

After a fresh install, I try to upgrade the system :
pacman -Syy && pacman -Syu : it asks for pacman update, I say yes.
pacman -S pacman : fails because of glibc
pacman -S pacman --ignore glibc : fails, won't upgrade because glibc it's a dependency of pacman
pacman -Syu : say no to pacman upgrade, fails because of glibc and filesystem
pacman -Syu --ignore glibc --ignore fliesystem : upgrade almost nothing because most of the packages (~400M) need glibc

I can't upgrade anything at the end...

Thanks for any help

Last edited by John0000 (2012-07-19 14:52:17)

Offline

#2 2012-07-19 14:27:11

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [SOLVED]Full upgrade fails after new install

You'll want to read all the news between last August and now. For your glibc problem, look at the note on this page: https://wiki.archlinux.org/index.php/De … iki:usrlib

Alternatively, since you just installed: Download a netinstall image and install with that instead. You'll have an up-to-date system right away.

Offline

#3 2012-07-19 14:32:11

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED]Full upgrade fails after new install

If either of this steps does not work (e.g. due to dependency version issues, file conflicts in /lib), refer to this G U I D E for more detailed instructions on performing this upgrade.

Did you read this guide?

There is thread about it also: https://bbs.archlinux.org/viewtopic.php?id=144620

And Allan wrote a blog entry about upgrading from core installation: http://allanmcrae.com/2012/07/updating- … e-install/

BTW as Pres suggested go with the net-install, core installation was always kind of a fallback for me and I had to do this just once because of network troubles. It just doesn't make much sense to do core installation if there is no holdback because with first pacman -Syu you'll end up downloading the same amount of data as if you would do a clean net-install, and it's faster and you probably won't get conflicts accumulated from year or so.

Last edited by masteryod (2012-07-19 14:38:38)

Offline

#4 2012-07-19 14:40:52

John0000
Member
Registered: 2012-04-12
Posts: 40

Re: [SOLVED]Full upgrade fails after new install

I read that page : I tried upgrading a few packages using pacman -Sd command, for example pacman -Sd gcc gives :
sh: /lib/libc.so.6: version 'GLIBC_2.15' not found (required by sh)
sh: /lib/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib/libreadline.so.6)
error: command failed to execute correcly

I get that for all the packages I tried (10 out of maybe ~50 that pacman wants to upgrade with pacman -Syu) so I just let it go...

I'll give a try to the netinstall, it's true I never tried it yet.

Thx for the answer smile

EDIT : @masteryod thanks for the links, I'll read them while re-installing with netinstall

Last edited by John0000 (2012-07-19 14:44:36)

Offline

#5 2012-07-19 20:52:05

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED]Full upgrade fails after new install

John0000 wrote:

I'll give a try to the netinstall, it's true I never tried it yet.

I would say that net-install is recommended way of installing Arch. As far as it goes about net-install: because of many major differences under the hood since last official ISO, you probably should use newer snapshot - http://releng.archlinux.org/isos/, be careful these are testing images but everything should go smooth. Newer official stable ISO images are behind the corner (to my knowledge) so things should be tested thoroughly by now.

Last edited by masteryod (2012-07-19 20:57:13)

Offline

Board footer

Powered by FluxBB