You are not logged in.
The error message
error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
Errors occurred, no packages were upgraded.
I got this message and then I was told some issue about mounting as expected. I rebooted and I get the same error message as above. Hopefully this can be fixed easily
About a week and a half ago. I accidentally extracted an Ubuntu ISO (maybe an arch one) into the root filesystem. It started so quick but I aborted and removed at least most of those files.
Last edited by quasifilmie (2011-12-21 23:04:47)
Offline
This has been discussed on the mailing lists. You need to use pacman's --force option.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
For other users:
Currently, this can occur if you have the [testing] repository enabled. Users that have this repository enabled should constantly watch the mailing lists.
on arch-dev-public:
http://mailman.archlinux.org/pipermail/ … 22242.html
on arch-general:
http://mailman.archlinux.org/pipermail/ … 23507.html
Once this change hits the normal repositories, a news article will be posted. [testing] users need to watch the mailing lists to be aware before that time.
Arch i686 on Phenom X4 | GTX760
Offline
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Happened to me also today:
(29/29) checking for file conflicts
error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
Errors occurred, no packages were upgraded.
Looking in /etc I found the mtab file and another named mtab.fuselock, a 0 byte file dated 12-06.I renamed both files after which the pacman update completed successfully and left an mtab link in /etc.
I don't have the Testing repo enabled at the moment.
Last edited by sonoran (2011-12-21 00:09:40)
Offline
It has already been pushed to [core] http://www.archlinux.org/packages/core/any/filesystem/
You have the announcement on the main page: http://www.archlinux.org/ and on the Planet + ML.
Offline
If you have NFS mounts, check that your mounted path has a trailing / (in the first field of /etc/fstab), too...
Offline
i usually update without reading the news,which is not recommended that i already know.But today i was checking the homepage to see if firefox 9 has come on stable repos.i was lucky to read the filesystem news announcement and did the update as recomended by tom.But how to fix pacman if someone didnt use '--force' to upgrade the filesystem?
Last edited by hadrons123 (2011-12-21 01:22:24)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
But how to fix pacman if someone didnt use '--force' to upgrade the filesystem?
But what *did* you (or that person) do?
Did pacman update the system w/o using '--force'?
Offline
i did a
pacman -S filesystem --force
my pacman is fine.but i was talking about someone who didnt use the -f switch like the OP.
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
i did a
pacman -S filesystem --force
my pacman is fine.but i was talking about someone who didnt use the -f switch like the OP.
Errors occurred, no packages were upgraded.
Nothing happened.
Offline
[root@DRAGONFLY ~]# pacman -S filesystem --force
resolving dependencies...
looking for inter-conflicts...
Targets (1): filesystem-2011.12-2
Total Download Size: 0.00 MB
Total Installed Size: 0.06 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
filesystem-2011.12... 4.1K 186.6K/s 00:00:00 [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) upgrading filesystem [######################] 100%
[root@DRAGONFLY ~]#
this is what happened.karol, what are you trying to do here? i already said my pacman is fine.
Last edited by hadrons123 (2011-12-21 01:59:46)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
You asked what would happen to someone like OP, who didn't use '--force': nothing would happen. His system wouldn't be updated as it's written in pacman output posted by OP in the first post.
Offline
The update worked for me without --force after I renamed /etc/mtab. Maybe pacman is smarter than we suspect.
Offline
However, in this particular case it is needed as deleting /etc/mtab manually would break pacman.
as per the homepage latest news.
what i understand is that if you dont use -f switch it would break pacman(so that you wont be able to use pacman following that).maybe i didn't get the implication of the qoute properly.
Last edited by hadrons123 (2011-12-21 04:03:30)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
Read what happened when a dev tried to do it manually w/o '--force':
http://mailman.archlinux.org/pipermail/ … 22243.html
http://mailman.archlinux.org/pipermail/ … 22244.html
Offline
The update worked for me without --force after I renamed /etc/mtab. Maybe pacman is smarter than we suspect.
It works if you don't have disk space checking enabled, but pacman will choke if you do have that feature enabled. That's why the news item states that you should use --force, other methods might fail depending on the user's configuration.
Offline
The update worked for me without --force after I renamed /etc/mtab. Maybe pacman is smarter than we suspect.
sry, but you're wrong.
I renamed/moved /etc/mtab but it still failed with the same error messge.
so ya, others are right here, you have to usee the "--force" option for it to complete the upgrade.
(ie: pacman -Syu --force) ...
The "BSD" things in life are "Free", and "Open", and so is "Arch"
Offline
sonoran wrote:The update worked for me without --force after I renamed /etc/mtab. Maybe pacman is smarter than we suspect.
sry, but you're wrong.
I renamed/moved /etc/mtab but it still failed with the same error messge.
so ya, others are right here, you have to usee the "--force" option for it to complete the upgrade.
(ie: pacman -Syu --force) ...
Did you read my reply? He's not wrong, the success of manually deleting the file just depends on your pacman config.
Offline
Global Updating ERROR
My first ARch installation, so far; no testing repo enabled.
# pacman -Syu
error: failed to commit transaction (conflicting files)
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occurred, no packages were upgraded.
1. --force: no success
2. renamed:
# mv locale.sh locale.org
Global Updating OK
Offline
Hap, It's an earlier issue, as also covered if you read the news on the main page
Offline
Hap, It's an earlier issue, as also covered if you read the news on the main page
Yup.
Unfortunately checking all the main page news since the "release iso" you're using (my guess is 2011.08.19) is the only way to perform a successful update.
Offline
mcmillan
Today 19:09:43
Hap, It's an earlier issue, as also covered if you read the news on the main page
https://www.archlinux.org/news/initscri … -required/
ok, thank you, I begin to understand (first serious linux steps)!
Offline
hap, if you want to quote some post, use the 'Quote' link in the bottom right corner of the post you want to quote.
Check my previous post to see how nice it looks when done properly :-)
Offline
I was not sure if I should use the --force switch so I posted here. Pacman -Syuf worked fine without error. Marking as solved.
Offline