Pacman.conf.pacsave etc?

I recently upgraded my system to the newer packages and I noticed some messages when I did this. The pacman.conf.save as well as rc.local.pacsave and a few others were listed as being created. What wasn't clear was what I am supposed to do with these multiple files.
I noticed that the pacman.conf file was actually different than my original as the IGNOREPKG line was commented whereas I had mine commented out.
So, can this be clarified? Perhaps even a list of the files that typically get replaced and what users are supposed to do with them.
Thanks in advance.

Anything with a .pacsave extension is a configuration file that has been backed up. Your previous pacman.conf file was moved to /etc/pacman.conf.pacsave and the new file from the new package was placed in as /etc/pacman.conf.
To prevent that from happening, add etc/pacman.conf to one of the NoUpgrade lines in pacman.conf. Then the next time pacman is upgraded, your original config will be preserved and the new file will be saved as /etc/pacman.conf.pacnew.

Similar Messages

  • Hi accidentally overwrote new pacman.conf with /etc/pacman.conf.pacnew

    Hi
    I accidentally overwrote etc/pacman.conf with the old /etc/pacman.conf.pacnew.
    Pacman now appears to work but disregards the signing of packages.
    Is there an copy of the pacman.conf from the upgrade around so I can merge
    the two files. perhaps pacman.conf~, but no I think this is overwritten too.
    Regardz
    El Zorro

    Hi Trilby,
                  it may be the mouldy oldy one as there is no reference to "SigLevel = Never"  it does not seem to exist only "Architecture = auto"
    Here is the current /etc/pacman.conf
    # /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 -C - -f %u > %o
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    #CheckSpace
    # 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
    # - URLs will have $arch replaced by the name of the architecture
    # 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.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include 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]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    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
    Trilby wrote:
    The pacnew version includes everything for package signing.  All you will have lost is any personal changes you have made.
    The package signing lines are, however, commented out except for the "SigLevel = Never" line.  Just read the instructions within the comments and uncomment the appropriate SigLevel line (and comment the "Never" line).
    Last edited by elzorro (2012-01-21 06:31:50)

  • Pacman.conf kinda confused

    Hello i am just trying out Arch Linux and just did a fresh install. And i trying to enable the repositories and i seem to keep running into an error
    everytime i type pacman or anything related it get this error
    error: config file /etc/pacman.conf, line 65: directive 'Add your preferred servers here, they will be used first' not recognized.
    I know you have to add your own mirrors and such which i did, but still getting errors here is my etc/pacman.conf and /etc/pacman.d/mirrorlist
    here is the pacman.conf
    # /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   =
    #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
    [localmirror]
    Server = http://www.pollicina.org/arch/localmirror
    core
    Add your preferred servers here, they will be used first
    Server = http://mirrors.easynews.com/linux/archl … po/os/i686
    Include = /etc/pacman.d/core
    extra
    Add your preferred servers here, they will be used first
    Server = http://mirror.pacific.net.au/linux/arch/extra/os/i686
    Include = /etc/pacman.d/extra
    community
    Add your preferred servers here, they will be used first
    Server = http://shlunix.org/archlinux/repo/os/i686
    Include = /etc/pacman.d/community
    # 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 the /etc/mirrorlist
    # Arch Linux repository mirrorlist
    # Generated on 2009-06-16
    United States
    Server = http://mirror.archlinux.com.ve/$repo/os/i686
    Server = http://archlinux.unixheads.org/$repo/os/i686
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
    Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
    Server = ftp://mirrors.easynews.com/linux/archli … po/os/i686
    Server = http://mirrors.easynews.com/linux/archl … po/os/i686
    Server = ftp://ftp.archlinux.org/$repo/os/i686
    Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/di … po/os/i686
    Server = http://www.gtlib.gatech.edu/pub/linux/d … po/os/i686
    Server = ftp://mirrors.hosef.org/archlinux/$repo/os/i686
    Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
    Server = ftp://ibiblio.org/pub/linux/distributio … po/os/i686
    Server = http://distro.ibiblio.org/pub/linux/dis … po/os/i686
    Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
    Server = ftp://mirror.rit.edu/archlinux/$repo/os/i686
    Server = http://mirror.rit.edu/archlinux/$repo/os/i686
    Server = http://schlunix.org/archlinux/$repo/os/i686
    Server = http://mirror.sourceshare.org/archlinux/$repo/os/i686
    Server = http://archlinux.umflint.edu/$repo/os/i686
    Server = http://mirror.umoss.org/archlinux/$repo/os/i686
    # Venezuela
    #Server = http://mirror2.archlinux.com.ve/$repo/os/i686
    # Vietnam
    #Server = ftp://202.78.230.5/archlinux/$repo/os/i686
    #Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/i686
    #Server = ftp://mirror-fpt-telecom.fpt.net/archli … po/os/i686
    #Server = http://mirror-fpt-telecom.fpt.net/archl … po/os/i686
    Any help is greatly appreciated.

    Thanks for the reply appreciate it.
    And i think i understand it alittle bit better here is a link to my changed pacman.conf and mirrorlist
    Im still receiving errors about the mirrors
    pacman.conf link
    http://pastebin.ca/1576914
    mirrorlist
    http://pastebin.ca/1576916

  • Adding repos to pacman.conf: A vs B

    It seems that people do things in two ways.  I personally feel that one of these ways is "right", because it is the way that Arch does it by default, but that doesn't mean that the other way is "wrong".  Anyway, I wanted to see what most people do with pacman.conf
    Example A:
    To use this repository, add the following to your /etc/pacman.conf:
    [shadowhand]
    Server = http://archpkg.wgilk.com/shadowhand
    This is also the way that z4ziggy reccommends that people add the Archie repos.
    Example B:
    Add a file to /etc/pacman.d called "dibble" containing:
    # dibble: dibblethewrecker's pkg repo
    # http://dtw.jiwe.org
    [dibble]
    Server = http://dtw.jiwe.org/pkgs/dibble
    Add this line to pacman.conf:
    Include = /etc/pacman.d/dibble
    So, what do most people do?  14 day poll.  I'd also appreciate input from the devs if they have any.

    tomk wrote:
    dibblethewrecker wrote:I personally feel that one of these ways is "right", because it is the way that Arch does it by default
    The default pacman.conf has examples of both, dibble - [testing] is commented, but it's using Server, not Include.
    Most new servers are single and unmirrored, so that's my vote, but I think it's more of a discussion than a poll. Why does it matter, by the way?
    Because we need code to parse pacman.conf to check that people have certain repos list.  I wrongly assumed people used Include over Server but it seems I was wrong!
    kth5: nice idea but no - if you have all your repos listed in one file then syncing custom will only sync from the first Server address listed

  • /etc/pacman.conf question..

    This may have been asked before, but I could not find it...
    <yes, I did use the search on the forums...  >
    I was wondering if the NoUpgrade option in pacman.conf uses shell-like wildcard expansion...
    Does the following work?
    NoUpgrade = etc/host*
    shell expansion should expand this to
    /etc/host.conf
    /etc/hosts
    /etc/hosts.allow
    /ec/hosts.deny
    will pacman do the same?

    No, but it would be nice to have something like that (or perhaps better with regexp)
    BTW, regexp support for targets was already in pacman wishlist.
    I've added noupgrade/ignorepkg options to it.
    To be continued...

  • [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.

  • Warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst'

    what is the new syntax for 'SyncFirst' in pacman 4.1?
    greetings

    Allan wrote:Merge your pacman files...
    it's  the first i make when update package (merge changes in /etc/makepkg and /etc/pacman.conf)
    but need keep SyncFirst
    # If upgrades are available for these packages they will be asked for first
    SyncFirst  = linux-headers linux-lts-headers
    need this to update kernel headers before update kernel, because i use mkinitcpio to update DKMS modules [1]
    if upgrade kernel before install headers, the build dkms modules fail
    [1] https://aur.archlinux.org/packages/mkinitcpio-dkms/
    related:
    https://wiki.archlinux.org/index.php/NV … any_kernel
    https://wiki.archlinux.org/index.php/Vi … any_kernel
    Last edited by sl1pkn07 (2013-04-18 12:11:34)

  • Pacman not reading /etc/pacman.conf???

    All right, I'm sorta new to linux and VERY new to Arch. Love what I see so far, but I've got a little problem.
    I've uncommented out and added some repositories in /etc/pacman.conf, but when I run pacman -Syu it only sync's up with the core and extra's database. I have uncommented out testing, and added the kdemod repos... What am I doing wrong???
    pacman -Syu
    ::Synchronizing package databases...
    core is up to date
    extra is up to date
    local database is up to date
    Argh!

    Yep, should've done that. Sorry!
    # /etc/pacman.conf
    # See the pacman manpage for option directives
    # GENERAL OPTIONS
    [options]
    LogFile     = /var/log/pacman.log
    HoldPkg     = pacman glibc
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # 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
    #[testing]
    #Include = /etc/pacman.d/testing
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/core
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/extra
    #[community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/community
    #[unstable]
    # Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/unstable
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    #[kdemod]
    Server = http://kdemod.ath.cx/repo/current/x86_64

  • A perfect /etc/pacman.conf ??

    Hello guys,
    can someone please post a good working /etc/pacman.conf with uptodate servers ??
    I somehow broke mine...:/:/
    Thanks in advance and regards from Berlin
    Chris

    Here's mine with testing,community and unstable uncommented.
    # /etc/pacman.conf
    # NOTE: If you find a mirror that is geographically close to you, please
    # move it to the top of the server list, so pacman will choose it
    # first.
    # To re-sort your mirror lists by ping/traceroute results, use the
    # /usr/bin/sortmirrors script. It requires the "netselect" package.
    # See the pacman manpage for option directives
    # GENERAL OPTIONS
    [options]
    LogFile = /var/log/pacman.log
    NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers
    NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf
    NoUpgrade = etc/rc.conf etc/rc.local
    NoUpgrade = etc/modprobe.conf etc/modules.conf
    NoUpgrade = etc/lilo.conf boot/grub/menu.lst
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # 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
    [testing]
    Server = ftp://ftp.archlinux.org/testing/os/i686
    [current]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/current
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/extra
    [unstable]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/unstable
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/community
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs

  • Yaourt (0.9.4-2) (aur) ignores IgnorePkg rules in /etc/pacman.conf

    Usually doing yaourt -Syu --aur goes through and updates all of the packages I installed from aur unless the package is among those listed in the IgnorePkg array in pacman.conf.  However, the recently updated yaourt from aur simply ignores the rule and prompts me to upgrade the package anyways.  For example, I see this for bin32-wine.

    opened a bug report:
    http://bugs.archlinux.fr/task/170

  • 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.

  • 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.

  • 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)

  • 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)

Maybe you are looking for

  • MBP Superdrive Won't Burn CD's

    I continually get the error: "Burning the disc failed because communication to the disc drive failed. (Error Code 0x80020022)" The only successful burn I got was by slowing down the burn to 8x. Any ideas what could be causing this?

  • ORACLE 11g Spatial and GRS 80

    Hi, I am working on a project that will require both projected coordinates and geographic coordinates for different product files coming in. I have no issues defining, storing, extracting or matching the geographic coordinates. My columns for those c

  • TS1702 I had to change my password and now my iphone says it does not recognize it

    I had to change my password and now my iphone says it does not recognize it...

  • WRK54G wireless with problem

    Hi My router every day drops 2 times i have to turn off power router and turn it on again. I only have Mac´s filterd no need for secure network. I have  all my system on UPS  so it´s not a power problem,even if i try to renew my ip on all machines pr

  • Hardware Test and Hard Disk error

    I was happy with my iBook, it repairs when it freeze and never has a virus,etc... but the last week someone mail me a huevocartoon (a video) in a mail and when I discharge to my computer it began to make some "pi" sounds and froze it! then it tried t