You are not logged in.
Both, util-linux-2.28-1 and bash-completion-2.1-5 want to install the files mount and umount in /usr/share/bash-completion/completions/, which obviously results in a conflict.
For now i chose util-linux, but i guess it'd be neat to have both installed like before?
Offline
Here I am with another issue,this time less system breaking but still annoying,after upgrading util-linux and bash-completions I keep getting this error on every package install.
Offline
error: file owned by 'bash-completion' and 'util-linux': 'usr/share/bash-completion/completions/umount'
error: file owned by 'bash-completion' and 'util-linux': 'usr/share/bash-completion/completions/mount'
Offline
this is because those files are owned by bash-completion package.
Everything less than immortality is a complete waste of time!
Offline
Show the full command and output. Those files are *only* owned by util-linux, so either you are doing a partial upgrade or you have nonstandard repositories replacing main repo packages.
No irrlicht, they are not owned by bash-completion.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
# pacman -S util-linux
resolving dependencies...
looking for conflicting packages...
Packages (1) util-linux-2.28-1
Total Installed Size: 9,40 MiB
Net Upgrade Size: 0,42 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%
error: failed to commit transaction (conflicting files)
util-linux: /usr/share/bash-completion/completions/mount exists in filesystem
util-linux: /usr/share/bash-completion/completions/umount exists in filesystem
Errors occurred, no packages were upgraded.
no additional repos, plain and recent archlinux
pacman -Qo /usr/share/bash-completion/completions/mount
/usr/share/bash-completion/completions/mount is owned by bash-completion 2.1-5
Last edited by irrlicht (2016-04-18 15:52:26)
Everything less than immortality is a complete waste of time!
Offline
Yes. Stop doing partial upgrades. The current bash-completion in the repos is 2.3. Both util-linux and bash-completion were upgraded today. To get the version numbers you are showing you are clearly hiding the fact that you ran a pacman -Sy shortly before attempting to install util-linux.
EDIT: it seems there may have been ~20 minutes between when these two packages were pushed to the repos. So it might be possible that your mirror just happened to sync in that time (pretty unlikely) but even then, the issue is with the mirror you are using. All is well with these packages in the repos.
EDIT: Apparently - despite the time window being only 20 minutes - several user's mirrors were apparently affected by this. I apologize for my skepticism. But on the other hand, if something like this happens, I'd personally spend at least 20 minutes trying to search and figure it out before posting about it. It this approach had been taken the problem would have been solved before it needed a fuss. Transient snafus will come and go in any networked resource - I don't think issues need be opened if the problem hasn't persisted for more than 20 minutes.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Yes. Stop doing partial upgrades. The current bash-completion in the repos is 2.3. Both util-linux and bash-completion were upgraded today. To get the version numbers you are showing you are clearly hiding the fact that you ran a pacman -Sy shortly before attempting to install util-linux.
I'm not doing a partial upgrade. This output was provided to show the problem. Bash-completion 2.3 is only since 2-3 minutes in the repos. Currently on the top position on the main page, and wasn't there before.
Everything less than immortality is a complete waste of time!
Offline
Both, util-linux-2.28-1 and bash-completion-2.1-5 want to install the files mount and umount in /usr/share/bash-completion/completions/, which obviously results in a conflict.
For now i chose util-linux, but i guess it'd be neat to have both installed like before?
Please search for existing threads before creating new ones.
Merged into other thread.
edit
Ah, I see now that this was posted first. I redirect my comment to alex099.
edit 2
And now I see that the threads were posted about 2 minutes apart. Ignore my previous comment
Last edited by Xyne (2016-04-18 17:03:38)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
@irrlecht, 58 minutes ago actually. But I'm done quibbling minor details of an expired greivance for something that *might* have been out of place for a matter of minutes.
Yes, it seems the packages didn't get to the repos at *exactly* the same time. But the problem is resolved. Update your system.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
madmaurice wrote:Both, util-linux-2.28-1 and bash-completion-2.1-5 want to install the files mount and umount in /usr/share/bash-completion/completions/, which obviously results in a conflict.
For now i chose util-linux, but i guess it'd be neat to have both installed like before?
Please search for existing threads before creating new ones.
Merged into other thread.
edit
Ah, I see now that this was posted first. I redirect my comment to alex099.
I am pretty sure I did a search. But as it takes some time to write a post it might not have been alex099's fault either.
Edit: All is good now. The mirror I use finally updated. Thanks for the help guys. The forum moderators as well as the package maintainers are doing a great job. Keep it going.
Last edited by madmaurice (2016-04-18 16:16:21)
Offline
But as it takes some time to write a post it might not have been alex099's fault either.
When in doubt, blame Allan. I bet he's somehow responsible for this conflict mess and shoddy package rollout too.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Glad I found this because I was in the same exact situation.
But, I upgraded bash-completion and all seems to back to normal now.
I am no longer getting this error.
error: file owned by 'bash-completion' and 'util-linux': 'usr/share/bash-completion/completions/mount'
error: file owned by 'bash-completion' and 'util-linux': 'usr/share/bash-completion/completions/umount'
Thanks for posting this madmaurice and alex099!
Last edited by Cavsfan (2016-04-18 17:15:16)
Offline
sorry for double posting,i did do a search before,and there was no thread about this
My repos updated finally,thanks guys
Offline
sorry for double posting,i did do a search before,and there was no thread about this
My repos updated finally,thanks guys
Yes, madmaurice was probably typing this as you were typing yours.
It hit me at the same time so I was very thankful to find out that just updating bash-completion would fix it.
I didn't want to end up with a broken system.
I googled what to do when you get error: failed to commit transaction (conflicting files)
And found the pacman man page which suggested renaming the files, which I did and everything installed but
I had that error from my previous post. So, I must have caught it in middle of when bash-completion was
becoming available like everyone else. Because it was not in the package list to be updated.
I tried to update bash-completion but it was not the newer version until I refreshed the repos again.
I definitely learned something from this.
So, thanks again!
Last edited by Cavsfan (2016-04-18 19:53:53)
Offline
Edit: All is good now. The mirror I use finally updated. Thanks for the help guys. The forum moderators as well as the package maintainers are doing a great job. Keep it going.
Please remember to mark your thread [SOLVED] (edit the title of your first post.)
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline
FWIW, this possibly indicates the NZ mirror is well out of date:
pat-laptop:/home/pat# cat /etc/pacman.d/mirrorlist
##
## Arch Linux repository mirrorlist
## Generated on 2015-07-19
##
## New Zealand
Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch
# pacman -Syu
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
# pacman -S bash-completion
resolving dependencies...
looking for conflicting packages...
Packages (1) bash-completion-2.1-5
Total Installed Size: 0.76 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%
error: failed to commit transaction (conflicting files)
bash-completion: /usr/share/bash-completion/completions/mount exists in filesystem
bash-completion: /usr/share/bash-completion/completions/umount exists in filesystem
Errors occurred, no packages were upgraded.
# pacman -Qo /usr/share/bash-completion/completions/mount
/usr/share/bash-completion/completions/mount is owned by util-linux 2.28-1
Offline
That mirror is terrible. Use an Australian one or, if you are based in NZ, use the Uni of Auckland one.
Offline
That mirror isn't even on the mirrorlist anymore.
Offline
Use Reflector. It finds the best mirrors for your area.
I created an alias and just run upd-mirrorlist in terminal once a week or so.
Since I'm in the US, here is mine:
#update mirror list to the latest and fastest sources
alias upd-mirrorlist="sudo /usr/bin/reflector --country 'United States' -l 10 -p http --sort rate --save /etc/pacman.d/mirrorlist"
It saves 10 of the fastest mirrors.
/etc/pacman.d/mirrorlist contains this afterwards:
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector --country 'United States' -l 10 -p http --sort rate --save /etc/pacman.d/mirrorlist
# When: 2016-05-16 14:04:45 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2016-05-16 14:04:44 UTC
# Last Check: 2016-05-16 13:46:42 UTC
Server = http://arch.mirrors.ionfish.org/$repo/os/$arch
Server = http://mirror.kaminski.io/archlinux/$repo/os/$arch
Server = http://il.mirrors.linaxe.net/archlinux/$repo/os/$arch
Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch
Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
Server = http://mirror.htnshost.com/archlinux/$repo/os/$arch
Server = http://mirror.lty.me/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
Server = http://arch.localmsp.org/arch/$repo/os/$arch
Just my 2 shillings...
Last edited by Cavsfan (2016-05-17 14:48:51)
Offline