Pacman Repositories,"Current" Vs "Testing

Hi,
I'm trying to figure out the differences between "current" and "testing" repositories...
as the arch authors claim that there is no official "stable" release,
i'm trying to understand what stands behind this arrengement.
common sense says that "current" is actually "testing", but,
if that's the case, how come that there are two reopsitories
for the same target?
btw,
sorry for my bad english.  
Thanks,
GhostRider  8)

Current is for up-to-date software that has been tested and proven stable. Testing is for making sure that stuff works. A system using the Testing repo is generally stable enough for desktop use if managed correctly, but I wouldn't use Testing on a server.
(Note that, if you use Testing, you must also have the Current repo enabled.)

Similar Messages

  • HTTP servers inside /etc/pacman.d/current list?

    Hello,
    Does anybody know the arch servers working throw HHTP :80 ( not FTP: 21) which I can use at the /etc/pacman.d/current  list  ?
    Thanks a lot.

    Thank you very much  shining. I have found one server which is ok for me. It is even have emacs-cvs at the community repo.
    mouse256 I am not a big pro at networking and because of that  I can't understand  what wrong witn my NAT routing  right now. I just found  throw  testing that I can not connect o ftp://repo and can connect to http://repo. Tnat is why I need it before I will understand what is the problem with my routing.

  • [Solved] No Usable Pacman Repositories Configured

    I had the liblzma.so.0 problem and tought pacman was the problem. I tried to reinstall pacman several time and find out that the liblzma.so.0 symlink was the problem.
    Now pacman don't work I have the following message:
    No Usable Pacman Repositories Configured
    Here is the pacman -v output:
    Root : /
    Conf File : /usr/local/etc/pacman.conf
    DB Path : /usr/local/var/lib/pacman/
    Cache Dirs: /usr/local/var/cache/pacman/pkg/
    Lock File : /usr/local/var/lib/pacman/db.lck
    Log File : /usr/local/var/log/pacman.log
    Targets : --
    Erreur: aucune opération spécifiée (utiliser -h pour l'aide)
    That wrong! /usr/local/ shouldn't be there but I am unable to change it!
    Last edited by srivo (2010-12-19 20:39:14)

    Here is the output:
    # /usr/bin/pacman -Qil pacman
    Nom : pacman
    Version : 3.4.1-1
    URL : [url]http://www.archlinux.org/pacman/[/url]
    Licences : GPL
    Groupes : base
    Fournit : --
    Dépend de : bash libarchive>=2.7.1 libfetch>=2.25
    pacman-mirrorlist
    Dépendances opt. : fakeroot: for makepkg usage as normal user
    curl: for rankmirrors usage
    Requis par : archup package-query pkgstats yaourt
    Est en conflit avec : --
    Remplace : --
    Taille (installé) : 2244,00 K
    Paqueteur : Dan McGee <[email protected]>
    Architecture : i686
    Compilé le : ven 03 sep 2010 21:12:12 EDT
    Installé le : dim 19 déc 2010 13:31:36 EST
    Motif d'installation : Explicitement installé
    Script d'installation : Oui
    Description : A library-based package manager with dependency support
    pacman /etc/
    pacman /etc/bash_completion.d/
    pacman /etc/bash_completion.d/pacman
    pacman /etc/makepkg.conf
    pacman /etc/pacman.conf
    pacman /usr/
    pacman /usr/bin/
    pacman /usr/bin/cleanupdelta
    pacman /usr/bin/makepkg
    pacman /usr/bin/pacman
    pacman /usr/bin/pacman-optimize
    pacman /usr/bin/pkgdelta
    pacman /usr/bin/rankmirrors
    pacman /usr/bin/repo-add
    pacman /usr/bin/repo-remove
    pacman /usr/bin/testdb
    pacman /usr/bin/testpkg
    pacman /usr/bin/vercmp
    pacman /usr/include/
    pacman /usr/include/alpm.h
    pacman /usr/include/alpm_list.h
    pacman /usr/lib/
    pacman /usr/lib/libalpm.a
    pacman /usr/lib/libalpm.so
    pacman /usr/lib/libalpm.so.5
    pacman /usr/lib/libalpm.so.5.0.1
    pacman /usr/share/
    pacman /usr/share/locale/
    pacman /usr/share/locale/ca/
    pacman /usr/share/locale/ca/LC_MESSAGES/
    pacman /usr/share/locale/ca/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/ca/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/cs/
    pacman /usr/share/locale/cs/LC_MESSAGES/
    pacman /usr/share/locale/cs/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/cs/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/de/
    pacman /usr/share/locale/de/LC_MESSAGES/
    pacman /usr/share/locale/de/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/de/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/el/
    pacman /usr/share/locale/el/LC_MESSAGES/
    pacman /usr/share/locale/el/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/el/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/en_GB/
    pacman /usr/share/locale/en_GB/LC_MESSAGES/
    pacman /usr/share/locale/en_GB/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/en_GB/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/es/
    pacman /usr/share/locale/es/LC_MESSAGES/
    pacman /usr/share/locale/es/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/es/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/fr/
    pacman /usr/share/locale/fr/LC_MESSAGES/
    pacman /usr/share/locale/fr/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/fr/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/hu/
    pacman /usr/share/locale/hu/LC_MESSAGES/
    pacman /usr/share/locale/hu/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/hu/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/it/
    pacman /usr/share/locale/it/LC_MESSAGES/
    pacman /usr/share/locale/it/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/it/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/kk/
    pacman /usr/share/locale/kk/LC_MESSAGES/
    pacman /usr/share/locale/kk/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/kk/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/nb/
    pacman /usr/share/locale/nb/LC_MESSAGES/
    pacman /usr/share/locale/nb/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/nb/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/pl/
    pacman /usr/share/locale/pl/LC_MESSAGES/
    pacman /usr/share/locale/pl/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/pl/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/pt/
    pacman /usr/share/locale/pt/LC_MESSAGES/
    pacman /usr/share/locale/pt/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/pt/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/pt_BR/
    pacman /usr/share/locale/pt_BR/LC_MESSAGES/
    pacman /usr/share/locale/pt_BR/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/pt_BR/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/ro/
    pacman /usr/share/locale/ro/LC_MESSAGES/
    pacman /usr/share/locale/ro/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/ro/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/ru/
    pacman /usr/share/locale/ru/LC_MESSAGES/
    pacman /usr/share/locale/ru/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/ru/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/sk/
    pacman /usr/share/locale/sk/LC_MESSAGES/
    pacman /usr/share/locale/sk/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/sk/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/sv/
    pacman /usr/share/locale/sv/LC_MESSAGES/
    pacman /usr/share/locale/sv/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/sv/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/tr/
    pacman /usr/share/locale/tr/LC_MESSAGES/
    pacman /usr/share/locale/tr/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/tr/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/uk/
    pacman /usr/share/locale/uk/LC_MESSAGES/
    pacman /usr/share/locale/uk/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/uk/LC_MESSAGES/pacman.mo
    pacman /usr/share/locale/zh_CN/
    pacman /usr/share/locale/zh_CN/LC_MESSAGES/
    pacman /usr/share/locale/zh_CN/LC_MESSAGES/libalpm.mo
    pacman /usr/share/locale/zh_CN/LC_MESSAGES/pacman.mo
    pacman /usr/share/man/
    pacman /usr/share/man/man3/
    pacman /usr/share/man/man3/libalpm.3.gz
    pacman /usr/share/man/man5/
    pacman /usr/share/man/man5/PKGBUILD.5.gz
    pacman /usr/share/man/man5/makepkg.conf.5.gz
    pacman /usr/share/man/man5/pacman.conf.5.gz
    pacman /usr/share/man/man8/
    pacman /usr/share/man/man8/makepkg.8.gz
    pacman /usr/share/man/man8/pacman.8.gz
    pacman /usr/share/man/man8/repo-add.8.gz
    pacman /usr/share/man/man8/repo-remove.8.gz
    pacman /usr/share/pacman/
    pacman /usr/share/pacman/ChangeLog.proto
    pacman /usr/share/pacman/PKGBUILD-split.proto
    pacman /usr/share/pacman/PKGBUILD.proto
    pacman /usr/share/pacman/proto.install
    pacman /usr/share/zsh/
    pacman /usr/share/zsh/site-functions/
    pacman /usr/share/zsh/site-functions/_pacman
    pacman /var/
    pacman /var/cache/
    pacman /var/cache/pacman/
    pacman /var/cache/pacman/pkg/
    pacman /var/lib/
    pacman /var/lib/pacman/

  • No Usable Pacman Repositories Configured

    Before we continue, I want to say that this is an Arch system and the following has to do with pacman-3.2.1.
    Just for the sake of open source, I decided that I wanted to compile pacman, which it seems I successfully did, but there is a minor issue also when I execute it.
    $ pacman -Syu
    error: no usable package repositories configured.
    I did a Google search, and found this thread where the guy successfully solved this problem after doing exactly what Cerebral said and editing /etc/pacman.conf. I did not find any other results from Google though.
    To compile it, I did
    $ ./configure
    $ make
    $ make install
    Which is exactly how the pacman homepage said how to do it and how most other things are compiled too, which since I didn't use --prefix=/usr, it originally ended up /usr/local/bin like anything else would and I originally attempt to run it there using /usr/local/bin/pacman -Syu, which gave the same error, then I attempted what Cerebral said, but that did not work either and the same error is produced. I had the original pacman binary inside of my root directory, and it worked fine before I foolish removed it so I cannot test it right now (I am not concerned about it really because the goal is to compile pacman and use that one instead, but certainly it would've helped to know if /etc/pacman.conf is setup right after removing the original /etc/pacman.conf by mistake not paying attention too much to the --sysconfdir=/etc trigger - again not a real issue for me). Cerebral recommended that the OP of that thread/starter of that thread to issue:
    $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
    $ make || return 1
    $ make install || return 1
    I believe he said that it shouldn't really be done with DESTDIR in his thread so I removed that part, but I also did try it with DESTDIR for the sake of saying I tried it if anyone wants to mention how I deviated from his post. He said what was important was the triggers on the ./configure line.
    I was thinking my problem has something to do with repo-add (like I need to use it), but trying to figure out how to get that to work was hopeless because I couldn't find any db.pkg.tar.gz file, which is what I think it needs (the examples uses /path/to/your/repo.db.pkg.tar.gz, I am not entirely sure if it is a *.pkg.tar.gz  extension and db is just to say repo database or if *.db.pkg.tar.gz is the extension), but I did try using it with the contents located in /var/cache/pacman/pkg/ and /var/lib/pacman/. I viewed it's man/info page, and the online documentation is the exact same. Again, I think that's what I need to learn to understand, or at least it would be good to know, right, haha, but also that since I do not know much about repo-add, maybe it wouldn't be the solution. It's just an educated guess.
    This is what my current /etc/pacman.conf looks like.
    # /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.
    # An example of a disabled remote package repository with multiple servers
    # available. To enable, uncomment the following lines. You can add preferred
    # servers immediately after the header and they will be used before the
    # default mirrors.
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # The file referenced here should contain a list of 'Server = ' lines.
    #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
    Which was generated by Cerebral's method for compiling, and then adjusted so my original pacman could work (everything was originally commented out, and I found that out by reading further on).
    If you guys have any recommendation that may cause me to lose everything I have, I am not afraid to try it and I will not lose anything important.
    Thank you in advance.
    Last edited by Aprz (2008-12-05 12:02:02)

    Cerebral wrote:
    To make sure it's reading your conf file correctly, you could try pacman -v - which will spit out some info:
    $ pacman -v
    Root : /
    Conf File : /etc/pacman.conf
    DB Path : /var/lib/pacman/
    Cache Dirs: /var/cache/pacman/pkg/
    Lock File : /var/lib/pacman/db.lck
    Log File : /var/log/pacman.log
    Targets : None
    error: no operation specified (use -h for help)
    For even more detail, you can run pacman --debug 1
    Interesting! I did not know that and I can see that I must of done something wrong because everything is pointing too /usr/local/ instead. Very interesting. Let me edit the files in there and check that out.
    $ Root : /
    Conf File : /usr/local/etc/pacman.conf
    DB Path : /usr/local/var/lib/pacman/
    Cache Dirs: /usr/local/var/cache/pacman/pkg/
    Lock File : /usr/local/var/lib/pacman/db.lck
    Log File : /usr/local/var/log/pacman.log
    Targets : None
    error: no operation specified (use -h for help)
    That may be the culprit.
    Edit: Yeap, it is working now when I edited the configuration files in /usr/local/etc/pacman.conf. That must mean that I forgot the --sysconfdir=/etc when I did ./configure, sounds right? I'll try recompiling it making sure that option is in there along with the options you mentioned in the post, which is funny that I was refering to what you said on that other post, failed, and all of the sudden here you are helping. Pretty neat. ^_^
    Compiling now...
    Nope, it still tries to read from /usr/local/etc/pacman.conf.
    It still creates /usr/local/etc/pacman.conf, but I decided to experiment and remove it to see what would happen.
    $ pacman -v
    error: config file /usr/local/etc/pacman.conf could not be read.
    $ ln -s /etc/pacman.conf /usr/local/etc/
    necessary changes are made to /etc/pacman.conf
    $ pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    local database is up to date
    Which after I do make install following your instructions on the other thread, /etc/pacman.conf is overwritten with the new one that comments out everything and doesn't have all the necessary server/include lines at the bottom.
    What's going on here? I compile it exactly like this:
    $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
    $ make
    $ make install
    Last edited by Aprz (2008-12-05 15:27:51)

  • //solved // pacman local repository problem / testing vs testing

    i have a serious problem with pacman, i hope someone can help me out.
    i've tried to create a local repo and made a really stupid mistake by calling it 'testing' (i used repo-add)
    now if i try to update the system with -Syu I get a flood of warnings for all my packages being newer than platform core etc
    there is obviously a conflict with the usual 'testing' and I couldn't find a way to revert this. repo-remove didn't help either.
    is there a way to fix it?
    tia
    Last edited by JYQ (2013-04-04 10:02:58)

    parazyd wrote:Try editing your pacman.conf and remove it.
    I tried it already. Didn't help.
    jasonwryan, thanks but i have a little experience with pacman. the problem is a confict in the database.
    manpages do not cover this.
    "Creating & Modifying Packages( Discussion and support regarding building packages with makepkg and ABS)
    was a natural choice for the thread because there are people who do the same thing.
    Last edited by JYQ (2013-04-04 10:23:30)

  • Pacman issues (current vs core, tar.gz vs .xz) with very old install

    I've got a vps which is running Arch, however it appears to be a very old install and I'm having problems updating things.
    The current version of pacman is 2.9.8-4. When I do a database update with -Syy it completes ok... but I notice there is a 'current' database and no 'core' database. Also, when I try to update anything directly it appears to be searching for the packages with a .pkg.tar.gz extension, which I'm guessing is how they used to be before I paid attention to Arch - although, for most packages it states that the existing version is newer than is in the database - I've tried multiple mirrors with the same result.
    My next idea was to try to manually install pacman, following the advice in the wiki for repairing a broken pacman... This ended up a convoluted process, as tar on the vps doesn't like .xz files it seems (J is not an accepted option to tar). I ended up extracting openssl, libarchive and pacman on another server then copied everything to the new VPS... and everything copied ok (into /etc, /usr and /var) but then running pacman gave a new error about libcurl.so.4 - I then decided to extract the contents of the curl package into the filesystem and now it claims there is no /usr/bin/pacman
    Anyone have any ideas/suggestions for my issue? I can run pacman -Sy to update my initial databases, but trying to upgrade just says I have up to date packages (which is not at all true)... and when I tried to manually update pacman I just broke things.
    Last edited by phaedrus (2012-09-24 01:27:51)

    I was afraid that might be the case... I've logged a ticket with the VPS provider to see if they have a more recent image, but I'm not holding out too much hope. Thanks for your response Allan.

  • Pacman: Show current versions during upgrade

    Hi,
    When running an upgrade, I am interested to know the version I have currently installed for each package (only the version to be installed is shown). It doesn't look like pacman has this capability. I wrote a script earlier in the year that used pacman to gather current and new versions and display them side by side before running an upgrade, but it broke with a new pacman release.
    Before I fix it (and was then thinking of putting it in the AUR) is there already something that will do this?
    Thanks

    pacman-4.0 has a "VerbosePkgLists" option that provides all these details.
    :: Starting full system upgrade...
    warning: xarchiver: ignoring package upgrade (0.5.2-2 => 0.5.2-4)
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1):
    Name Old Version New Version Net Change Download Size
    glib2 2.30.1-1 2.30.2-1 0.00 MiB 1.71 MiB
    Total Download Size: 1.71 MiB
    Total Installed Size: 11.00 MiB
    Net Upgrade Size: 0.00 MiB
    Proceed with installation? [Y/n]

  • Pacman Repositories

    I am curious about obtaining packages that are not part of current and extra, specifically fluxbox-devel. Can a temporarily add a repository, in this case unstable, sync the repository, get the package, comment out unstable and resync so that I am no longer accessing unstable?

    Why exactly do you want to disable unstable after installing fluxbox-devel?  Nothing in unstable will change anything in current or extra by default, just as nothing in extra will change anything in current.  Staging is also supposed to be like that, nothing in staging will change anything in current, extra, or unstable.  Also, when you disable unstable, you won't get any more updates for fluxbox-devel.  You might as well just do a pacman -U ftp://repo/path/to/fluxbox-devel-package.tar.gz

  • Is the delta option in pacman.conf currently operational?

    Hey Folks,
    I noticed that there is a delta option in pacman.conf that is commented by default. What is the status of this function? Is it currently safe to use?
    Cheers,
    Scott

    Well, it is safe to use but the Arch repos do not provide package deltas so there is not benefit yet...

  • Switching from current to testing

    i was thinking of doing this but wanted to know if when switching to testing do you comment out current? what about extra?

    thanks dusty. are there any issues with package names? are testing packages named the same as the current ones? for example if i have fubar installed which has a package name of fubar1-1 but on testing it is fubar2-1, will it upgrade the installed package or will i have it on there twice?

  • Error with package retrievals

    These error messages showed when I am intalling new softwares/upgrading today.
    :: Retrieving packages from current...
    Control socket read failed: Success
    error: anonymous login failed
    Control socket read failed: Illegal seek
    imlib-1.9.15-1           [################] 100%     535K    69.4K/s  00:00:07
    :: Retrieving packages from extra...
    Control socket read failed: Success
    error: anonymous login failed
    Control socket read failed: Success
    qiv-2.0-1                [################] 100%      26K    24.1K/s  00:00:01
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts... done.
    installing imlib... done.
    installing qiv... done.
    I think the installation is complete but I just wonder what do those messages mean.[/b]

    braincenter wrote:
    I downloaded and installed the netselect program and ran the sortmirrors script. Now I am getting the following message:
    pacman -Syu
    config: line 5: syntax error
    :: Synchronizing package databases...
    failed to synchronize current
    failed to synchronize extra
    Any ideas how to fix?
    The sortmirrors script has been broken for some time. Just reinstall pacman and move the .pacnew files in place under /etc/pacman.d/* or just fix the error on line 5. I made a python script for this a while back which creates a *.sorted file which you can specify to use in pacman.conf so you don't have to worry about it messing up any configs.
    #!/usr/bin/python
    import os, sys, re
    def main():
    if os.getuid() != 0:
    print >>sys.stderr, 'You must be root user to run this program.'
    sys.exit(1)
    old_mirror = '/etc/pacman.d/extra'
    if not os.path.isfile(old_mirror):
    print >>sys.stderr, 'Old mirror ' + old_mirror + ' does not exist.'
    sys.exit(1)
    f = open(old_mirror, 'r')
    old_lines = f.readlines()
    f.close()
    i=0
    old_urls = []
    old_valids = []
    while i<len(old_lines):
    if re.search('//', old_lines[i]):
    old_urls.append(old_lines[i])
    prefix = old_lines[i].split('//')
    suffix = prefix[1].split('/')
    old_valids.append(suffix[0])
    i=i+1
    #print('Testing ' + test_speed)
    i=0
    nums = []
    for url in old_valids:
    num_dots = 60 - int(len(url))
    mirror_name = url + '.'*num_dots
    sys.stdout.write(mirror_name),
    sys.stdout.flush()
    stdin, stdout, stderr = os.popen3('ping -c6 ' + url)
    output = stdout.read()
    error = stderr.read()
    stdin.close()
    stdout.close()
    stderr.close()
    if error != '':
    print(error)
    del(old_urls[i])
    else:
    sep = output.split('n')
    last_line = sep[len(sep)-2]
    ms = last_line.split('/')
    if len(ms) < 5:
    print 'unable to obtain speeds, back connection.'
    i=i+1
    continue
    else:
    print(ms[4] + 'ms')
    nums.append(ms[4])
    i=i+1
    #print('Testing ' + test_speed)
    del(old_valids)
    sorted_mirrors = []
    f_nums = []
    for n in nums:
    f_nums.append(float(n))
    i=0
    while i<len(f_nums):
    mini=min(f_nums)
    idx_num = f_nums.index(mini)
    sorted_mirrors.append(old_urls[idx_num])
    del(f_nums[idx_num])
    del(old_urls[idx_num])
    i=i+1
    del(nums)
    extra = '/etc/pacman.d/extra.sorted'
    current = '/etc/pacman.d/current.sorted'
    testing = '/etc/pacman.d/testing.sorted'
    release = '/etc/pacman.d/release.sorted'
    community = '/etc/pacman.d/community.sorted'
    unstable = '/etc/pacman.d/unstable.sorted'
    mirrors = [ extra, current, testing, release, community, unstable ]
    mirrors_name = [ 'extra', 'current', 'testing', 'release', 'community', 'unstable' ]
    i=0
    while i<len(mirrors):
    if os.path.isfile(mirrors[i]):
    os.remove(mirrors[i])
    f = open(mirrors[i], 'w')
    f.write('#n[' + mirrors_name[i] + ']n#n')
    for line in sorted_mirrors:
    new_urls = line.replace('extra', mirrors_name[i])
    f.write(new_urls)
    f.close()
    i=i+1
    print('==> Append ".sorted" to each of your Include = lines in /etc/pacman.conf.')
    if __name__ == '__main__':
    try:
    main()
    except KeyboardInterrupt:
    sys.exit(0)

  • [solved] pacman can't acces repositories, but my web browser does

    Hi,
    there is a strange problem. Today I tried a pacman -Syu to update, but pacman can't acces my repositories. Gives me errors of
    error: failed retrieving file 'core.db' from mirror.archlinux.ro : No address record
    I tried different mirrors, change the protocol from ftp to http, but without result. The strange think is that I can access those repositories with my web browser, so I think that it is pacman or python problem.
    My last entries in pacman's log are
    [2011-04-09 15:51] Running 'pacman -Syu'
    [2011-04-09 15:51] synchronizing package lists
    [2011-04-09 15:51] starting full system upgrade
    [2011-04-09 15:52] upgraded audacious-plugins (2.4.4-2 -> 2.4.4-3)
    [2011-04-09 15:52] upgraded libgpg-error (1.9-2 -> 1.9-3)
    [2011-04-09 15:52] upgraded libgcrypt (1.4.6-1 -> 1.4.6-2)
    [2011-04-09 15:52] upgraded gnutls (2.10.5-1 -> 2.12.2-1)
    [2011-04-09 15:52] warning: /usr/share/config/kdm/kdmrc installed as /usr/share/config/kdm/kdmrc.pacnew
    [2011-04-09 15:52] upgraded kdebase-workspace (4.6.2-1 -> 4.6.2-2)
    [2011-04-09 15:52] upgraded xproto (7.0.20-1 -> 7.0.21-1)
    [2011-04-09 15:52] upgraded libx11 (1.4.3-1 -> 1.4.3-2)
    [2011-04-09 15:52] upgraded pycups (1.9.54-1 -> 1.9.55-1)
    [2011-04-09 15:52] upgraded taglib (1.6.3-1 -> 1.7-1)
    [2011-04-09 15:52] upgraded xdg-utils (1.1.0rc1-1 -> 1.1.0rc1-2)
    [2011-04-09 15:52] upgraded xextproto (7.1.2-1 -> 7.2.0-1)
    [2011-04-09 16:16] Running 'pacman -S k3b'
    [2011-04-09 16:17] installed libdiscid (0.2.2-1)
    [2011-04-09 16:17] installed libmusicbrainz3 (3.0.3-1)
    [2011-04-09 16:17] installed kdemultimedia-kioslave (4.6.2-1)
    [2011-04-09 16:17] installed openjpeg (1.3-3)
    [2011-04-09 16:17] installed ffmpeg (20110330-1)
    [2011-04-09 16:17] installed libao (1.1.0-1)
    [2011-04-09 16:17] installed cdrdao (1.2.3-5)
    [2011-04-09 16:17] installed cdrkit (1.1.11-1)
    [2011-04-09 16:17] installed k3b (2.0.2-1)
    [2011-04-09 16:17] Running 'pacman -S dvd+rw-tools'
    [2011-04-09 16:20] installed dvd+rw-tools (7.1-2)
    After this, it stopped working - I mean I can't download a thing with pacman, no updates, no packages.
    Last edited by inp3dance (2011-05-04 22:37:00)

    pacman -Syu --debug output:
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: SyncFirst: pacman
    debug: config: Architecture: i686
    debug: config: new section 'core'
    debug: registering sync database 'core'
    debug: config file /etc/pacman.conf, line 65: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'core': http://mirror.archlinux.ro/archlinux/core/os/i686
    debug: setlibpaths() called
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'extra'
    debug: registering sync database 'extra'
    debug: config file /etc/pacman.conf, line 68: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'extra': http://mirror.archlinux.ro/archlinux/extra/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'community'
    debug: registering sync database 'community'
    debug: config file /etc/pacman.conf, line 74: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'community': http://mirror.archlinux.ro/archlinux/community/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'archlinuxfr'
    debug: registering sync database 'archlinuxfr'
    debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
    debug: config: finished parsing /etc/pacman.conf
    :: Synchronizing package databases...
    debug: database path for tree local set to /var/lib/pacman/local/
    debug: local database version 2
    debug: destfile found, using mtime only
    debug: using 'core.db' for download progress
    debug: HTTP_PROXY: (null)
    debug: http_proxy: (null)
    debug: FTP_PROXY: (null)
    debug: ftp_proxy: (null)
    error: failed retrieving file 'core.db' from mirror.archlinux.ro : No address record
    debug: failed to sync db: No address record
    error: failed to update core (No address record)
    debug: destfile found, using mtime only
    debug: using 'extra.db' for download progress
    debug: HTTP_PROXY: (null)
    debug: http_proxy: (null)
    debug: FTP_PROXY: (null)
    debug: ftp_proxy: (null)
    error: failed retrieving file 'extra.db' from mirror.archlinux.ro : No address record
    debug: failed to sync db: No address record
    error: failed to update extra (No address record)
    debug: destfile found, using mtime only
    debug: using 'community.db' for download progress
    debug: HTTP_PROXY: (null)
    debug: http_proxy: (null)
    debug: FTP_PROXY: (null)
    debug: ftp_proxy: (null)
    error: failed retrieving file 'community.db' from mirror.archlinux.ro : No address record
    debug: failed to sync db: No address record
    error: failed to update community (No address record)
    debug: destfile found, using mtime only
    debug: using 'archlinuxfr.db' for download progress
    debug: HTTP_PROXY: (null)
    debug: http_proxy: (null)
    debug: FTP_PROXY: (null)
    debug: ftp_proxy: (null)
    error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : No address record
    debug: failed to sync db: No address record
    error: failed to update archlinuxfr (No address record)
    error: failed to synchronize any databases
    debug: unregistering database 'local'
    debug: unregistering database 'core'
    debug: unregistering database 'extra'
    debug: unregistering database 'community'
    debug: unregistering database 'archlinuxfr'
    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
    [archlinuxfr]
    Server = http://repo.archlinux.fr/$arch
    My mirrorlist is the default one, I have enabled only one mirror at a time, be it the Hungarian one or one of the Romanian mirrors, depending in which country I am.

  • Pacman 3.0.0 in testing

    From archlinux.org news section
    toofishes wrote:
    It's been a long time coming, but we just bumped pacman 3 into the testing repository where it will live for a few days before moving to current. PLEASE let us know if you find any problems with it by posting a detailed bug report to Flyspray or sending us an email on the pacman-dev mailing list.
    The pacman website should be updated in the near future with details on what has changed. That can be found at http://www.archlinux.org/pacman/.
    Just a "heads-up" on something we didn't address.  When pacman detects and upgrade for itself, it *doesn't* pull in dependencies.  You will be better off doing a
    pacman -S pacman
    when it detects the upgrade.  Either that of install the dependencies manually.

    AlexExtreme wrote:
    stonecrest wrote:
    Like anyone ever looks at the AUTHOR file to find out who the authors were.....
    </joke>
    I can't believe you signed up for an account just to post that.
    I've had an account for ages. And yes, I know we're in the AUTHORS file, just the ChangeLog on pacman's site and everything here has had no reference to Frugalware. I don't mean to flame, btw. Just it is kinda annoying that most Arch users do not even know that we contributed a LOT of pacman3's code, and think phrakture, etc did all the work
    Hi Alex.  Now a quote from http://archlinux.org/pacman 's changelog
    - Frugalware: added -Qm option to find foreign packages
    - Frugalware: added DistCC support to makepkg
    So it does mention Frugalware
    I really don't get all this complaining...for god sakes does using pacman and not knowing every single author doesn't affect the end user experience which is what we are going for.  I basically rewrote a the majority of script and it nowhere does a mention my name in that script's copyright and I'm content.  Andrew Fyfe from DIY Linux on the mailing list pumped out multiple makepkg patches to fix some large fakeroot hackyness and I guarantee you, that he would be content with his name on the AUTHORS file and if we wasn't added, he'd probably still be content.
    So, Alex, hows Upstart going?
    EDIT: I forgot to mention: Yeah for pacman 3 being in testing!!
    Last edited by yankees26 (2007-03-27 21:52:42)

  • Locale and "file not found" errors in pacman

    Hello. I have just reinstalled Arch on my system (yes, wanted to start all again!) and this weird error happens every time I try to do anything under pacman:
    warning: current locale is invalid; using default "C" locale
    resolving dependencies...
    error: could not open file /var/lib/pacman/local//wget-1.10.2-2/depends: No such file or directory
    ...and the last line repeats itself many times. After that, pacman works just fine.
    If it might help, here is my pacman.conf:
    # /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
    [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
    [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
    ...and here is my rc.conf, if that might help:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="America/SaoPaulo"
    KEYMAP=br-abnt2
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=()
    # Modules to load at boot-up (in this order)
    # - prefix a module with a ! to blacklist it
    MODULES=(mii sis900 slhc via-rhine ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    HOSTNAME="celso-arch"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    #eth0="eth0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    INTERFACES=(lo eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network netfs crond)
    # End of file
    Just let me tell that the only thing I did after the actual install is "pacman -Syu". Sorry, I have no clue about what's happening. Any help would be appreciated.

    To fix your locales, see http://wiki.archlinux.org/index.php/Configuring_locales -- in specific, you'll need to uncomment the en_US.utf8 locale at least, since that's the one that's specified in your rc.conf

  • (SOLVED) Pacman error: GPGME does not exist

    Hi, I have also just been struck with the same issue - a broken pacman (and for no reason that I can fathom). Was working perfectly yesterday and all I did that wan't usual was to uninstall clamav.
    Anyway, I have read this post and done a pacman -Syy, which upgraded core and archlinuxfr only. I then ran pacman -Syu and received this:
    [grant@ARCH ~]$ sudo pacman -Syy
    [sudo] password for grant:
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
    core 106.2 KiB 353K/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
    archlinuxfr 30.3 KiB 81.9K/s 00:00 [######################] 100%
    error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
    error: database 'community' is not valid (invalid or corrupted database (PGP signature))
    error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))
    [grant@ARCH ~]$
    Should I do a reinstall of pacman using the CD? I know this is clumsy, but anything I have missed?
    Last edited by mcduling (2012-12-03 06:43:56)

    Here is my pacman.conf in separate screens:
    GNU nano 2.2.6 File: /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
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    GNU nano 2.2.6 File: /etc/pacman.conf
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #UseDelta
    #TotalDownload
    CheckSpace
    GNU nano 2.2.6 File: /etc/pacman.conf
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    #SigLevel = Optional TrustedOnly
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # 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
    GNU nano 2.2.6 File: /etc/pacman.conf
    # - 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]
    GNU nano 2.2.6 File: /etc/pacman.conf
    #[testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    SigLevel = PackageRequired
    GNU nano 2.2.6 File: /etc/pacman.conf
    [community]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/$arch
    # An example of a custom package repository. See the pacman manpage for
    GNU nano 2.2.6 File: /etc/pacman.conf
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs

Maybe you are looking for

  • Cannot update iTunes after upgrading to Lion

    After installing Lion on two machines - a new MacBook Pro and a year old iMac - I get a 'The update "iTunes" can't be installed' 'An unexpected error has occurred'. When trying to update iTunes. The error happens during the Cleaning Up step.

  • Jar..

    can an executable jar file run on a computer that has no javaruntime enviroment installed??

  • Updated to new version of firefox today, v. 18, and have had glitched out menus since. Is there a way to fix this?

    I updated today to v. 18, and while my menus do pull down (for both the firefox one of the left and the bookmark one on the right) and the links work, the... image file, I guess, is very glitchy. I only know what I'm clicking on because I know vaguel

  • Single Form Erroneously Creating Multiple Records

    I've created a form that uses several pages, with different fields of the form on each page. The pages branch from one to the next depending on the choices made by the user, mostly using a regular select list or a radiogroup with submit. The problem

  • File download Application not Working

    I have created the excel file which has some data's extracted from data base. When i try to write code to download the file it is returning empty xls file. the code is. response.setContentType("application/.ods"); response.setHeader("Content-Disposit