You are not logged in.

#1 2012-08-23 14:50:22

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

[Solved] Conflicting upgrade instructions: --force

I'm wanting to do a system upgrade. The 2012-07-14 notes specify "Never use --force during this update." The 2012-06-07 notes specify "pacman -Syu --ignore filesystem && pacman -S filesystem --force". I'm not sure what pacman commands I should give to do my upgrade.

[root@myhost etc]# uname -a
Linux myhost 3.3.8-1-ARCH #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012 x86_64 GNU/Linux

<later>
Ah, it looks like I have the filesystem 2012.6-2 update already, so I don't have to use --force. Still, I'm wondering about this issue, what to do if I were upgrading from an older version than I have now.

Last edited by PaulBx1 (2012-08-23 16:32:54)

Offline

#2 2012-08-23 14:58:41

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [Solved] Conflicting upgrade instructions: --force

You have to force the filesystem update separately. Don't force anything else.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2012-08-23 15:01:05

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] Conflicting upgrade instructions: --force

Technically, if you run pacman -Syu --ignore filesystem && pacman -S filesystem --force you're not using --force during the 07-14 update.  Only filesystem is being forced.

This doesn't mean it will work, of course.  Whatever you do, backup your system first.

Last edited by alphaniner (2012-08-23 15:01:25)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2012-08-23 15:04:02

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] Conflicting upgrade instructions: --force

OK, let me think about that...

Last edited by PaulBx1 (2012-08-23 15:05:09)

Offline

#5 2012-08-23 15:04:35

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] Conflicting upgrade instructions: --force

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

That's two separate commands.  The && means "only do the following command if the preceding one succeeds."

Last edited by alphaniner (2012-08-23 15:05:53)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#6 2012-08-23 15:06:34

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] Conflicting upgrade instructions: --force

What about ignoring glibc?

Offline

#7 2012-08-23 15:09:23

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] Conflicting upgrade instructions: --force

I suppose to combine them:

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

Last edited by alphaniner (2012-08-23 15:10:55)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#8 2012-08-23 16:21:05

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] Conflicting upgrade instructions: --force

Well, I think that worked for the filesystem thing, but things have gone awry with the glibc upgrade. None of the remedies mentioned in https://wiki.archlinux.org/index.php/De … iki:usrlib seem to work.

When I do "grep '^lib/' /var/lib/pacman/local/*/files" I get this huge list of things, hundreds of lines. When I do "grep '^lib/' /var/lib/pacman/local/*/files" I also get a huge list with hundreds of lines. The "pacman -Sd binutils gcc gcc-libs" did work OK, but the final "pacman -Su" still does not work and /lib is still not a symlink. Not sure what to try next...

Offline

#9 2012-08-23 16:30:31

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] Conflicting upgrade instructions: --force

Hmmm, rather than going to "pacman -Su" directly, I tried "pacman -Syu --ignore glibc,curl" again, and then "pacman -Su". This time it seemed to complete successfully, and /lib is now a link. Not very sure what is going on, but I guess I am set now. That Developer Wiki page might need a little updating...

Last edited by PaulBx1 (2012-08-23 16:33:25)

Offline

Board footer

Powered by FluxBB