You are not logged in.

#226 2013-06-05 04:25:22

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: filesystem Update Error /bin exists in filesystem

I took "its getting late" to mean "I'm out".  Sorry.  5:30 isn't so bad though... since I got sober, I can't sleep past ~6:15 anymore.  I don't actually need to be up that early, but that is what my body is telling me is normal.

Edit: BTW, sorry for temorarily derailing this thread everyone... but I guess there is no real linear momentum to this thread anyway beside the fact that everyone is suffering from teh same update.

Last edited by WonderWoofy (2013-06-05 04:26:15)

Offline

#227 2013-06-05 07:05:06

coellobranco
Member
Registered: 2012-10-11
Posts: 83

Re: filesystem Update Error /bin exists in filesystem

I solved problem with this:

For those who ended up in an unbootable state. I assume you have previous versions of all recently updated packages in pacman's cache.
1. Boot into a LiveCD.
2. Open terminal, log in as root.
3.
# cd /
# mkdir BrokenArch
# mount /dev/[Arch's partition here] BrokenArch
# cd BrokenArch
# ln -s usr/bin bin
# ln -s usr/sbin sbin
# mount --bind /dev dev
# mount --bind /proc proc
# mount --bind /run run
# mount --bind /sys sys
# chroot .
4. Open /BrokenArch/var/log/pacman.log and find the recently updated packages.
5.
# cd /var/cache/pacman/pkg
# pacman -U [list all the previous versions of recently updated packages here, use full filenames with *.pkg.tar.xz estensions. probably just few of the packages caused the problem, but I reinstalled them all]
5. Before confirming downgrade in pacman, open another terminal and log in as root.
6. In the new terminal
# rm /BrokenArch/bin
# rm /BrokenArch/sbin
7. Now you can confirm the downgrade in the first terminal.
8. When the downgrade is complete, perform it once more to correctly execute all post-install scripts.
EDIT: 8.5.
# exit
9. (edited)
# cd /
# umount /BrokenArch
10. reboot

Offline

#228 2013-06-05 07:35:51

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,093
Website

Re: filesystem Update Error /bin exists in filesystem

Remember kids:

Not using code tags makes unicorns cry.

All the best,

-HG

Offline

#229 2013-06-05 08:01:31

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: filesystem Update Error /bin exists in filesystem

how to lunch net work in livecd? sounds the network is not usable in livecd.

Offline

#230 2013-06-05 08:03:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

kenan wrote:

how to lunch net work in livecd? sounds the network is not usable in livecd.

What have you tried, what were the errors?
Wired or wireless network?

Offline

#231 2013-06-05 08:08:08

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: filesystem Update Error /bin exists in filesystem

I just try to use pacman --root /mnt -Su to update my system.
but It shows the location is resolved. I try to ping some web, it still cannot work.

I used wired, so I do not know hot to fix this.

karol wrote:
kenan wrote:

how to lunch net work in livecd? sounds the network is not usable in livecd.

What have you tried, what were the errors?
Wired or wireless network?

Offline

#232 2013-06-05 08:08:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

Are you using the June iso?

Edit: Please, no top posting.

Last edited by karol (2013-06-05 08:09:07)

Offline

#233 2013-06-05 08:10:42

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: filesystem Update Error /bin exists in filesystem

# mount /dev/[Arch's partition here] BrokenArch

What is that partition? /, /boot, /home?
Sorry for this stupid question!

Offline

#234 2013-06-05 08:11:22

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: filesystem Update Error /bin exists in filesystem

No, I used 2012.09 iso...

karol wrote:

Are you using the June iso?

Edit: Please, no top posting.

Offline

#235 2013-06-05 08:15:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

Why?

Please, don't top-post.
Write your response under the quote, not above.

Offline

#236 2013-06-05 08:15:51

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: filesystem Update Error /bin exists in filesystem

please use $fdisk -l to find the linux partition, then mount this partition to this folder.

doblerone wrote:
# mount /dev/[Arch's partition here] BrokenArch

What is that partition? /, /boot, /home?
Sorry for this stupid question!

Offline

#237 2013-06-05 08:17:30

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: filesystem Update Error /bin exists in filesystem

karol wrote:

Why?

Please, don't top-post.
Write your response under the quote, not above.

I just have this one, so I used this one to load, you mean I should use the 6.1 iso.

Offline

#238 2013-06-05 08:38:08

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: filesystem Update Error /bin exists in filesystem

Scimmia wrote:

Boot to an install disk, mount your partitions to /mnt, fix whatever gave you the error for the filesystem update, then run pacman --root /mnt -Su

met could not resolve hot issue when run pacman in live cd, how to fix this?

Offline

#239 2013-06-05 09:28:01

Janusz11
Member
Registered: 2007-05-16
Posts: 87

Re: filesystem Update Error /bin exists in filesystem

doblerone wrote:
# mount /dev/[Arch's partition here] BrokenArch

What is that partition? /, /boot, /home?
Sorry for this stupid question!

Of course the root partition is meant here.

Offline

#240 2013-06-05 11:35:25

Vixus
Member
Registered: 2012-11-02
Posts: 60

Re: filesystem Update Error /bin exists in filesystem

WorMzy wrote:
Gusar wrote:

I was waiting for a thread like this to appear smile

Same. There's going to be a lot in the coming weeks.

For anyone who's encountered this problem, do not use pacman's --force flag to install the filesystem update.

Check your AUR packages for updates, and update them. Remove or rebuild (after modifying the PKGBUILD) any unsupported packages that still place binaries in /bin, /sbin or /usr/sbin. If you have untracked files in those directories, remove them, or move them to /usr/local/bin.

Get a list of packages that owns files in /bin, /sbin, and /usr/sbin (tested in bash and zsh):

grep '^s\?bin/\|usr/sbin' /var/lib/pacman/local/*/files | cut -d ":" -f 1 | uniq | cut -d "/" -f 6

Find unpackaged files in /bin, /sbin, and /usr/sbin:

find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null

Again, do NOT use pacman's --force flag to install the filesystem update.

These instructions worked a treat, thanks!

Offline

#241 2013-06-05 12:00:30

netpumber
Member
Registered: 2009-09-20
Posts: 134

Re: filesystem Update Error /bin exists in filesystem

Hello.

I did what the front page news says but when im running the last command pacman -Su , it returns me this error

:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (1): filesystem-2013.05-2

Total Installed Size:   0.01 MiB
Net Upgrade Size:       -0.30 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                             
(1/1) checking package integrity                                                                                                             
(1/1) loading package files                                                                                                                 
(1/1) checking for file conflicts                                                                                                           
error: failed to commit transaction (conflicting files)
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.

Then i run
pacman -Qqo /usr/sbin
and got

consolekit
filesystem

and with
pacman -Qqo /usr/sbin | pacman -Qm -

consolekit 0.4.6-4

How can i fix this ?

Offline

#242 2013-06-05 12:01:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

Please search the forum. consolekit question has already been answered.

Offline

#243 2013-06-05 12:10:42

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: filesystem Update Error /bin exists in filesystem

Nothing on the main news and nothing on the first few posts so i'm asking.

When will these changes reflect on the ISO live-image that we download?
It's kind of annoying to do:

pacman -Syu --ignore filesystem,bash
pacman -S bash
pacman -Su

Every time i boot the live cd to either update something on a "dead" system or to reinstall a friends PC..
I've done this a couple of times the last few days and i thought of creating my own live-image but considering that will only live a few days before a release is made (i'm guessing) it felt like extra work..

Last edited by Torxed (2013-06-05 12:12:06)

Offline

#244 2013-06-05 12:17:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

Arch iso is a netinstall one, you install packages from the servers not the CD, so the filesystem etc. have already been moved. The iso is a liveCD with some scripts to make it easier to chroot etc.

Have you tried installing Arch using the June iso and have you run into any issues?

Last edited by karol (2013-06-05 12:17:16)

Offline

#245 2013-06-05 12:19:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: filesystem Update Error /bin exists in filesystem

Since the iso simply downloads the packages you're installing from the repos, a fresh installation today will result in a post-usrbin-update system with no additional steps necessary. Just 'pacstrap /mnt base' or whatever.


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

#246 2013-06-05 12:21:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

WorMzy wrote:

a fresh installation today will result in a post-usrbin-update system with no additional steps necessary

Ah, yes, I meant installing today, not e.g. June 1st.

Offline

#247 2013-06-05 12:40:55

netpumber
Member
Registered: 2009-09-20
Posts: 134

Re: filesystem Update Error /bin exists in filesystem

Hello.

I did what New post says but folders /bin , /usr/sbin still exitsts with contents in them. Should i remove them or not ?

Offline

#248 2013-06-05 12:44:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem Update Error /bin exists in filesystem

netpumber wrote:

Hello.

I did what New post says but folders /bin , /usr/sbin still exitsts with contents in them. Should i remove them or not ?

Can you please tell us what's in them? What packages own these files?

Offline

#249 2013-06-05 12:46:34

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: filesystem Update Error /bin exists in filesystem

You shouldn't remove them manually, unless they're untracked by pacman. You should find out which packages own these files, then either update or remove those packages. The commands in the news post should assist you with this.


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

#250 2013-06-05 13:03:15

nims11
Member
Registered: 2013-06-05
Posts: 3

Re: filesystem Update Error /bin exists in filesystem

I screwed up my upgrade, ended with a /sbin/init error. I straightaway did a "pacman -Syu filesystem,bash" and "pacman -S bash", after which I realized I missed the previous steps. I performed them. But pacman started acting weird by refusing to download any package off internet independent of the downloader I used. Without upgrading the filesystem, I rebooted and ended this way.

I fixed it by booting into a LiveCD, chrooted into Arch partition (steps 1-3 in https://bbs.archlinux.org/viewtopic.php … #p1283129). Then downloaded *.xz for filesystem 2013.05-2 from https://www.archlinux.org/packages/ and installed it with "pacman -U", handling the conflicts in /bin, /sbin, suitably.

Offline

Board footer

Powered by FluxBB