Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-29-2011, 10:54 PM   #1
LQ Newbie
Registered: Oct 2011
Posts: 9

Rep: Reputation: Disabled
Arch Linux Update Error

Hello Forumers.
Currently I have installed new OS "Arch Linux" on my laptop. I setup the wireless network, so my internet works fine.
So I decided to give a update by typing
" # pacman -Syu "
Then it proceeds to download, and I typed once more to be sure and it started to download stuff, but in the end I got an error saying these:

:: Synchronizing package databases...
core is up to date
extra is up to date
community 530.0k 999.4K/s 00:00:01 [##################] 100%
::starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (58): linux-api-headers-3.0.1-1 tzdata-2011m-2 glibc-2.14-6 zlib-1.25-4 so on ......

Total Download Size: 0.00MB
Totla Installed Size: 411.11MB

Proceed with installation? [Y/n] y
(58/58) checking package integrity [##########]100%
(58/58) checking for file conflicts [##########]100%
error: failed to commit transaction (conflicting files)
initscripts: /etc/profile.d/ exists in filesystem
Errors occurred, no packages were upgraded.


I looked everywhere and could not find anything to solve it.
I even tried this but having trouble with it.
I am a noob in linux. But I really want to learn it.

can someone please give me a step by step guide to solve this problem. (maybe relating to the link) I do known how to delete it, or proceed to it.

I would appreciate your help. Please no rude comments. Thank you.
Old 10-29-2011, 10:59 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,632

Rep: Reputation: Disabled
this type of error is a bit common in arch
just rename the file to *.old ( /etc/profile.d/ to

and rerun pacman

this also happens for some icons and such
Old 10-29-2011, 11:04 PM   #3
LQ Newbie
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
how do i renam?

thanks for your quick reply.
I really appreciate it.
How would you rename it?
Can you able to show me the command steps.
Thanks again.
Old 10-29-2011, 11:08 PM   #4
LQ Newbie
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
good news?

Hey, I think i just figured it out.
I typed rm -rf /etc/profile.d/
and typed pacman -Syu
It redid the udpate, and everything seems to install right.
Now I get this message everytime i type "pacman -Syu"
# pacman -Syu
:: Synchronizing 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
Do you think its now fixed?
And the command rm -rf /etc/profile.d/ delete the directory of "/etc/profile.d/"
and why did that solve the problem if it did?
Old 10-29-2011, 11:39 PM   #5
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,632

Rep: Reputation: Disabled
a word of WARNING
do not make a habit of using "rm"
it is a VERY BAD idea to be using it on system files .
Making a .old or .bak ( backup) file is the BEST OPTION

for that file
su -
cd /etc/profile.d

reason NOT to use "rm"
one - yes ONE small typo a single unintended < SPACE> hit the space bar and you UNINSTALL THE WHOLE OPERATING SYSTEM !!!
[quote]I typed rm -rf /etc/profile.d/]/quote]
if you added a "space " here
 rm -rf / etc/profile.d/
-- not good --

Last edited by John VV; 10-29-2011 at 11:43 PM.
Old 10-30-2011, 08:25 AM   #6
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 715Reputation: 715Reputation: 715Reputation: 715Reputation: 715Reputation: 715Reputation: 715
I once experienced a glitch in pacman that caused a massive amount of such errors (and I still see them today sometimes form some packages, I assume it's those that haven't been updated since then).

I copied and pasted the part of the output that listed the bad files into an editor (there were hundreds of them), removed the extra text before and after the path usign search and replace, and ran this:

while read file; do rm "$file"; done < badfiles.txt
And that solved the problem.
Old 10-30-2011, 12:20 PM   #7
Dudley Dipstick
LQ Newbie
Registered: Nov 2009
Distribution: Arch, Slackware
Posts: 8

Rep: Reputation: 5
Often, the Arch homepage will have details on those sort of problems and how to address them. As Arch is a rolling release, it is good practice to check the homepage often.

I see that you checked that, but a network installation doesn't reproduce that problem, just an install of "core - local". If you find yourself re-installing again, you may want to check that you have the "core - remote" field checked rather than a local install from disk or usb.

Last edited by Dudley Dipstick; 10-30-2011 at 12:28 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox broken after kernel update in Arch Linux MTK358 Linux - Software 10 09-06-2010 08:51 PM
[SOLVED] Arch Linux won't update! MTK358 Linux - General 3 08-14-2010 08:38 PM
Arch Linux update failed! MTK358 Linux - General 6 07-04-2010 08:47 PM
(NOT SOLVED) $DISPLAY not set error in ARCH Linux. mattvdh Linux - Newbie 9 06-02-2010 08:18 PM

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration