You are not logged in.

#1 2012-07-16 20:32:56

4on6
Member
Registered: 2011-10-05
Posts: 166

[SOLVED] Upgrade - filesystem and glibc again

I did not update for almost 3 month now, and tried to follow the advice on the archlinux homepage, but it doesn't work.     

First trial:

    pacman -Syu --ignore filesystem && pacman -S filesystem --force
    
    error:
    glibc: /lib exist in filesystem
    ghc: /usr/bin/haddock exist in filesystem

Second trial:

    pacman -Syu --ignore glibc
    [Never use --force during this update].
 
   error:
    :: libcanberra-pulse: needs libcanberra=0.28-4
    :: pyqt: needs python-sip

There are hundreds of posts to similar problems, but I really don't know where I fit in with my problem. Did I mess up my system using force in the first trial? I had /var/lock and /var/run as symlinks already before trying the update.

How can I update now? Will my system be gone when I try to reboot?

Thanks for any tips

Last edited by 4on6 (2012-07-17 02:00:02)

Offline

#2 2012-07-16 20:36:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,079

Re: [SOLVED] Upgrade - filesystem and glibc again

Try this ::  http://allanmcrae.com/


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-07-16 20:36:52

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] Upgrade - filesystem and glibc again

do one after the other perhaps, ignore gclibs in pacman.conf and then force the fs and take it from there. you tried that?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#4 2012-07-16 20:45:56

4on6
Member
Registered: 2011-10-05
Posts: 166

Re: [SOLVED] Upgrade - filesystem and glibc again

Inxsible wrote:

Since I don't really understand the net and core install stuff, I just do this (?):

pacman -Sy
rm -rf /var/run /var/lock && pacman -Sf filesystem
pacman -S tzdata
pacman -U http://pkgbuild.com/~allan/glibc-2.16.0-1-x86_64.pkg.tar.xz
rm /etc/profile.d/locale.sh
pacman -Su --ignore glibc
pacman -Su

These things make me slightly nervous, since I have to admit I don't know what I'm doing ....

Offline

#5 2012-07-16 20:58:03

4on6
Member
Registered: 2011-10-05
Posts: 166

Re: [SOLVED] Upgrade - filesystem and glibc again

toad wrote:

do one after the other perhaps, ignore gclibs in pacman.conf and then force the fs and take it from there. you tried that?

you mean comment out

HoldPkg     = pacman glibc

in pacman.conf (by the way, I have two - pacman.conf and pacman.conf.pacnew, which one is read?)

and then do:

pacman -Syu --ignore filesystem && pacman -S filesystem --force

what do you mean by 'take it from there'? Do

pacman -Syu --ignore glibc

again?

Offline

#6 2012-07-16 21:08:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,108
Website

Re: [SOLVED] Upgrade - filesystem and glibc again

https://wiki.archlinux.org/index.php/Pa … save_Files

Also, there are a couple of similar posts in the pre-exisitng threads about glibc that describe your situation with the correct fix.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#7 2012-07-16 22:12:44

4on6
Member
Registered: 2011-10-05
Posts: 166

Re: [SOLVED] Upgrade - filesystem and glibc again

jasonwryan wrote:

https://wiki.archlinux.org/index.php/Pa … save_Files

Also, there are a couple of similar posts in the pre-exisitng threads about glibc that describe your situation with the correct fix.

Thanks.
I find this thread with exactly my problem, but no solution, at least for me the linked wiki recipe with

  sudo pacman -Syu --ignore glibc

results in

:: libcanberra-pulse: needs libcanberra=0.28-4
:: pyqt: needs python-sip

Offline

#8 2012-07-16 22:32:02

sinojos
Member
Registered: 2011-06-03
Posts: 8

Re: [SOLVED] Upgrade - filesystem and glibc again

I just followed these instructions https://wiki.archlinux.org/index.php/De … iki:usrlib and while removing the old files from /lib  - all folders and files were removed on my hardrive. I posted about it, but the post disappeared.

All I know is be very careful with removing files and folders from /var after a failed up date. As it appears as the attempted failed update can produce a sym link that links to your root folder. So if you use rm -rf * from within /lib - your whole hardrive will be removed instead of only the files in /lib.

I had made a copy of the lib folder, and clearly read each and every file listed, nothing showed as a link. Yet there was something that directed that command to the root of all folders.

Last edited by sinojos (2012-07-16 22:34:54)

Offline

#9 2012-07-16 22:44:38

4on6
Member
Registered: 2011-10-05
Posts: 166

Re: [SOLVED] Upgrade - filesystem and glibc again

sinojos wrote:

I just followed these instructions https://wiki.archlinux.org/index.php/De … iki:usrlib and while removing the old files from /lib  - all folders and files were removed on my hardrive. I posted about it, but the post disappeared.

But I can't even follow Issue 1 in that wiki post.

sinojos wrote:

All I know is be very careful with removing files and folders from /var after a failed up date. As it appears as the attempted failed update can produce a sym link that links to your root folder. So if you use rm -rf * from within /lib - your whole hardrive will be removed instead of only the files in /lib.

Sometime I really wonder if I'm up to ArchLinux, there is quite some help, but so many recipes, and I often feel uncomfortable to just apply something I don't understand at all.

But going back to Ubuntu? Not so attractive either ...

Offline

#10 2012-07-16 23:24:49

4on6
Member
Registered: 2011-10-05
Posts: 166

Re: [SOLVED] Upgrade - filesystem and glibc again

Inxsible wrote:

I followed the recipe till this point:

pacman -Sy
rm -rf /var/run /var/lock && pacman -Sf filesystem
pacman -S tzdata
pacman -U http://pkgbuild.com/~allan/glibc-2.16.0-1-x86_64.pkg.tar.xz
rm /etc/profile.d/locale.sh
pacman -Su --ignore glibc

and everything went fine, luckily,
then I had this error:

ghc: /usr/bin/haddock existist in filesystem

shall I simply delete this (symlink)?

EDIT:
well, I deleted it, and went for the next (last) step of the recipe

pacman -Su

but got:

glibc: /lib exist in filesystem

EDIT 2:
After deleting /lib/modules/ following the wiki recipe cited on this page it finally worked.
Quite complicated, the whole thing, but thanks to everybody for the help.

Last edited by 4on6 (2012-07-17 01:59:34)

Offline

Board footer

Powered by FluxBB