[pacman] filesystem exists in filesystem

Problems with packages? Post here, using [tags] of the package name.

[pacman] filesystem exists in filesystem

Postby alexval1323 » Wed Feb 17, 2021 10:27 pm

Hey friends.

Now before I get the "just google it" response, I have. I have tried the obvious solution and much much more.

I am working on a Stratix10 Development board running Angstrom Linux distro (aarch64) and as such have to pretty much everything from scratch. I have installed all the necessary packages to run pacman and got it up and running after maybe an hour of work.

Now that I have pacman, I tested it by trying to install sudo (seemed like a good place to start). Running the command $this->bbcode_second_pass_code('', 'pacman -S sudo'). It presents me with the classic "*** exists in filesystem" error. Now the solution is to "--overwrite <glob>". This takes care of 99% of the conflicts....but sadly not all of them.

It still presents the error:
$this->bbcode_second_pass_quote('', 'e')rror: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /lib exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
filesystem: /var/lock exists in filesystem


I have tried now for 2 days with no way to get around this and to be honest it really doesn't make sense to me. Of course /bin is in the filesystem.....it has to be. And for this specific project, security and "messing up the system" is not a huge concern. This is more a right now band-aid to get a demo up and running and this whole system will not be used after that.

The obvious solutions I have tried to solve this. (I understand that a lot of these do the exact same thing, but I'm getting desperate here :D :D ):
$this->bbcode_second_pass_quote('', 'p')acman -Syu sudo--overwrite '*'
pacman -Syu sudo --overwrite '/*'
pacman -Syu sudo --overwrite '\*'
pacman -Syu sudo --overwrite '/'
pacman -Syu sudo --overwrite '/bin' --overwrite '*'

(^^ and then add --overwrite /lib, /sbin ..and all the other dirs in the error above)



At this point I even tried going back to pacman 4.2.1 so that I could have access to the --force flag. (the above overwrite options should do the exact same thing as --force) I thought maybe this might have some deep core difference in functionality but it doesn't. It does however, give a slightly different error msg (adding the second line):

$this->bbcode_second_pass_quote('', '&')quot;error: failed to commit transaction (conflicting files)
unable to --force directory-file conflicts
filesystem: /bin exists in filesystem
filesystem: /lib exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
filesystem: /var/lock exists in filesystem"



I see that the package throwing the error is 'filesystem'. So I have tried upgrading that using pacman, but unfortunately it produces the same "/bin exists in filesystem" so I am unable to update it. So then I went and got the filesystem.tar.xz to manually update to the latest, but it gives me a tar error:
$this->bbcode_second_pass_quote('', '&')quot;tar: can't remove old file bin: Is a directory".

And to be honest that makes sense to me because I don't want to remove the root file structure.

So, I am stuck. Any help would be greatly appreciated.

Thank you and HACK ON!
alexval1323
 
Posts: 1
Joined: Wed Feb 17, 2021 5:30 pm
Top

Return to Packages

Who is online

Users browsing this forum: No registered users and 12 guests