You are not logged in.

#101 2013-06-03 21:37:32

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Offline

#102 2013-06-03 21:38:54

okubax
Member
From: Kent, UK.
Registered: 2010-04-24
Posts: 210
Website

Re: filesystem Update Error /bin exists in filesystem

Offline

#103 2013-06-03 21:39:26

okubax
Member
From: Kent, UK.
Registered: 2010-04-24
Posts: 210
Website

Re: filesystem Update Error /bin exists in filesystem

Offline

#104 2013-06-03 21:40:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,209

Re: filesystem Update Error /bin exists in filesystem

Merging with main thread


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#105 2013-06-03 21:43:06

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

Re: filesystem Update Error /bin exists in filesystem

Ugh.. Refrasing:

I uninstalled _everything_ that this complains about:
[root@faparch doxid]# pacman -Q | pacman -Qk | grep warning
Gives nothing after i've uninstalled android-sdk etc.. so all should be good.

However..
[root@faparch doxid]# pacman -Syu

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: 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                                                    [##############################################] 100%
(1/1) checking package integrity                                                  [##############################################] 100%
(1/1) loading package files                                                       [##############################################] 100%
(1/1) checking for file conflicts                                                 [##############################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /sbin exists in filesystem
Errors occurred, no packages were upgraded.

So i checked what's in there:
Doing: [root@faparch doxid]# ls -ln /sbin

total 152
-rwxr-xr-x 1 0 0 36144 Jun  3 23:15 kpartx
-rwxr-xr-x 1 0 0 23712 Jun  3 23:15 mpathpersist
-rwxr-xr-x 1 0 0 19088 Jun  3 23:15 multipath
-rwxr-xr-x 1 0 0 73512 Jun  3 23:15 multipathd

Knowing i just installed this 5 min before doing the system install.
I just did pacman -Rs mutlipath-tools-git and did another pacman -Syu and everything works great.

Note: If filesystem doesn't go through, sudo will not be a thing, among a few other things so be careful!

Last edited by Torxed (2013-06-03 22:06:13)

Offline

#106 2013-06-03 22:08:58

kamillo
Member
Registered: 2012-07-13
Posts: 13

Re: filesystem Update Error /bin exists in filesystem

Hello,
I tried to update my Arch before reading a news on archlinux.org. I run 'pacman -Syu --ignore filesystem'. All was fine until reboot. Now I can't run system or anything. When Arch is starting there is following message:

ERROR: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own.

sh: can't access tty; job control turned off
[rootfs/]#

I tried to chroot to my Arch installation from BackTrack booted from USB, but there is:

chroot: cannot  run command `/bin/bash' : No such file or directory

Is there any way to recover current Arch installation or I have to reinstall ?

Offline

#107 2013-06-03 22:13:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: filesystem Update Error /bin exists in filesystem

Merging with the stickied thread (which you should have read before posting...)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#108 2013-06-03 22:21:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: filesystem Update Error /bin exists in filesystem

Torxed, I may have missed something - but it looks like you have not read the front page news item, nor any of the posts in this thread.

What you are seeing is expected - but you do need to take the proper steps carefully.  Those steps are best enumerated in the front page news item.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#109 2013-06-03 22:47:19

offbeatadam
Member
From: Hallandale Beach, FL
Registered: 2013-05-31
Posts: 7

Re: filesystem Update Error /bin exists in filesystem

Ok so, ?. I've no issue with the solutions I can handle that. On the logic though, in an environment where a structural change (Its my own fault for not following the dev ML) wouldn't necessarily be something easy to argue in a 24 hour period, is there/was there a direct change towards many packages that forceably point them to /usr/lib, or are those packages just pointed to the /lib symlink and left to stupidly follow the symlink instead?

In other words, if I want a kernel update is it going to put it in /usr/lib OR forceably depend on whichever particular package actaully organized the initial change to begin with... or can I selectively update packages while I throw poo at beaurocrats?

Last edited by offbeatadam (2013-06-03 22:47:54)


"Never attribute to malice that which is adequately explained by stupidity." - Hanlon's Razor

Offline

#110 2013-06-03 22:51:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,093

Re: filesystem Update Error /bin exists in filesystem

"selectively update package" = partial update = NOT SUPPORTED.

the packages themselves will put the files in /usr/lib, but many things will still access it through the /lib symlink.

Last edited by Scimmia (2013-06-03 22:52:16)

Offline

#111 2013-06-03 23:13:51

offbeatadam
Member
From: Hallandale Beach, FL
Registered: 2013-05-31
Posts: 7

Re: filesystem Update Error /bin exists in filesystem

Scimmia wrote:

"selectively update package" = partial update = NOT SUPPORTED.

the packages themselves will put the files in /usr/lib, but many things will still access it through the /lib symlink.


Not supported was kind of irrelevant to me, I wasn't trying to do something supported, I was trying to do something I would support myself. The question was answered by the secondary sentence though.

It's not totally a huge deal, just means that I have some work to do in automating doing something unsupported myself until the bridges are crossed that allow this sort of change to go through in an environment that handles more than looking pretty. That has nothing to do with anything here at Arch, its just the compliance policy here. It's my problem, I just wanted to see if I had to work at it or if I can avoid it. Arch may not be directed towards server purposes necessarily, but it doesn't avoid them entirely. Assuming that I don't know what I'm doing simply because I asked if I could do a partial update, isn't exactly constructive, especially when I already insinuated that I have compliance issues to deal with and unfortunately throwing poo at beaurocrats once is hardly the only time I'm going to have to do it to make the bobbleheads go up and down instead of left to right.


"Never attribute to malice that which is adequately explained by stupidity." - Hanlon's Razor

Offline

#112 2013-06-03 23:28:20

akanski
Member
Registered: 2011-09-30
Posts: 32

Re: filesystem Update Error /bin exists in filesystem

@Kamillo, I see you forgot to install that package just after updating, hence your filesystem hasn't got some symbolic links to your /usr directory. If so, do fix it manually by running on your pen drive.

ln -s usr/bin /<mount_point>/bin
ln -s usr/bin /<mount_point>/sbin

Bear in mind your currently AUR packages, btw.

Offline

#113 2013-06-03 23:42:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,093

Re: filesystem Update Error /bin exists in filesystem

Don't do that, you won't be able to install the filesystem on top of those symlinks. Just install it with pacman -S filesystem --root <mountpoint>

Offline

#114 2013-06-04 00:36:45

akanski
Member
Registered: 2011-09-30
Posts: 32

Re: filesystem Update Error /bin exists in filesystem

@Scimmia, as far as I know @kamillo will be unable to run `pacman -Sy filesystem --root <mount_point>` on that other distro; moreover, there is no chroot environment anywhere. How to do it then?

Therefore, pragmatically speaking, he can make those symlinks and remove them after if he cannot install filesystem package when running on Arch Linux. So I see no reason to overdramatize that minor issue, after all, he should be able to fix it as an Arch user.

Last edited by akanski (2013-06-05 17:25:29)

Offline

#115 2013-06-04 00:44:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,093

Re: filesystem Update Error /bin exists in filesystem

Ah, I didn't see that he was using "BackTrack" on the USB. You can try chrooting with chroot /usr/bin/bash, you *may* be able to do enough to install the filesystem package.

Offline

#116 2013-06-04 01:00:58

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: filesystem Update Error /bin exists in filesystem

What happens when a package would want to install binary in one of the symlinked folders? Some of the AUR packages are yet to be updated and might take some time.

Offline

#117 2013-06-04 01:04:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,093

Re: filesystem Update Error /bin exists in filesystem

With pacman 4.1, it's ok (not good, but it'll work). It's looking like pacman 4.2 will throw an error.

Offline

#118 2013-06-04 01:31:00

progandy
Member
Registered: 2012-05-17
Posts: 5,263

Re: filesystem Update Error /bin exists in filesystem

donniezazen wrote:

What happens when a package would want to install binary in one of the symlinked folders? Some of the AUR packages are yet to be updated and might take some time.

Currently it works, but if possible you should try to fix it yourself. In many cases, there should be an option for configure or make to set the directories. If it is not possible, you could create the symlink in the PKGBUILD, install and remove it again.

package() {
  ln -s usr/lib ${pkgdir}/lib
  make install --DESTDIR=${pkgdir}
  rm ${pkgdir}/lib
}

source: https://mailman.archlinux.org/pipermail … 16488.html


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#119 2013-06-04 02:04:45

akanski
Member
Registered: 2011-09-30
Posts: 32

Re: filesystem Update Error /bin exists in filesystem

@Scimmia,

If my memory serves me well, I didn't face any issue during '/lib' merging despite the fact that I already had '/usr/lib64' as symlink to '/usr/lib', which I made to test ekopath compiler. So I see no reason why it should fail now (i.e. OK for filesystem 2013.01-1 and not 2013.05-1)

By the way, everything was fine and dandy to me when updating, so I'm just trying to give practical assistance to @kamillo like you smile

Last edited by akanski (2013-06-05 03:30:17)

Offline

#120 2013-06-04 02:54:45

stayupthetree
Member
Registered: 2012-06-23
Posts: 9

Re: filesystem Update Error /bin exists in filesystem

ERROR: Root device mounted successfully, but /sbin/init does not exist. Bailing out, you are on your own. Good luck.


I have followed multiple posts about this particular error, but nothing is helping. I tried adding the init=/bin/systemd to my grub2 to no avail.
The closest I got to something different was  init=/usr/lib/systemd/systemd in my grub2, still no boot, but different errors

Offline

#121 2013-06-04 03:00:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,093

Re: filesystem Update Error /bin exists in filesystem

akanski, without using --force, pacman won't overwrite files it doesn't think are already owned by the package being upgraded. If you make those symlinks, they won't be owned by any package and pacman will just throw the error that /bin and /sbin already exist. I'm not sure why you were able to do it with 2013.01.

Believe me, everyone appreciate people helping out, it's been a hell of a day with this update both here and on IRC.

Offline

#122 2013-06-04 03:02:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,093

Re: filesystem Update Error /bin exists in filesystem

I'm guessing you ran into problems updating and instead of checking the front page, you just ignored filesystem?

Offline

#123 2013-06-04 03:06:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: filesystem Update Error /bin exists in filesystem

stayupthetree wrote:

... still no boot, but different errors

And, what were they?

Do you have systemd-sysvcompat installed?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#124 2013-06-04 03:11:03

stayupthetree
Member
Registered: 2012-06-23
Posts: 9

Re: filesystem Update Error /bin exists in filesystem

Yeah I didnt check the front page, never claimed to be a genius. I do use 'safepac' but Im guessing it missed this one. I am unsure if I have systemd-sysvcompat installed.

I cant type anything at rootfs:

Heres the new errors:
http://i.imgur.com/lS4ZA97.jpg



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#125 2013-06-04 03:11:26

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

Re: filesystem Update Error /bin exists in filesystem

I really think it sounds like Scimmia is right here.

Edit: Wow... I was a bit too slow here.

Last edited by WonderWoofy (2013-06-04 03:40:59)

Offline

Board footer

Powered by FluxBB