[SOLVED] Pacman "config file could not be read" error during Arch ins

I've been attempting to get Arch setup for a while now, and after having some trouble with partitions, my wireless connecting, and setting up repos and mirrors, which the Wiki helped me solve, I've hit a bigger bump.  While updating the system using pacman as the Beginners Guide says to do, I get errors when I try to continue the update process as follows :
btw: I'm typing this on a laptop next to my computer
[root@McArch~]# pacman -Syu
error: config file /etc/pacman.d/core could not be read
error: config file /etc/pacman.d/extra could not be read
error: config file /etc/pacman.d/community could not be read
:: Synchronizing package databases . . .
error: failed to updated core (unexpected error)
error: failed to updated extra (unexpected error)
error: failed to updated community (unexpected error)
error: failed to synchronize any databases
Any tips as to whats going on?  I've tried to created said files, and even insert mirrors into the file, like in the /etc/pacman.d/mirrorlist file but this doesn't seem to help
Last edited by Windfinder (2008-09-29 20:43:29)

Glad you got it working.
I'm not sure what happened in your install but I just finished using an old 2007.08 iso and pacman first starts out with /etc/pacman.d/core, etc/pacman.d/extra, /etc/pacman.d/community ... etc., but I never had your problem when I did the #pacman -Syu after initial install reboot.  The pacman update removes the above mentioned repos and replaces them with a single /etc/pacman.d/mirrorlist.  You must have messed up an initial config file somehow as I couldn't get the same errors you got.  It looks like you had your /etc/pacman.conf file messed up somehow and when you pointed it to the mirrorlist it could finally work properly.  I'll just include my /etc/pacman.conf file and /etc/pacman.d/mirrorlist so you can compare.  NB*  these are from my x86_64 so for 32 bit machines i686 would replace x86_64 in the files.
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
/etc/pacman.d/mirrorlist
# Arch Linux repository mirrorlist
# North America
# - United States
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
# - Canada
Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
Well it was an interesting way to kill 30+ minutes.

Similar Messages

  • "ABC could not be saved, because the source file could not be read" error when downloading

    Almost every time I download a file, the download gets to the end and then I get this error "<filename> could not be saved, because the source file could not be read", and then the download fails.
    I checked my addons and they are not the problem. This doesn't happen when I try another Firefox profile. I tried several solutions offered in "http://kb.mozillazine.org/Unable_to_save_or_download_files" but they didn't help. It's not my antivirus.
    I hate to start another profile because I have my current one just the way I like it.
    Please help!

    You can check the file attributes of all the files in the Firefox Profile Folder to make sure that you have write permission.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Create a new profile as a test to check if your current profile is causing the problems.
    See Basic Troubleshooting: Make a new profile:
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " when file not downloaded

    How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " standart download manager when file not downloaded

    It is possible that anti-virus software is corrupting downloaded files or is interfering otherwise.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See:
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    You can try to set the browser.download.manager.scanWhenDone pref on the <b>about:config</b> page to false.
    *http://kb.mozillazine.org/about:config

  • Could not be saved because the source file could not be read.

    I tried to download and after a while, this error message: ''[filename] could not be saved because the source file could not be read.'' I've been on google searching but I could not find the answer can someone PLEASE help me. it happened when downloading a game and I've already seen a few times before but it was less important.
    sorry for the bad english I used a translator.

    This problem isn't only happening with Firefox 4, for windows, as the System Details, and Tags indicate.
    I'm using a Mac laptop (OS X 10.5.8 -- Leopard), using Firefox 6, and have been having this problem with large files for quite a while ... possibly since FF 4, but definitely with FF 5. The large files I've had the problem with are in the 500 - 900 MB range, and from commercial sites as well as most recently with a zip file containing photos from a friend which he uploaded to dl.dropbox.com ... attempted it numerous times, after trying the various suggested "fixes", and each time at around 255 MB, the download quits, with the error that file cannot be read from the server.
    The various proposed solutions I've found on the web -- resetting the user configured options connected to downloads in FF config (about:config); deleting the compreg.dat file in the FF profile folder, don't pause the download (never have done this) etc.
    Others have opined that the problem is flaky intermittent WiFi, or Security/Anti Virus software interfering with FF's accessibility to the file during the download; or a caching problem at one's ISP -- HOWEVER Safari doesn't experience this problem at all. Each time that I've experienced it in FF, I launch Safari, and can download the file completely without any errors.
    Would really like to see someone from Mozilla respond to this ... lots of us are experiencing it.
    Whatever happened to Netscape's ability to recover from download interruptions and resume a download at the point where it had been interrupted (like when a dial up modem dropped the line in the middle of the download) -- sure would be useful to see that feature come back in FF.
    Thanks,
    Muiz

  • My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any

    My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any advice is helpful. This has never happened in 6 years

    answered in your other thread LR 4 suddenly no longer recognizes files.

  • In trying to update I received this message: Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.

    In trying to download an update I first received: "There were problems checking for, downloading, or installing this update. Firefox could not be updated because: No data was received (please try again)" It also gave a link to download manually. When I tried from the Firefox website I got: /Users/(deleted for privacy)/Desktop/Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.
    Try again later, or contact the server administrator. I tried this 3 times.
    == This happened ==
    Not sure how often
    == Mon around 11 am, central time, May 17, 2010

    I have tried downloading the file several times and get the same message: "No data received." I have no other system problems, I navigate well to other sites, but I'm unable to download this upgrade. Any suggestions?

  • ITunes sync problem: file could not be read or written

    I am running itunes 10.5.2 on OSX 10.7.2 on a 2.53 GHz Intel Core 2 Duo Macbook
    A week ago i did a so called "clean install" on my Mac, making sure to back everything up on one external drive, and clone the disk on another before beggining. I started with snow leopard and then installed the upgrade from the app store.  I then reinstalled all of my software, loaded my photos, setup my preferences and devices, and finally directed itunes to the media folder on my external drive.
    I had been using the external drive for itunes for a couple of years: on the previous system and even my previous desktop, with no problems whatsoever.
    All my songs apps etc. showed up and there seemed to be no issue.
    Then I tried to sync my iphone 4s and it started off okay, but about halfway through the message "could not sync ___ song to iphone because the file could not be read or written". When i located the song in question it was where it should be and even played properly in itunes. The second try would bring about the same error only with a different song. This went on several times before I realized something was really wrong.
    I made sure to change the permissions for all itunes folders, music folders, even the external drive itself to have read & write permissions for all fields, and checked the box to include all internal files. I also tried resetting my iphone, syncing through another usb port, and running permissions checks on the main drive.
    Thinking it could be a broken hard drive, I tried moving my aperture folder to the internal drive and all 30 GB transfered no problem. But when I tried to move the itunes folder to another drive, it stopped midway through and the finder gave me "error -36" saying that some song could not be transfered because "the file could not be read or written".
    In case it helps I have included the Console log from on of my attempts to syc.
    Any ideas? Thanks for your time and effort in helping.
    Jan  9 16:49:23 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:49:53: --- last message repeated 1 time ---
    Jan  9 16:49:57 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:55:03 Rolf-Lufts-MacBook-Pro kernel[0]: 0        0 AppleUSBCDC: start - initDevice failed
    Jan  9 16:55:03 Rolf-Lufts-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 57442D574D41565530363531313730 0x1058 0x1003 0x175
    Jan  9 16:55:23 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:55:53: --- last message repeated 1 time ---
    Jan  9 16:55:56 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:56:26: --- last message repeated 2 times ---
    Jan  9 16:56:52 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:57:26 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:57:56: --- last message repeated 1 time ---
    Jan  9 16:57:56 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:59:07 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 16:59:15 Rolf-Lufts-MacBook-Pro kernel[0]: IOSurface: buffer allocation size is zero
    Jan  9 16:59:39: --- last message repeated 4 times ---
    Jan  9 16:59:39 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:00:23 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:00:53: --- last message repeated 1 time ---
    Jan  9 17:01:23 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:06:40 Rolf-Lufts-MacBook-Pro kernel[0]: IOSurface: buffer allocation size is zero
    Jan  9 17:14:34 Rolf-Lufts-MacBook-Pro kernel[0]: IOSurface: buffer allocation size is zero
    Jan  9 17:17:18: --- last message repeated 3 times ---
    Jan  9 17:17:18 Rolf-Lufts-MacBook-Pro kernel[0]: IOSurface: buffer allocation size is zero
    Jan  9 17:21:46 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:22:16: --- last message repeated 1 time ---
    Jan  9 17:22:44 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:23:14: --- last message repeated 1 time ---
    Jan  9 17:23:14 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:23:48 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:24:18: --- last message repeated 1 time ---
    Jan  9 17:24:22 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:24:52: --- last message repeated 1 time ---
    Jan  9 17:28:04 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:28:34: --- last message repeated 1 time ---
    Jan  9 17:28:37 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:29:07: --- last message repeated 1 time ---
    Jan  9 17:29:07 Rolf-Lufts-MacBook-Pro kernel[0]: IOSurface: buffer allocation size is zero
    Jan  9 17:29:12 Rolf-Lufts-MacBook-Pro kernel[0]: disk1s3: I/O error.
    Jan  9 17:29:42: --- last message repeated 1 time ---
    Jan  9 17:30:06 Rolf-Lufts-MacBook-Pro kernel[0]: IOSurface: buffer allocation size is zero

    I had this same message appear today when i was putting new music on my ipod touch 4th gen. The only difference is that I wasnt using an external drive. I was using the one on my computer. This is the first time i have had this problem

  • "the finder cannot complete the operation because some data in [name of iMovie file] could not be read or written (Error Code 26)

    Hi all,
    I have an iMovie project in iMovie HD 6.0.3. (Mac OS 10.5.8)
    It plays, but I cannot copy the file (including saving it to a flash drive). I get either a message
    "the finder cannot complete the operation because some data in [name of
    iMovie file] could not be read or written (Error Code 26)" or the
    message "A project file is missing. The file [name of the QuickTime
    movie inside the project.dv] couldn't be opened and is being skipped."
    This happened suddenly, I was able to save a backup version numerous
    times while working on the project.
    I followed some of Karl Petersen's advise on apple discussions. I opened
    the package contents, and everything seems to be there. The source file
    (original QuickTime movie) is there and can be opened and played. I
    replaced the current project file with the backup in the package
    contents, but that did not change anything. I was able to export the
    movie timeline into a new project as a single clip, but would like to be
    able to copy the current project.
    Thanks for any ideas..

    Make sure all drives are formatted as "Mac OS Extended". (Journalling preferred, but not necessary).

  • Cannot save webpage (.html file) because get error sayting that a " .js" file could not be saved, because the source file could not be read. Any ideas where my problem is? Thx.

    Every time I attempt to save a webpage (.html format) I get a message indicating that some .js-type file was not saved because the source file could not be read.
    I did some "cleanup" of add-ons because there were so many. Is it possible I deactivated one that I need to read .js files, or could/would it be something else?
    Thanks.

    Please help.
    It is getting worse
    Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
    Please help.

  • The File Could Not Be Read or Written?

    I am trying to sync some songs to my iPod Touch (brand new, by the way) and occasionally I hit a song where I get the error message that the "file could not be read or written."
    I set iTunes to only sync checked songs and video. I mark the problem song as "corrupted" in the notes and then uncheck it. When I sync again, it skips that song and the sync continues until it finds another song that is "corrupted."
    Strangely though, I can play the song on my iMac with no problems. I just can't sync it to my iPod.
    How do I fix this?

    I had this issue and couldn't figure out what it was for the life of me. I am running windows 7 and the latest version of itunes. I tried multiple reinstalls of itunes and restores of the ipod. I finally got it fixed by following this guide.
    http://support.apple.com/kb/TS1539
    Apparently there was an issue with my .dll files. Hope this helps.

  • I have the 20gb iPod that I need to put music back onto with my new computer. It starts to sync then it says "ITunes could not copy the song to the iPod because the file could not be read or written. ????

    I have a 20gb iPod that needs music from ITunes. On my new computer I am trying to sync but I get error message "could not copy to iPod because file could not be read or written. Attempting to copy to the disk failed. The disk could not be read from or written to." I have tried several times and have reset to factory settings.

    Is the new PC running XP as well, Chalotte?
    If so, I might start with the following document (your error message is a possible symptom of the issue too):
    iTunes displays -50 error message when syncing iPod on Windows XP

  • HT203180 I have bought several tv seasons from the itunes store. Recently some episodes will not sync with my ipad. The error message is that the file "could not be read or written". Previous episodes of the same series synced successfully.

    I have bought several tv seasons from the itunes store. Recently some episodes will not sync with my ipad. The error message is that the file "could not be read or written". Previous episodes of the same series synced successfully. Also while watching the same episode on my laptop (Mac Book Pro) it freezes.

    I had this same message appear today when i was putting new music on my ipod touch 4th gen. The only difference is that I wasnt using an external drive. I was using the one on my computer. This is the first time i have had this problem

  • ITunes could not copy "Beethoven's Symphony No 9 (from "A Clockwork Orange")" to iPhone "Heywood Floyd's iPhone" because the file could not be read or written

    Hello, i am having the following problem...
    "iTunes could not copy "Beethoven's Symphony No 9 (from "A Clockwork Orange")" to iPhone "Heywood Floyd's iPhone" because the file could not be read or written" [ ... and yes, Heywood Floyd is an avatar name..]
    With this...
    a. it occurs when I try to synch my iphone with iTunes.
    b. I have tested the "Beethoven's Symphony No 9" files that I have found on my iTunes, and my iPhone, as there is a copy of "Beethoven_ Symphony No. 9, _Choral_" folder that is the concert from Bernard Haitink & London Symphony Orchestra;
    c. This is where is get weird, a sort of Jack Torrance moment, they only file related to "A clock work orange" is 06 A Clockwork Orange - Ode to Joy.m4p...
    So what is happening, and how can I resolve this, as I am not able to synch between my mac and my iPhone....

    Check the media source drive for errors.
    See also Repair security permissions for iTunes for Windows. Not sure it is relevant but can't hurt.
    If iTunes is confused about what media is and is not on the device take these steps:
    Backup the device.
    Restore as a new device.
    Restore from the earlier backup.
    tt2

  • "file could not be read or written" files grey.

    Trying to re-sync iPhone to mac, iTunes is up to date and so is iPhone but 80% of the songs on iPhone are grey and are unplayable.
    When trying to sync, anywhere from the 1st song up to the 14th (there are lots more songs but it doesn't ever load past 14) iTunes freezes for about 5 minutes and the message "iTunes could not copy "song" to the iPhone because the file could not be read or written" appears.
    The files it is talking about work perfectly when played on iTunes but still don't sync.
    I have tried deleteing enough music so that I can sync the entire library and even restoring the phone but nothing has worked.
    Help.
    iPhone 4 with software 5.1.1
    iTunes version 10.6.3

    I had this same message appear today when i was putting new music on my ipod touch 4th gen. The only difference is that I wasnt using an external drive. I was using the one on my computer. This is the first time i have had this problem

  • When i download any file it start in a second but when i pause the downloading file & after some time when i open it amessage flash 'download error' source file could not be read please try again later or contact the server administrator.

    when i download any file it works frequently and downloading start in a second but when i pause the downloading file & after some time when i open it,The downloading not start proper and after some time a message flash 'download error' source file could not be read please try again later or contact the server administrator.

    I downloaded the Microsoft Autoruns package and ran it.  There are no programs in the LSA Providers tab, and Apple's Bonjour is the only program in the Winsock Providers tab.  I also did the "netsh winsock reset" and rebooted.  It didn't fix the problem.  Any more ideas?

Maybe you are looking for

  • Acrobat 9.0;PDF is black screen/want new window

    Hello, Two problems: I installed Acrobat Pro 9.0 as part of Creative Suite.  Now PDFs open as a black screen normally (with some opening as normal.  I use Mac with 10.8.4 and Safari. Also, I want PDFs to open in a new window.  It is frustrating for t

  • Link to source folder broken

    Hi everyone I have just upgraded my Mac and the folder generated when I imported to lightroom now has a new location. Hence all my images in lightroom are displayed with broken links. Is there a simple way to re-establish the link? The folder content

  • Sticking components in JPanel to GridLayout

    Could please anyone help in the following. I have an application where some JPanel with several Swing components positioned with help of GridLayout. What I need is to remove and place components during runtime, but the problem is that when I remove c

  • . A kernal panic.

    Hi I have a macbook pro 2006 10.6.8. The last 2 months the screen goes black and a message dispays to restart in different languages. I restart it, and nothing happens. The computer works fine in safe mode connected to the modem with an ethernet cord

  • Where/how do I get a "Run-Time Engine"?

    I need to check out operation of my Labview program on another computer in another lab.  I developed it using Labview 7.0, and now need the "Run-Time Engine" to load onto this computer.