You are not logged in.
Success!
jorge@flamingo:/$ sudo pacman -Su
:: 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]
(1/1) checking keys in keyring [#########################] 100%
(1/1) checking package integrity [#########################] 100%
(1/1) loading package files [#########################] 100%
(1/1) checking for file conflicts [#########################] 100%
(1/1) checking available disk space [#########################] 100%
(1/1) upgrading filesystem
So, I go on and reboot now, right?
EDIT: sounds like common sense but I'd rather be paranoid than sorry.
Last edited by geo909 (2013-07-11 15:32:07)
Offline
Yep, once filesystem upgrades successfully, you're OK to keep using the system like normal, including a reboot if you want.
Offline
Yep, once filesystem upgrades successfully, you're OK to keep using the system like normal, including a reboot if you want.
Indeed, I rebooted and everything seems to be fine. Thanks a lot for your advice!!
Offline
Hi,
I Just ran:
$ sudo pacman -Su
And got this error:
(512/512) checking for file conflicts [#####################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
As per these instructions:
https://www.archlinux.org/news/binaries … ervention/
I ran:
$ pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
Which output:
grub-common 2.00-1
hfsprogs 332.25-6
samsung-unified-driver 4.00.39-3
Now i'm a little confused by what I need to do next as I don't quite understand the instruction (from link above ) to:
1) Fix any non-official packages with files in /bin, /sbin or /usr/sbin to put those files in /usr/bin
Does this mean move all the files in /bin to /usr/bin ?
(Which doesn't feel quite right)
Or does it mean move files related to; grub-common 2.00-1, hfsprogs 332.25-6 and samsung-unified-driver 4.00.39-3 to /usr/bin?
In which case I'm not sure which those are?
As always any help gratefully received.
Tom
Last edited by anthillsocial (2013-07-17 11:53:11)
Offline
Update those packages, grub from offical repos and the other two from AUR, this should fix your problems.
Offline
Excellent - worked perfectly - thank you.
Offline
ilesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
[root@archreborn ~]# pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
grub-common 2.00-1
zfs-fuse 0.7.0-5
(zfs-fuse doesn't seem to be updated in AUR and it is not critical so I planned to sort it out later and simply removed it)
[root@archreborn ~]# pacman -R zfs-fuse
checking dependencies...
Packages (1): zfs-fuse-0.7.0-5
Total Removed Size: 4.30 MiB
:: Do you want to remove these packages? [Y/n]
(1/1) removing zfs-fuse [#############################################################] 100%
warning: /etc/conf.d/zfs-fuse saved as /etc/conf.d/zfs-fuse.pacsave
resolving dependencies...
looking for inter-conflicts...
:: grub and grub-common are in conflict. Remove grub-common? [y/N] y
:: grub and grub-bios are in conflict. Remove grub-bios? [y/N] y
Packages (3): grub-bios-2.00-1 [removal] grub-common-2.00-1 [removal] grub-2.00.5043-2
Total Installed Size: 17.86 MiB
Net Upgrade Size: 2.29 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
(3/3) checking available disk space [#############################################################] 100%
(1/2) removing grub-common [#############################################################] 100%
warning: /boot/grub/grub.cfg saved as /boot/grub/grub.cfg.pacsave
(2/2) removing grub-bios [#############################################################] 100%
(1/1) installing grub [#############################################################] 100%
Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg
Generating grub.cfg.example config file...
This may fail on some machines running a custom kernel.
done.
Optional dependencies for grub
freetype2: For grub-mkfont usage [installed]
fuse: For grub-mount usage [installed]
dosfstools: For grub-mkrescue FAT FS and EFI support
efibootmgr: For grub-install EFI support
libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue
os-prober: To detect other OSes when generating grub.cfg in BIOS systems
mtools: For grub-mkrescue FAT FS support
[root@archreborn ~]# pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
[root@archreborn ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace pyqt-common with extra/pyqt4-common? [Y/n]
:: Replace python2-pyqt with extra/python2-pyqt4? [Y/n]
resolving dependencies...
warning: dependency cycle detected:
warning: torsocks will be installed before its tor dependency
looking for inter-conflicts...
<snipped lots of update output>
Total Installed Size: 2508.42 MiB
Net Upgrade Size: -74.17 MiB
:: Proceed with installation? [Y/n]
(525/525) checking keys in keyring [#############################################################] 100%
(525/525) checking package integrity [#############################################################] 100%
(525/525) loading package files [#############################################################] 100%
(525/525) checking for file conflicts [#############################################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
[root@archreborn ~]# pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
[root@archreborn ~]#
No special other repos are enabled.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[root@archreborn ~]# find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null
[root@archreborn ~]#
I have a few things compiled from tarballs but they use /usr/local/
Any hints?
Offline
Read step 5 again - you need to execute the three commands there in proper sequence. `pacman -Syu` is expected to fail, which is why this was a news-worthy item.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Read step 5 again - you need to execute the three commands there in proper sequence. `pacman -Syu` is expected to fail, which is why this was a news-worthy item.
D'oh! Sorry.
Anyway I manually upgraded a bunch of packages which were using the old structure and am in the middle of a 'pacman -Syu' now which appears to be working thus far (141/476 in on upgrading packages). So we'll see how that goes. I have a couple terminals open just in case.
edit:
......and I rebooted. Success! Thanks again.
Last edited by davidm (2013-07-21 19:34:09)
Offline
Hi all,
I post this reply with hope it may help others with similar situation.
I also had this issue with filesystem. I solved it with
$ yaourt -Syu --ignore filesystem
which worked well, but I shouldn't use yaourt for this task because
1. I couldn't install filesystem via yaourt
$ yaourt -Su
bash: /usr/bin/yaourt: /bin/bash: bad interpreter: No such file or directory
2. I couldn't use su
$ su
su: failed to execute /bin/bash: No such file or directory
both because bash is now in /usr/bin, and I needed root access to change it...
my solution:
$ cp /usr/bin/yaourt ~/yaourt/xyz
$ chown $myusername$ ~/yaourt/xyz
(here I changed the first line in xyz to #!/usr/bin/bash)
$ /home/$myusername$/yaourt/xyz -Su
==> Software upgrade (new version) :
core/filesystem 2013.03-2 -> 2013.05-2
==> Continue upgrade ? [Y/n]
==> [V]iew package detail [M]anually select packages
==> --------------------------------------------------
...
(1/1) upgrading filesystem [###########] 100%
Done!
Offline
Ingenious but wouldn't it have been easier to just use pacman?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Or you could have ignored filesystem and bash, like the original instructions said to.
As you didn't, you may have created many currently unseen problems due to failed post-install scripts in any package that was upgraded.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
After update, I have only grub. How do you boot in system from grub ?
How do I load kernel ?
I did
setup (hd0)
kernel (hd0,0)/boot/vmlinuz26
boot
kernel panic: unable to mount root fs on unknown block(0,0)
Last edited by b0f00narch (2013-07-30 16:47:54)
Offline
sudo pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
gconf-thread 3.2.5-3
initscripts 2012.10.1-1
lightdm-bzr 1632-1
lightdm-gtk3-greeter-bzr 92-1
I'm extremely lost. How do I "fix" these packages? I know I need to move them to /usr/bin but when I can't find them in those directories (unless the file name is diff?). Can someone please explain this to me.
Offline
You uninstall/replace/rebuild them. AUR packages are your responsibility to manage, not pacman's.
Offline
After update, I have only grub. How do you boot in system from grub ?
How do I load kernel ?I did
setup (hd0)
kernel (hd0,0)/boot/vmlinuz26
bootkernel panic: unable to mount root fs on unknown block(0,0)
I suggest you boot a LiveCD and fix grub from there. Unless you're incredibly out of date, you won't have a "vmlinuz26", Arch has had a "standard" 3.x kernel since mid-2011, and a "lts" 3.x kernel since early 2012.
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
@LinuxFTW,
Have you updated your system to use systemd? I notice you still have initscripts installed.
If not, update your system to use systemd (following the instructions in the wiki) before starting the latest update as it will be a lot easier to do one thing at a time.
If you are already using systemd, install systemd-sysvcompat (and let pacman remove initscripts). Then (optionally) remove the init=/usr/lib/systemd/systemd option from your kernel command line. That will simplify things somewhat and will at least deal with one of the obstructing packages.
Last edited by cfr (2013-07-31 00:33:31)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Yes, I am using systemd.
Offline
Okay, that is good LinuxFTW. So update the lightdm stuff through the AUR. Then install gconf from the repos. Then remove initscripts (which wil occur automatically if you install systemd-sysvcompat). Then you should be good to go.
Offline
I got it to update the packages. Now to see if it survives restart.
Offline
Any way to make it quickly work? I just need to set up nfs share and move stuff out of hd (leaving Arch - just need some basic reliability when it comes to updating the system, don't have patience to fix such failiures anymore, just need a slim distro that works. Crunchbang perhaps?).
Tried running it with kernel opt 'init=/usr/bin/init' but unfortunately partition is encrypted and boot stalls on some system-mapper errors
Last edited by pielgrzym (2013-08-02 08:47:24)
Offline
??? Pielgrzym, first, you haven't posted on any problem, so how can we know what you need to do to get "it" to work?
If you haven't screwed up this update by not following the instructions, there is a *very* quick way to get it to work: follow the instructions. They might take as little as a minute, or should be no more than 10 minutes if you have many outdated/aur packages.
But, if you are leaving arch, why do you need to update it in the first place? This has nothing to do with having access to the files on the disk. Any other distro or OS should be able to access disks just fine even if this upgrade was completely botched. (edit: I just saw you have encrypted partitions - I guess that *might* be different, I'm not sure. But I'm pretty sure other distros can use encrypted filesystems just as well as arch to just access data).
Last edited by Trilby (2013-08-02 11:38:22)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby, sorry - I had a problem with binaries missing due to improper filesystem update. Wanted to make it work to copy the files asap. Didn't come up with any reasonable solution so just fell back to baking an usb stick with live installation and decrypting the partitions manually.
Bye.
Offline
Hi all,
I post this reply with hope it may help others with similar situation.
I also had this issue with filesystem. I solved it with
$ yaourt -Syu --ignore filesystem
which worked well, but I shouldn't use yaourt for this task because
1. I couldn't install filesystem via yaourt
$ yaourt -Su bash: /usr/bin/yaourt: /bin/bash: bad interpreter: No such file or directory
2. I couldn't use su
$ su su: failed to execute /bin/bash: No such file or directory
both because bash is now in /usr/bin, and I needed root access to change it...
my solution:
$ cp /usr/bin/yaourt ~/yaourt/xyz $ chown $myusername$ ~/yaourt/xyz (here I changed the first line in xyz to #!/usr/bin/bash) $ /home/$myusername$/yaourt/xyz -Su ==> Software upgrade (new version) : core/filesystem 2013.03-2 -> 2013.05-2 ==> Continue upgrade ? [Y/n] ==> [V]iew package detail [M]anually select packages ==> -------------------------------------------------- ... (1/1) upgrading filesystem [###########] 100%
Done!
Much easier to just use
su -s /usr/bin/bash
Offline
Much much easier to use pacman - and to follow the instructions in the news item. Lets not give the impression that very odd workarounds that worked for one user should be recommended. That is *not* a good solution.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline