Edit pacman.conf without editor

Hi folks,
I have got a BIG problem. That is what I did:
I installed a new /etc/pacman.d/mirrorlist
after that I got an error in pacman, which said that the architecture is unknown or sth
so I inserted "Architecture = x86_64" into pacman.conf and did some updates
after a restart some time later xinit failed to initialize "x" ... probably because my window manager can not load (see following text)
well, now I am left without X and when I try to start vim it says sth like: "error while loading shared libraries gtk-x11-...sth... wrong ELF class ELFCLASS64"
now I tried to install nano via pacman which was successful, but as soon as I try to start nano it says "/usr/bin/nano file or directory not found" (I also tried to install vi with the same result)
Now I am really lost since I can not edit any files, especially pacman.conf to change the architecture, since I guess the origin of my problem is that I did not have a x64 system in first place!? Even though I am sure I have ...
Do you have any idea how to fix my system? I can still use pacman and mount a usb device, if that helps?
Best,
Tobias

Please try to give us some more information:
Do
ls -l /usr/bin | grep nano
and see if nano is actually present. Also check if "/usr" is mounted
mount
. If you are unsure, post the output.
Also please provide your pacman.conf so we can see if there's anything wrong there. To get it do
cat /etc/pacman.conf
. Then place it in the file as noted below.
Note: to provide the output do the following:
COMMAND > ~/command_output.txt
. Then you can copy those files to a usb drive via
cp ~/command_output.txt /path/to/usb
This could help us figure out the problem.
You could also look into tools for "editing" a file in the command line. Maybe 'sed' can help there, not so sure myself. Perhaps you can do some kind of
cat /etc/pacman.conf | *command to replace/remove the Architecture line* > /etc/pacman.conf
Watch out though, ALWAYS make backups, you don't want to screw things up even more.
Hope this helps.
By the way: You change doesn't look so wrong if I am not mistaken. I wonder how this could screw things up this way?
Oh by the way: If all else fails, boot a live cd, mount your system and edit the files via live cd tools. If you then want to test things you can chroot into your mounted system.

Similar Messages

  • Searching and installing packages from testing w/o editing pacman.conf

    Is this possible?

    tomk wrote:Installing individual packages from the testing repo is not recommended as they are likely to depend on testing versions of other packages. The only supported way of using the testing repo is to enable it at the top of the list in pacman.conf.
    I don't understand why that is true.
    If I enable the testing repo and update a package (pacman -S package), and if the dependencies are set correctly, the dependencies from testing needed should also be installed/updated, right?

  • [Solved]Add kernel26 to IgnorePkg in /etc/pacman.conf. Not ignored.

    Using kdemod4.3(32bit).  I re-installed kernel26-2.6.30.5-1-i686(earliest in pacman  pkg cache) and added kernel26 and kernel-headers to /etc/pacman.conf IgnorePkg but # "pacman -Syu" still asks to upgrade kernel to 2.30.6-1-i686. What do I add to that IgnorePkg to avoid kernel upgrade? Tried kernel, kernel26 and kernel26*. Adding nvidia,nvidia-utils and xorg-server to Ignorepkg give me that thee aren't upgraded(desirred result). Thanx.
    Last edited by lestoil (2009-10-08 18:08:14)

    # /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
    #CleanMethod = KeepInstalled
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    IgnorePkg   = nvidia nvidia-utils xorg-server 
    #IgnoreGroup =
    #NoUpgrade   =
    #NoExtract   =
    # Misc options (all disabled by default)
    #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
    #KDEmod4
    [kdemod-core]
    Server = http://mirror.rit.edu/kdemod/core/i686
    #KDEmod4
    [kdemod-extragear]
    Server = http://mirror.rit.edu/kdemod/extragear/i686
    [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
    #Yaourt
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
      Here is complete /etc/pacman.conf. file without the "kernel" or "kernel26" entry which doesn't work.

  • Pacman.conf NEED tips for totally offline install with DVD repository

    OBJECTIVE: after a base install with ARCHBOOT be able to install from DVD repository which contains repo-add database.
    My DVD contains the folder from /var/cache/pacman/pkg.
    ON the DVD I have the folder 'pkg' at the dvd root level and another folder which has my already built packages fro AUR.
    The database called 'custom.db.tar.gz' created with repo-add exists IN the pkg folder on the DVD.
    The built AUR packages are in a seperate folder called '_built' at the dvd's root level as well and they are not included in the repo-add database.
    I am able to mount the dvd, cd to the pkg folder and use  pacman -Ud to install them though this requires that I type in the full name of the package and I get dependence issues and '*.so' type files not found.
    IF I copy all the files from the DVD to the var/cache/pacman/pkg folder I am able to add my local repository to pacman.conf and MUCH more efficient install. I can use pacman -S xorg for example, and I think it finds dependencies even. Can't recall exactly at the moment.
    SO: do I need to alter pacman.conf  cache location line and the other lines?
    Would I change the 2nd and 3rd lines to get max pacman ability when using DVD repository???
    Pointing them to my DVD folder after mounting the dvd
    #RootDir     = /
    #DBPath      = /var/lib/pacman/
    #CacheDir    = /var/cache/pacman/pkg/
    #LogFile     = /var/log/pacman.log
    I really would like to have as much power and flexibility when using the DVD as the repo.
    Can anyone tell me what I should alter in pacman.conf for this.
    I am fine if I have to alter the cache location line temporarily if it will give me additional pacman ability.
    I have read all the wiki stuff for sure though I'm still a bit in the dark and wanted to ask without typing the many many options.
    One big one for me is I don't yet know how to set the SERVER = in pacman.com to look at the mounted DVD and the pkg folder specifically.
    I do mount /dev/sr0  /mnt/cdrom
    So what would I put as the SERVER for this in pacman.conf
    SERVER = /dev/sr0   ?????   or   /dev/cdrom  ????    or /mnt/cdrom I think ????
    dunno!
    AND I really probably DO have to temporarily alter the pacman.conf  cache location line to get pacman to do dependency installs and let me type short lines instead of the full package name.
    THANKS! this one is BIG for me!!!!! :---)
    Last edited by yvonney (2009-06-18 20:27:14)

    COMMENT WRITTEN LAST: I was about to delete a lot of stuff here though thought to just say sorry for not taking the brain-time to slim it. The bold and white boxed part is the main related quest-ion.
    you might find a few useful tools on my site (in my sig), e.g. pkgd if you want to save bandwidth on a LAN --- pbget if you want to easily get PKGBUILDs etc from the AUR and official repos, etc.
    WOW Xyne !!!! thanks.  pbget etc. sound very cool.
    I used yaourt until very recently. Then went ....hmmmm... should learn about manual building and local repo. Where I'm at now is trying to do as much manually as possible. I think I kinda know what packages I want and there will only be some changes from that in the future. There's maybe 20 packages from AUR for me. [PLUS their dependencies]
    Of course: I am doing the repo-add local repositories thing for speed, learning, and as part of my whole 'best practices' growth. Plus it will come in very handy when helping other decide quickly if a barbones mainly wm/ncurses lightweight system is for them.
    You certainly spark a question or two!
    [AUR and dependencies via yaourt affecting my plans to now go manually]
    As these have all ALREADY been installed via yaourt my BIG concern is that I've never found much of a yaourt/cache folder. You see, as you'd know many many times upon installing vai yaourt there's some dependency that may, or I guess, may not be in the standard repos.
    After installing these packages via yaourt do the dependencies go into /var/cache/pacman.pkg and is pacman aware of it when I do a repo-add for thecustom database. If so, then all if fairly cool for my plans. I bet there's a few idiosyncrasies about AUR and dependencies maybe.
    -AUR dependency resolution-
    Using a custom repo will not really work for general use because you would need to manually populate the database with the dependencies anyway.
    I'm fine with manually doing dependencies - though need to know if my yaourt usage ALREADY put the latest dependencies in the pacman cache for AUR unsupported packages AND is there a way with the whole repo-add, local repositry, pacman and aur concpt I'm planning to fine tune to have the dependencies update when I go back to the online repositries? I don't think so based on my usage with yaourt, though can't quite recall.
    As I will be enjoying makepkg building the group of packages I nee to get from AUR for the forseeable future (that are not in the main 3 repos of course)
    I'm still wondering about the inter-relationships. So: I already have installed and/or built the packages for everything I expect to need mostly.   I never became beyone mediocre with yaourt.  and that fine, though I now have to consider that in a new install I DO have the latest AUR built packages, though will there be the right dependencies ALREADY in my /var/cache/pacman/pkg ?
    There's a few things that I'd love to really understand about this. Even if it ends up that dependencies for the AUR packages is always a bit trickier.
    QUESTION: right now I am uable to try custom repo from flash stick as it's read only. I'll be googling this one out and am really looking forward to having a flash stick with ARCHBOOT and I gues ONE repo pkg folder and database on it.
    NOTE: I will put the custom repo above the stock ones in pacman.conf. I just commented out the others as I was doing all this offline.
    I've dumped the dvd as a repo and have switched to a flash stick.  I've extracted the archboot out to a 4 gig flash stick.
    dd if=/root/Desktop/archlinux-2009.05-2-archboot.iso of=/dev/sdb  Its read-only at the moment and no matter what I've tried it stays that way. Maybe I need to use the HPutil on it. It definitely isn't writeable so I won't ponder or note observations here save to say that 'm stumped as to how to get files copied to it.
    And now what may be the way I'd like to work:    Keep my folder for building packages from aur which is /root/aur. Then after doing the fun makepkg --asroot   or even makepg -i as root to install. Though I'll probably after the build THEN just copy the built packages from my /root/aur to /var/cache/pacman/pkg   and install from there as I DO plan to use the online repos.
    I will ALSO copy the file to my USB stick or maybe just sync to it and do a the repo-add thing in   /var/cache/pacman/pkg   and keep the stick as both backup and 'in the ready' reinstaller.
    Um, now  could spend an hour editing down the above!!!
    wondrous thanks!
    Last edited by yvonney (2009-06-19 07:38:25)

  • [SOLVED] pacman.conf simple line error or... ?

    So here's what happened:
    I was trying to enable the [multilib] repository. (As according to https://wiki.archlinux.org/index.php/Multilib).
    Thus, I went ahead and uncommented the following from /etc/pacman.conf:
    [multilib]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    To edit /etc/pacman.conf, I used LibreOffice Writer. I saved the file as a .txt document and made sure that it is properly renamed as pacman.conf.
    Next, I went to update pacman's package list by running pacman with the -Sy switch.
    And then, voila:
    # pacman -Sy
    error: config file /etc/pacman.conf, line 1: All directives must belong to a section.
    However, when looking at pacman.conf I don't see any errors in line 1. Nor do I see any problems with directives.
    Here are the contents of pacman.conf:
    http://pastebin.com/raw.php?i=XWh9eagr
    Is there a simple problem with a line in pacman.conf --- or is it because I used LibreOffice Writer instead of Vi? Or?
    Is the answer to this right in front of my nose?
    Thank ya'll..
    Last edited by adamstjohn (2012-12-08 00:31:28)

    adamstjohn wrote:or is it because I used LibreOffice Writer instead of Vi?.
    LibreOffice Writer is a word processor - it will do odd things to your .conf files. Use a text editor. If you don't want to use vi, then use nano, or gedit or anything other than a word processor.
    Moving to NC: not at all related to pacman...

  • [Solved](Offline) install of packages, pacman.conf?

    Good morning (or what ever time of the day it is for you now )!
    I tried offline installation as this guide http://wiki.archlinux.org/index.php/Off … f_packages instructed plus configured pacman.conf to have Server = file:///var/lib/pacman/sync/approriate_dir lines. When trying pacman -Sp --noconfirm any_package I get ERROR: not found in sync db. Is there something I should know? Is my pacman.conf file made by an ass ?
    Last edited by aCyd (2008-03-24 11:53:22)

    I fixed it. This is how (maybe someone finds this useful):
    the pacman that came with the installation cd was apparently different version than the one used when writing the wiki. It wouldn't look for the core.db.tar.gz and the other files from the /var/lib/pacman/sync/core etc folders (perhaps it would have found them from the /var/lib/pacman/core etc folders there were already, who knows didn't try).
    I made a folder called /mnt/usb
    mkdir /mnt/usb
    mounted the usb stick (it showd as sdb1 for me)
    mount /dev/sdx /mnt/usb
    and added
    Server = file:///mnt/usb/Arch
    to my pacman.conf under [core], [extra] and [community] so pacman found them from my usb stick along with packages. I also made sure that the 'Include /path/to/mirrorlist' was commented. No tar command was needed.
    pacman -Sp --noconfim {package-name} > pkglist
    didn't work for me. I just got the last error line without any package names. Instead I used grep
    pacman -Syu --noconfirm | grep error > pkglist
    and upgraded the whole system.
    I modified the pkglist in emacs with replace-string to remove '' from disk : No such file or directory' after the package name and then again to replace 'error: failed retrieving file '' with the url of my selected mirror. (I know that could have been done more elegantly using sed or something or even a proper regexp in emacs if not with the command) After that I downloaded the packages as instructed, copied them to my usb and mounted it to my Arch system and ran again
    pacman -Syu

  • Pacman: a country request in pacman.conf

    Dear all,
    first, excuse me for my bad english.
    Setting the nearest mirror in all /etc/pacman.d files should be tedious especially if I am a men that go around the world (this is not my case).
    Is it possible to add a new feature in pacman.conf to enable the user to set the mirror country without touch the
    /etc/pacman.d files?
    Something like COUNTRY=IT or MIRROR_COUNTRY=IT
    So, if I'll go in another country or only to test other mirrors, I have only to change a variable.
    Thanks for the attention
    morellik

    I think the main problem is that there are several mirror lists to edit, while one is enough.
    There is a way in pacman 3.1 to have just one list, so it'll be much easier to edit it manually.
    Just move the mirrors from your country at the top in one file, and you're done.

  • Feature request: extra Include directive in default pacman.conf

    Since arch's move to systemd, cluster administration requires less and less use of sed.  In particular, systemctl, timedatectl, /etc/sysctl.d, /etc/modules-load.d, /etc/hostname, /etc/vconsole.conf, etc. make scripting configuration changes both simpler more robust than the old approach of editing multi-purpose files such as /etc/rc.conf.
    An exception to this trend is pacman.conf, which has non-trivial default contents that almost certainly needs to be customized (e.g., to enable multilib and local repositories).  These changes would be much simpler if the default pacman.conf included a line such as:
    Include = /etc/pacman.d/conf/*.conf
    Currently my scripts use sed to insert this line at the end of the [options] section.  (Unfortunately "Include = /etc/pacman.d/*.conf" doesn't work because there's sometimes a gpg.conf file in /etc/pacman.d, but maybe that could be fixed.)
    I don't know if the forum is the right place for feature requests, but I wanted to get people's reactions.  If people think it's a good idea I can add it as a feature request to the bug tracker.
    There are several other pieces of low-hanging fruit where I'd like to see arch decrease the complexity scripting configuration (e.g., an unattended pacman-key --populate and easier customization of mkinitcpio.conf), but I figured I'd start with the simplest and gauge people's reactions.

    aweb wrote:I don't know if the forum is the right place for feature requests, but I wanted to get people's reactions.  If people think it's a good idea I can add it as a feature request to the bug tracker.
    It isn't... best to place the feedback in flyspray so it will be sure to get to the peeps that need to see it.  Welcome to Arch.

  • [solved] Editing makepkg.conf (x86_64)

    Hello everyone,
    I just set up my first Arch 64bit-system, so I want get to know its abilities and advantages a bit better for my everyday work.
    Before installing any more stuff, I'm actually editing makepkg.conf, because I'd like to have the CPU usage optimzed, though I don't expect any significant performance boost -- I just want to learn about it and then use it. So far I read the specific Wikis Arch, Gentoo, and of course the Arch64 FAQ. -- However, tuning this file would only affect compiling PKGBUILDs from the AUR, or from other sources, because I'll mostly use the precompiled packages as they are, I suppose.
    The CPU is a Xeon Kentsfield, looking like an early "quad-core, appearing as a single core" to me:
    Wikipedia wrote:Intel released relabeled versions of its quad-core (2x2) Core 2 Quad processor as the Xeon 3200-series (,,,), these models only support single-CPU operation ...
    Four processors are found anyway:
    # cat /proc/cpuinfo
    processor : 0
    model name : Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
    physical id : 0
    siblings : 4
    core id : 0
    cpu cores : 4
    processor : 1
    physical id : 0
    siblings : 4
    core id : 2
    cpu cores : 4
    processor : 2
    physical id : 0
    siblings : 4
    core id : 1
    cpu cores : 4
    processor : 3
    physical id : 0
    siblings : 4
    core id : 3
    cpu cores : 4
    So I wonder: how would this quad-or-no-quad appear or have to be adressed in a (desktop) system monitor -- as 1, 4 or even 2 (as it also a "2x2") CPUs?
    The related section of my makepkg.conf actually reads:
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="${CFLAGS}"
    #MAKEFLAGS="-j2"
    Well, I admit that I'm not sure that I got everything in details. But I guess with this I'd be able to use any PKBGUILD in the AUR (or provide my own that others could use without risk), right?
    Last, what about the MAKEFLAGS? The wiki says,
    Typically -j2, plus 1 for each additional core/processor is an adequate choice.
    If the Xeon is a "real" quad-core (see above), it should rather be
    MAKEFLAGS="-j5"
    as in this case there are three additional cores, right?
    Last edited by cameo (2012-08-19 23:56:24)

    I see.
    Alternatively, for i686 compiling on this very machine I probably must get to grips with this stuff (if I'm not mixing something up); well, that's a future plan.
    Thanks very much anyway.
    Hm, regarding that system monitoring matter, I've just a feeling, different programs could just use different hooks for showing the processor loads. I mean if that Xeon is physically a quad, but "acting" like a single, some could maybe show just 1 CPU, and others 4. -- Since my topic here is mainly about editing makepkg.conf, I'd better discuss this in detail in another thread later, if necessary. (But of course, if somebody has got some information about this, please let me know.)
    Seems to me, there's nothing more for me to question here then, so I'll mark this as solved.

  • Pacman looking for pacman.conf in the wrong place?

    When using yaourt, I had been getting an error message to do with pacman.conf not being found. I fixed this by creating my own and saving it in
    /usr/local/etc/pacman.conf
    (it's the only file in /usr/local/etc)
    I then got the error message:
    failed to initialize alpm library (could not find or read directory)
    After some googling and learning about the find command, I found the following files:
    /usr/lib/libalpm.so
    /usr/lib/libalpm.so.8
    /usr/lib/pkgconfig/libalpm.pc
    /usr/lib/libalpm.so.8.0.2
    So I'm guessing that I do have the alpm library, but pacman (or Yaourt?) isn't finding it.
    Further use of 'find' found the following versions of pacman:
    /usr/local/etc/pacman.conf
    /etc/pacman.conf
    Which then lead me to believe that I have the necessary files but they are in the wrong place or there is a config file (or something) that I need to alter.
    Any ideas what I've done wrong and how to correct it?
    Thanks, James

    I've just tried
    pacman -S man-pages
    as a test, and it worked ok.
    So, Bug Wrangler is probably right. Any ideas how I fix it, or is the solution to start again? If I need to start again, is there an easy way to remove yaourt?
    Last edited by james13 (2014-10-05 18:57:00)

  • Pacman.conf file syntax highlighting for nano

    Hi, here is pacman.conf file syntax highlighting for nano. It may be useful for those who edit their pacman.conf regularly.
    Just put this lines in the end of your /etc/nanorc or ~/.nanorc file:
    # syntax highlithing in pacman.conf
    syntax "pacman.conf" "pacman\.conf$"
    color brightwhite start="\[" end="\]"
    color brightyellow ".*="
    color brightred "=.*"
    color white "="
    color brightblue "\[|\]"
    color brightcyan start="/|http|ftp" end=".*"
    color green "#.*"
    In this thread you can find rc.conf file syntax highlighting.

    thank you! i always accidentally open up nano, find out text is practically unreadable with its default colours, close it and then wait the horrific 4 seconds it takes for emacs to spring to life.

  • Roles for the user to Edit the Dimension without being an administrator

    Dear Users,
    I have a query based on Planning security.
    I want the user to edit the dimensions and members in planning application. However, the user cannot be administrator.
    I have created a user and assigned the role of "Interactive User" on Planning roles and of "Dimension Editor" on Shared Services access. With this provisioning user the "Administration-->Dimension" is grayed out for the user.
    Please suggest if roles can be assigned to the user in order to Edit the Dimension without being an administrator?
    Regards,
    Praveen.

    I am sure this question gets asked over and over, they need to be an administrator.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can't write to pacman.conf -- Read only file

    Hello everybody,
    I'm a complete noob when it comes to installing (arch) linux. I just installed (a part of) arch linux to my old computer, but I'm stuck now.
    I used the Arch Linux beginners guide and now I'm at the part where I need to configure pacman.
    But once I'm trying to adjust something in pacman.conf the computer tells me it's a read only file.
    I also can't udate the system when I use pacman -Syu I get: error: failed to update core/extra/community (unable to lock database)
    Btw I installed syslinux and I'm logged in as root.
    I hope you can help me with this and that i'm not asking a really dumb question.
    Thanks in advance!

    Pimmmo wrote:
    I can only take pictures, because my arch linux is on an other computer.
    here is my fstab (btw it's read only as well)
    And here is my mount output
    That's not even the full /etc/fstab. It's horrible.
    Add a tmpfs like in the fstab wiki entry. It's probably because you used one ">" when using genfstab (my bad, sorry).
    https://wiki.archlinux.org/index.php/Fstab
    PS: Which bootloader do you use? Syslinux? Don't remove "ro" then. Keep it, just like in the examples.
    Last edited by DSpider (2012-09-18 13:22:25)

  • Cannot enable wget in pacman.conf(solved)

    Pacman does not recognize wget in /etc/pacman.conf....
    [root@n6re ~]# pacman -Scc
    error: config file /etc/pacman.conf, line 19: directive 'xferCommand' noted.
    [root@n6re ~]#
    Attempting to eliminate pacman's filling of my /root partition during full system download I attempted to use wget to aid in downloading.  The result is noted above.
    My root partition is filled...used
    pacman -Scc
    once but the problem repeated.  Some users use wget to solve the problem so I tried that .
    Attempted to use:
    pacman -Q |less
    The same error concerning wget occured again and no display of installed packages ensued.
    So for the present cannot state which pacman version I have installed.
    Will restore /etc/pacman.conf to original condition and report further on this problem.
    Last edited by lilsirecho (2009-10-10 06:19:32)

    Thanks for the sharp eye.
    Reset my modem, re-installed pacman and corrected the pacman.conf entry for wget.
    All is well again....

  • Implications of new 'source' in pacman.conf

    I apologize in advance for what seems to be a very basic and FAQ-ish question.
    I've always wanted to know, what are the implications of adding new sources
    to my pacman.conf (or in the case of Ubuntu/Debian, the /etc/apt/sources.list file?)
    Let's say that you put some joker's site in your pacman.conf file, and they put
    a malicious FOO version 2 software in their repository.
    When I run pacman -Syu, does pacman say "Well, software FOO is at version 1 in
    the official Arch repos, but it's at version 2 in Joker's repository, what do you want to do?"
    Sorry for the basic question, but often think that if I was trying to proliferate some keylogger or
    other malware, what I would do is write some good software FOO, or act as a mirror for some good software FOO,
    and then provide updates for software BAR, and have BAR be a new version of some core-software
    that takes data from your keyboard and forwards it to my e-mail account.
    Is my question/concern valid, or am I totally off track?  I recently thought about this when adding
    a repository to my pacman.conf file so that I could get updates for the yaourt application.  I'm not
    accusing the author of yaourt of anything at all, and think the product is great.  But I just want to know if
    the author of yaourt issues an update to "readline", if Arch will accept this update as a valid update the next time
    I run pacman -Syu?
    Thanks very much, and links/RTFMs are appreciated.
    --Nate

    In pacman.conf(8) (man pacman.conf), under "REPOSITORY SECTIONS":
    The order of repositories in the configuration files matters;
    repositories listed first will take precedence over those listed later
    in the file when packages in two repositories have identical names,
    regardless of version number.
    I tested this with a local repo and it appears to work as documented; pacman didn't prompt me to upgrade 'bash' to the newer version I had put in my test repo which was below [core] in pacman.conf.
    Last edited by foutrelis (2009-07-30 08:50:02)

Maybe you are looking for

  • IDVD Will not Burn DVD's

    I have searched the forum for answers for this and have so far not found any. I am sure that I saw something about 6 months ago which explained why the problem was occurring and how to get around it. Maybe you can remind me? Basically I have created

  • Error FF5507 in MIRO G/L Acct 211000 not defined in chart of account INT

    Good Afternoon SAP Gurus- I have a mystery.  We are using standard preconfigured SAP test scripts and we are following the procedure for procure to pay.  We are getting the error below when entering MIRO G/L Account 211000 is not defined in chart of

  • Suppress/Hide Prompts - OpenDocument - Interactive Viewer

    Is anyone aware of a method for hiding/disabling/suppressing prompts for input data in the interactive viewer?  We have a custom application that launches a WebI report through OpenDocument, and the application has applied rules to the nature of the

  • HT204347 Gray screen

    i am having a serious problem with the video controller. My MacBook Pro will come on and shimmy lines until it goes gray and tells you to hold down the power button to reboot.  I am sure I need a new controller. control D  Any ideas of cost and if it

  • BO USERS

    Dear Members We have Bo xi r3 with sp4 running on windows 2007 with 3 node cluster and 2 tomcat server. We are usng Ldap authentication. Last week we encounter an issue , First users are not able to log to the Infoview usng Ldap authentication Some u