[solved] pacman command to compare package config files

Hi, Id like to know if there is a pacman command similar to this:
pacman -Qii | awk '/^MODIFIED/ {print $2}'
from pacman tips, but where it just checks if the files are not identicle to the default config file of the package?
From what I can tell, this checks if a file was modified at all (I have copied a config file from a package to a modified package and the file still appears in the output, even though their contents is identicle.
pacman -Qii | awk '/^MODIFIED/ {print $2}'
Last edited by jrussell (2013-04-13 17:59:39)

graysky wrote:
jrussell wrote:... but where it just checks if the files are not identicle to the default config file of the package?
Unless I am misunderstanding you, pacman does that by default; when the upgrade is written to disc, the file in question becomes foo.pacnew which you can easily vimdiff or whatever against the original.
Yes, but I would like to print out a list of config files that are not identical
I basically want to see a list of all the config files installed that are not identical to thier original config file,
pacman -Qii | awk '/^MODIFIED/ {print $2}'
still lists files which are identical because I think it uses modification times or something else

Similar Messages

  • Pacman command to re-install config files to pristine condition?

    I've messed up my Apache config files under /etc/httpd/...
    Is there a magic pacman command that will restore those files to their pristine condition as if it was a new installation?
    I've considered uninstalling apache and re-installing, but that will also uninstall all dependent packages, and I'd rather not do that.

    If you re-install the package it should create .pacnew files for all of the altered configuration files. If that is all that you have changed then overwriting the altered files with the .pacnew files will undo your changes.
    You may also find pkg-extract_original useful.

  • Where is SSIS Package Config File At?

    I found a solution to execute SSIS package from button on Winform. The solution will work once I find the path to the SSIS package config file (in my opinion).  Where do I find this?

    @Vaibhav
    I found the following solution that I want to use for a user to execute an SSIS package at the click of the button:
    stringsPackage =
    @"C:\Path";
    stringsConfig =
    @"C:\Path"; 
    //thought this was used for ssis config file
    OpenFileDialogfDialog =
    newOpenFileDialog();
                fDialog.Title =
    "Open Package";
                fDialog.Filter =
    "SSIS Package (*.dts, *.dtsx)|*.dts;*.dtsx";
                fDialog.InitialDirectory =
    @"C:\";
                sPackage = fDialog.FileName.ToString();
    OpenFileDialogf2Dialog =
    newOpenFileDialog();
                fDialog.Title =
    "Open Package";
                fDialog.Filter =
    "SSIS Package (*.dts, *.dtsx)|*.dts;*.dtsx";
                fDialog.InitialDirectory =
    @"C:\";
                sConfig = fDialog.FileName.ToString();
    MyEventListenereventListener =
    newMyEventListener();   
                Microsoft.SqlServer.Dts.Runtime.
    Applicationapp =
    newMicrosoft.SqlServer.Dts.Runtime.Application();
                Microsoft.SqlServer.Dts.Runtime.
    Packagepkg = app.LoadPackage(sPackage,
    eventListener, false);
                Microsoft.SqlServer.Dts.Runtime.
    DTSExecResultpkgResults = pkg.Execute(null,
    null, eventListener ,
    null,
    null);
    MessageBox.Show(pkgResults.ToString());
    class
    MyEventListener:
    DefaultEvents
    publicoverrideboolOnError(DtsObjectsource,
    interrorCode,
    stringsubComponent,
    stringdescription,
    stringhelpFile,
    inthelpContext,
    stringidofInterfaceWithError)
    // Add application-specific diagnostics here.
    MessageBox.Show("Error
    in "+
    "/t"+ source
    + "/t"+
    subComponent + "/t"+
    description);
    returnfalse;
    May you explain to me what I am missing.  The following are the errors I am getting when running and compiled:
    "Error in/t Micrrosoft.SqlServer.DTs.Runtime.Package /t/t Unable to load the package as XML because of package does not have a valid XML format.  A specific XML parser error will be posted."
    Then...
    "Error in/t Micrrosoft.SqlServer.DTs.Runtime.Package /t/t Failed to open package file "" due to error 0x8000057 "The parameter is incorrect.". This occurs when a loading a package and the file cannot be opened or loaded correctly
    into the XML document.  This can be the result of specifying an incorrect file name when calling LoadPackage or the specified XML file has an incorrect format."

  • [ANN] my tool to compare kernel config file

    I'm trying to use lxc(see aur).
    The requirement of kernel config is listing in http://lxc.teegra.net/
    # name this as lxc.config
    CONFIG_GROUP_SCHED=y
    CONFIG_FAIR_GROUP_SCHED=y
    CONFIG_RT_GROUP_SCHED=y
    CONFIG_CGROUP_SCHED=y
    CONFIG_CGROUPS=y
    CONFIG_CGROUP_NS=y
    CONFIG_CGROUP_FREEZER=y
    CONFIG_CGROUP_DEVICE=y
    CONFIG_CPUSETS=y
    CONFIG_PROC_PID_CPUSET=y
    CONFIG_CGROUP_CPUACCT=y
    CONFIG_RESOURCE_COUNTERS=y
    CONFIG_CGROUP_MEM_RES_CTLR=y
    CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
    CONFIG_MM_OWNER=y
    CONFIG_NAMESPACES=y
    CONFIG_UTS_NS=y
    CONFIG_IPC_NS=y
    CONFIG_USER_NS=y
    CONFIG_PID_NS=y
    CONFIG_NET_NS=y
    CONFIG_NET_CLS_CGROUP=y
    CONFIG_SECURITY_FILE_CAPABILITIES=y
    CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
    I'm using prebuild linux_pf, guess its config file is in aur's config.x86_64.
    So, I write a utility name as kernel_config_diff.go
    http://pastebin.com/YxqEECBE
    and run this command will show which config lines which I should append into config.
    # yaourt -S gorun
    kernel_config_diff.go req.config linux_pf.config
    BTW, I don't know is there better solution.  I wrote this utility by Google Go because I like it and try to familiar to it.

    Well, lxc.config is describe some config file should modify.
    But, original config is a long listing.
    So, use vimdiff will let you must view long lines of different.
    By this script, I could get a quick view.
    And even just append the output of this script into kernel config patch.
    Here is my sample output compare to different variant kernel config
    $ kernel_config_diff.go lxc.config /var/abs/local/linux/config.x86_64
    CONFIG_SECURITY_FILE_CAPABILITIES=y
    CONFIG_GROUP_SCHED=y
    CONFIG_CGROUP_NS=y
    # return exit code as 3
    $ kernel_config_diff.go lxc.config /var/abs/local/linux-pf/config.x86_64
    CONFIG_RT_GROUP_SCHED=y
    CONFIG_FAIR_GROUP_SCHED=y
    CONFIG_CGROUP_CPUACCT=y
    CONFIG_SECURITY_FILE_CAPABILITIES=y
    CONFIG_GROUP_SCHED=y
    CONFIG_CGROUP_NS=y
    CONFIG_CGROUP_SCHED=y
    # return exit code as 7
    $ kernel_config_diff.go lxc.config /var/abs/local/linux-ck/config.x86_64
    CONFIG_CGROUP_SCHED=y
    CONFIG_RT_GROUP_SCHED=y
    CONFIG_FAIR_GROUP_SCHED=y
    CONFIG_CGROUP_CPUACCT=y
    CONFIG_SECURITY_FILE_CAPABILITIES=y
    CONFIG_GROUP_SCHED=y
    CONFIG_CGROUP_NS=y
    # return exit code as 7
    Last edited by dlin (2012-05-06 23:39:32)

  • [SOLVED] Pacman wont upgrade any packages

    EDIT: I was able to solve my problem by pacman -R yaourt package-query pacman-color, I was then able to update pacman. Since I like yaourt and wanted to keep it I follow the instructions on their page (http://archlinux.fr/yaourt-en#get_it). I added their repo to my /etc/pacman.conf and then installed yaourt from pacman and now everything works again like it should.
    When I try to upgrade packages I get the following errors:
    [jason@barnaby ~]$ sudo pacman -Su
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] Y
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: package-query: requires pacman<3.6
    :: pacman-color: requires pacman<3.6
    [jason@barnaby ~]$ sudo pacman -Su
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] n
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: package-query: requires pacman<3.6
    :: pacman-color: requires pacman<3.6
    [jason@barnaby ~]$
    Last edited by slughappy1 (2012-01-17 18:07:42)

    I tried to uninstall packagekit and failed, then I tried to install packagekit-git and that failed too.
    [jason@barnaby ~]$ sudo pacman -R packagekit
    Password:
    error: 'packagekit': target not found
    [jason@barnaby ~]$ yaourt -S packagekit-git
    ==> Downloading packagekit-git PKGBUILD from AUR...
    x ChangeLog
    x PKGBUILD
    Comment by: onestep_ua on Thu, 16 Sep 2010 23:56:56 +0000
    Updated this to follow the change of GIT server.
    Comment by: nxarmada on Tue, 01 Feb 2011 06:01:55 +0000
    == Installing missing dependencies...
    error: 'gir-repository=0.6.6': could not find or read package
    == ERROR: 'pacman' failed to install missing dependencies.
    I assume this should be git-repository=0.6.6 Also I can find this package on Pacman or AUR
    Comment by: onestep_ua on Tue, 01 Feb 2011 09:27:06 +0000
    This is obsolete dependency connected with gobject-introspection support. I think it can be removed without any problems. :)
    Comment by: nxarmada on Thu, 03 Feb 2011 18:40:37 +0000
    So I am trying to compile but I get this....any ideas?
    SyntaxError: invalid syntax
    make[4]: *** [enums.py] Error 1
    make[4]: Leaving directory `/home/ryan/Downloads/AUR/packagekit/src/packagekit-build/lib/python/packagekit'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/ryan/Downloads/AUR/packagekit/src/packagekit-build/lib/python'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/ryan/Downloads/AUR/packagekit/src/packagekit-build/lib'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ryan/Downloads/AUR/packagekit/src/packagekit-build'
    make: *** [all] Error 2
    Aborting...
    Comment by: bash on Tue, 29 Mar 2011 00:57:10 +0000
    these lines are needed before ./autogen.sh
    sed -i -e s|#![ ]*/usr/bin/python$|#!/usr/bin/python2| \
    -e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \
    $(find . -name '*.py')
    Comment by: bash on Tue, 29 Mar 2011 01:14:30 +0000
    also ./autogen.sh must be replaced with:
    PYTHON=/usr/bin/python2 ./autogen.sh
    First Submitted: Sun, 20 Apr 2008 23:33:58 +0000
    packagekit-git 20100917-1
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> packagekit-git dependencies:
    - dbus-glib>=0.86 (already installed)
    - polkit>=0.96 (already installed)
    - networkmanager>=0.8.1 (already installed)
    - pacman>=3.4.1 (already installed)
    - python>=2.6.5 (already installed)
    - sqlite3 (already installed)
    - git (already installed)
    - gnome-common (already installed)
    - intltool (already installed)
    - pm-utils (already installed)
    - libtar (package found)
    - gir-repository>=0.6.6 (building from AUR)
    - pacman-glib>=3.4.0 (building from AUR)
    ==> Continue building packagekit-git ? [Y/n]
    ==> ----------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for packagekit-git:
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] Y
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: package-query: requires pacman<3.6
    :: pacman-color: requires pacman<3.6
    ==> Restart building packagekit-git ? [y/N]
    ==> ---------------------------------------

  • [SOLVED] pacman error: cannot open package file

    Hi
    I didn't use my Arch box for a while and today launched it.
    I had to install the "p7zip" package, but I'm a "build everything from sources" guy and I tried to install it from source as always. Unsuccessfully: it required nasm.
    Decided to install it using pacman, to get it done quickly.
    So, I've got the nasm package and uploaded it to my Arch machine (it has no inernet connection, I use NFS to share files).
    Executed
    pacman -U ./nasm-2.09.10-1-i686.pkg.tar.xz
    and for my surprise I've got:
    loading package data...
    error: './nasm-2.09.10-1-i686.pkg.tar.xz': cannot open package file
    Then I tried to run  pacman -U for one of "core" packages from the original media (2010.05) and the same result. Some time ago it was working fine.
    It gets this error for every file.
    The tar.gz file is not broken, I can browse it within Midnigh Commander and get any file .
    What could be wrong? Any ideas?
    Last edited by art84 (2011-09-16 17:37:33)

    @Techman084:
    Of course I  have ran it in the directory where the package is located. And yes, I also tried to use it with an absolute path like.
    @karol
    # pacman -V
    .--. Pacman v3.3.3 - libalpm v4.0.3
    / _.-' .-. .-. .-. Copyright (C) 2006-2009 Pacman Development Team
    \ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
    This program may be freely redistributed under
    the terms of the GNU General Public License.
    @the sad clown
    1. /var/log/pacman.log
    [2010-12-12 13:46] installed kernel26-headers (2.6.33.4-1)
    [2010-12-12 14:07] installed r8168 (8.020.00-1)
    [2010-12-20 19:33] installed iperf (2.0.5-1)
    [2010-12-26 14:46] installed slang (2.2.3-1)
    [2010-12-26 15:45] installed mc (4.7.4-1)
    2. Why to synchronize? And how?   pacman -Syu   ?
      I have the original 2010.05 distro installed without any updates. Only console. A few packages installed: ethtool, mc, slang, etc. So, I don't need to have it synchronized to the last versions of everythig (if I correctly understood the goal of the sync)
    3. I have already that p7zip package on my PC   I had to do it manually  ... but to be clear, it doesn't work with any package, not only with "p7zip" or "nasm"

  • Maybe solved pacman : could not open package: File too large

    please help! i just made a PKGBUILD for Unreal Tournament 2004 (spent a lot of time on it!) now it says it can't install it.  the finished file is 2.6gb.  what to do?  thanks much.. i want to upload it to AUR.
    thanks
    karsten

    Sigi wrote:I think he wrote a PKGBUILD to install the DVD content in an "Arch friendly" way. (With the background that the linux installer apparently isn't available on every edition of the UT2k4 DVD)
    exactly.. its reads the files and installs it according to Arch.  how do i get pacman to not die?? thanks..

  • [Solved] Pacman fails to get packages http 403 or 404 error

    Hi,
    I'm not sure if I should raise this as a bug or not, or indeed if I am doing something fundamentally wrong...
    Pacman tells me there are updates to do, but:
    Using the mirror "mirrors.manchester.m247.com" I get a 404 error
    Using the mirror "http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch" I get a 403 error
    example:
    # pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------------------------------------] 0%
    community is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------------------------------------] 0%
    multilib is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------------------------------------] 0%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    Packages (9) ca-certificates-mozilla-3.18-3 dhcpcd-6.8.1-1 gnupg-2.1.2-3 iptables-1.4.21-3 p11-kit-0.23.1-2 procps-ng-3.3.10-2 sudo-1.8.13-1 which-2.21-1 whois-5.2.7-1
    Total Download Size: 0.03 MiB
    Total Installed Size: 21.35 MiB
    Net Upgrade Size: 4.34 MiB
    :: Proceed with installation? [Y/n]
    :: Retrieving packages ...
    error: failed retrieving file 'whois-5.2.7-1-x86_64.pkg.tar.xz' from mirrors.manchester.m247.com : The requested URL returned error: 404
    warning: failed to retrieve some files
    error: failed to commit transaction (unexpected error)
    Errors occurred, no packages were upgraded.
    any ideas?
    [edited to add solved tag to title]
    Last edited by flangemonkey (2015-04-01 15:29:18)

    Hi flangemonkey,
    that mirror was not synced yet when you did the upgrade (the last sync ended today at 10:54 UTC, about 17 mitues after you posted on this borad). It should be ok now, just try to redo the update. Next time, you may want to check first the status of the mirrors https://www.archlinux.org/mirrors/status
    edit: typo
    Last edited by mauritiusdadd (2015-04-01 11:06:10)

  • [SOLVED] Pacman unable to install packages due to invalid or corrup...

    Hullo,
    I know this is a common error judging by the results google lists for that subject. But all sollutions I found don't work for my specific case.
    My battery died on my laptop and when I rebooted and tried to install a package pacman complained the database was locked (can't remember if I was installing something or else while my battery died, happend while I was away).
    So since I've just rebooted I deleted the lock-file by hand. Now when ever I tried to install something it would complain:
    error: xyz: signature from "xyz @ zyx" is unknown trust
    :: File /var/cache/pacman/pkg/packagexyz.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] y
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    So I removed /etc/pacman.d/gnupg, cleared the package-cache and ran pacman-key --init:
    gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
    gpg: no ultimately trusted keys found
    gpg: Generating pacman keyring master key...
    gpg: key B99666F8 marked as ultimately trusted
    gpg: Done
    ==> Updating trust database...
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
    followed by pacman-key --populate archlinux:
    ==> Appending keys from archlinux.gpg...
    gpg: no valid OpenPGP data found.
    ==> Updating trust database...
    gpg: no need for a trustdb check
    and pacman-key --refresh-keys:
    gpg: refreshing 1 key from hkp://pool.sks-keyservers.net
    gpg: requesting key B99666F8 from hkp server pool.sks-keyservers.net
    gpgkeys: key AA3E1E751B31AB9C2E6CDA64F2A911E7B99666F8 can't be retrieved
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0
    ==> ERROR: A specified local key could not be updated from a keyserver.
    It looks like it's not doing much. Anyway, trying to install packages or upgrading the system results in me having to import a bunch of keys and then failing with the before mentioned error.
    Anything I can do?
    Thanks
    Last edited by hachel (2014-02-24 11:50:56)

    Rexilion wrote:Reinstall archlinux-keyring maybe? And then perform the commands you listed earlier.
    Worked, thank you!

  • [SOLVED]pacman can't download packages

    doing as usual:
    #pacman -Syu
    and
    #pacman -S openbox
    but then see:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): openbox-3.4.11.2-1 [0.27 MB]
    Total Download Size: 0.27 MB
    Total Installed Size: 1.89 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    error: failed retrieving file 'openbox-3.4.11.2-1-i686.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (File unavailable (e.g., file not found, no access))
    Errors occurred, no packages were upgraded.
    tried with mirrors.kernel.org, mirror.yandex.ru(one of closest to me) and even ftp.archlinux.org.
    all with same result.
    --debug pacman 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: showsize
    debug: config: totaldownload
    debug: config: new section 'core'
    debug: setlibpaths() called
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: registering sync database 'core'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'core': ftp://ftp.archlinux.org/core/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'extra'
    debug: registering sync database 'extra'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'extra': ftp://ftp.archlinux.org/extra/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'community'
    debug: registering sync database 'community'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'community': ftp://ftp.archlinux.org/community/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'testing'
    debug: registering sync database 'testing'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'testing': ftp://ftp.archlinux.org/testing/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'community-testing'
    debug: registering sync database 'community-testing'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'community-testing': ftp://ftp.archlinux.org/community-testing/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
    debug: registering local database
    debug: loading package cache for repository 'local'
    debug: loading package cache for repository 'core'
    debug: loading package cache for repository 'extra'
    debug: adding package openbox-3.4.11.2-1 to the transaction targets
    resolving dependencies...
    debug: resolving target's dependencies
    debug: started resolving dependencies
    debug: checkdeps: package openbox-3.4.11.2-1
    debug: finished resolving dependencies
    debug: started sorting dependencies
    debug: sorting dependencies finished
    looking for inter-conflicts...
    debug: looking for conflicts
    debug: check targets vs targets
    debug: check targets vs targets
    debug: check targets vs db and db vs targets
    debug: check targets vs db
    debug: check db vs targets
    debug: checking dependencies
    debug: checkdeps: package openbox-3.4.11.2-1
    debug: setting download size 281868 for pkg openbox
    Targets (1): openbox-3.4.11.2-1 [0.27 MB]
    Total Download Size: 0.27 MB
    Total Installed Size: 1.89 MB
    debug: using cachedir: /var/cache/pacman/pkg/
    :: Retrieving packages from extra...
    debug: using 'openbox-3.4.11.2-1-i686.pkg.tar.xz' for download progress
    debug: HTTP_PROXY: (null)
    debug: http_proxy: (null)
    debug: FTP_PROXY: (null)
    debug: ftp_proxy: (null)
    error: failed retrieving file 'openbox-3.4.11.2-1-i686.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    Errors occurred, no packages were upgraded.
    debug: unregistering database 'local'
    debug: freeing package cache for repository 'local'
    debug: unregistering database 'core'
    debug: freeing package cache for repository 'core'
    debug: unregistering database 'extra'
    debug: freeing package cache for repository 'extra'
    debug: unregistering database 'community'
    debug: unregistering database 'testing'
    debug: unregistering database 'community-testing'
    debug: unregistering database 'archlinuxfr'
    Last edited by jauthu (2010-06-04 00:22:34)

    but it is really strange that when i uncommented "http://ftp.archlinux.org..."  in mirrorlist it is the same error
    so what destination for all that mirrors are?
    and when I download package from web-interface http://www.archlinux.org/packages/extra/x86_64/openbox/ it successfuly downloaded from mirrors.kernel.org but pacman can't...
    I'm completely dumb, or the universe had hell changed
    As you see, my english is stupid.
    Last edited by jauthu (2010-06-03 22:34:49)

  • [SOLVED] pacman fails on a package that should've been ignored anyway

    Hi all,
    I don't understand why the below upgrade isn't working.  I exclude the kernel from my normal upgrade command as it prevents me from loading any modules until I reboot, so I typically only upgrade the kernel when I'm about to reboot.
    In this case failure to upgrade the kernel is preventing the nVidia driver from being updated also, which is fine, but I don't understand why it then says it can't install 'nvidia' because 'nvidia-utils' is the wrong version - I thought 'nvidia' was going to be skipped?  Why is it trying to install it anyway?
    Is there a way to get around this without having to manually exclude all these packages?
    $ pacman -Su
    :: Starting full system upgrade...
    :: Replace dbus-python with extra/python2-dbus? [Y/n]
    warning: linux: ignoring package upgrade (3.3.8-1 => 3.4.2-2)
    warning: linux-headers: ignoring package upgrade (3.3.8-1 => 3.4.2-2)
    resolving dependencies...
    warning: ignoring package linux-3.4.2-2
    warning: cannot resolve "linux>=3.4", a dependency of "nvidia"
    warning: ignoring package linux-3.4.2-2
    warning: cannot resolve "linux>=3.4", a dependency of "virtualbox-modules"
    :: The following packages cannot be upgraded due to unresolvable dependencies:
    nvidia virtualbox-modules
    Do you want to skip the above packages for this upgrade? [y/N] y
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nvidia: requires nvidia-utils=295.53
    Last edited by Malvineous (2012-06-17 05:23:21)

    Ohhh, so you're saying it ignored nvidia, but tried to upgrade nvidia-utils.  nvidia-utils requires nvidia, but nvidia needs a specific version of nvidia-utils which would be broken by upgrading nvidia-utils, so it refuses to upgrade nvidia-utils because of the existing dependency.  Right.
    So then the second part of my question - how can I get around this without adding nvidia-utils as an IgnorePkg?  Can I tell pacman to just ignore it if the deps couldn't be satisfied and keep going with whatever's left?

  • [solved] confusion about vim and its config files

    Hi, Im getting really confused with vim and its /etc/vimrc config, and the per user ~/.vimrc.
    On one of my PC's I have an untouched /etc/vimrc and a /home/jason/.vimrc which has:
    syntax on
    now, on that same PC, if I run
    vim .vimrc
    "syntax on" in green and yellow as expected, and if I run
    sudo vim .vimrc
    I also see
    "syntax on" in green and yellow, but surely this is opening it as root?
    *Edit
    Even though there is no .vimrc in /root, and the system-wide /etc/vimrc is untouched/blank
    On another PC I also have an untoched /etc/vimrc, and a /home/jason/.vimrc which has:
    syntax on
    Aswell, and:
    vim .vimrc
    has "syntax on" in green and yellow as expected, but this time:
    sudo vim .vimrc
    Has no colour?
    I cant explain this, any ideas?
    *Edit
    To clarify, both PC's have an untouched /etc/vimrc and there is no /root/.vimrc file on either PC
    Last edited by jrussell (2013-04-14 10:21:42)

    siriusb wrote:
    The configuration files in /etc are for system-wide settings. These are the default settings if not overridden by a user's own settings in their home directory.
    So running vim as your regular user will use the settings from your home directory.
    What does sudo? From man sudo
    sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
    So if you didn't specify any setting in the home folder of the user you want to run vim as, and you don't have anything in /etc/vimrc, vim won't apply any custom settings.
    I understand all of that, but on both my PC's I have a clean/untouched config /etc/vimrc, and both /root/.vimrc files do not exist, so howcome on one PC I get colour with sudo vim...., and on the other I dont?

  • [SOLVED]pacman -R kde leaves packages uninstalled

    I installed KDE with "pacman -S kde" it installed all sorts of stuff and i didn't like it. 
    The only things i needed were kde-base plasma and dolphin. Now i've disintalled kde ( with "pacman -R kde ) and kept it minimal with the few things i need.
    Seems perfect but when i open a terminal and digit "k" and press tab, i can still see all kapplications that came with the whole kde package. Why? Shouldn't they be deleted? How can i remove them completley?
    Last edited by z3r0 (2010-02-25 12:03:56)

    Before anyone gives me "noob" i'll tell you that i also did a pacman -Rns kde and after reboot this is what's left if i press "k + tab" from a terminal
    z3r0@ deathstar ~$ k
    kaddressbookmigrator kEsetroot kpasswdd
    kadmin keytool kquitapp
    kadmind kf krb5-config
    kauth kfd krcp
    kbd_mode kfile4 kreadconfig
    kbdrate kftp kres-migrator
    kbuildsycoca4 kftpd kross
    kbxutil kgetcred krsh
    kcm kglobalaccel krshd
    kcmshell4 khelpcenter ksba-config
    kconfig_compiler khotnewstuff4 kshell4
    kcookiejar4 khotnewstuff-upload kstart
    kdc kiconfinder kstash
    kde4 kill ksu
    kde4-config killall ksvgtopng
    kde4-menu killall5 kswitch
    kdebugdialog kimpersonate ktelnet
    kde-cp kinit ktelnetd
    kded4 kioclient ktraderclient
    kdeinit4 kjs ktrash
    kdeinit4_shutdown kjscmd ktutil
    kdeinit4_wrapper klist kuiserver
    kde-mv klogin kunittestmodrunner
    kde-open kmail-migrator kwalletd
    kdestroy kmimetypefinder kwrapper4
    kdesu knotify4 kwriteconfig
    kdigest koi8rxterm
    keditfiletype kpasswd
    any ideas on how to get rid of this stuff i don't use?

  • [SOLVED] pacman update seems to have corrupted files!

    Having just updated a server and now have an unbootable system I have just tried to update a laptop with the following result:
    :: Proceed with installation? [Y/n]
    :: Retrieving packages ...
    libgcrypt-1.6.0-1-i686 360.1 KiB 987K/s 00:00 [##########################################] 100%
    man-pages-3.56-1-any 4.7 MiB 1245K/s 00:04 [##########################################] 100%
    glamor-egl-0.5.1.r256-1-i686 88.3 KiB 1337K/s 00:00 [##########################################] 100%
    bind-9.9.4.P2-1-i686 1539.2 KiB 1283K/s 00:01 [##########################################] 100%
    (4/4) checking keys in keyring [##########################################] 100%
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    (4/4) checking package integrity [##########################################] 100%
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: GPGME error: Invalid crypto engine
    error: bind: missing required signature
    :: File /var/cache/pacman/pkg/bind-9.9.4.P2-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: glamor-egl: missing required signature
    :: File /var/cache/pacman/pkg/glamor-egl-0.5.1.r256-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: libgcrypt: missing required signature
    :: File /var/cache/pacman/pkg/libgcrypt-1.6.0-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: man-pages: missing required signature
    :: File /var/cache/pacman/pkg/man-pages-3.56-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    I am now really worried that the server I updated and no longer boots has corrupted kernel.
    Last edited by mcloaked (2014-01-13 20:34:49)

    Scimmia wrote:Did you update everything that uses gcrypt without updating libgcrypt? If so, see my reply here: https://bbs.archlinux.org/viewtopic.php?id=175639
    I did - on the laptop it seems OK but I have not rebooted it.

  • [solved] pacman 4 hangs after "checking for file conflicts"

    Like others, I removed yaourt and package-query because they conflicted with pacman4... not worried about that, I'll reinstall them later.
    I put the new pacman.conf in place (my old one wasn't really customized).  I left SigLevel = Never.
    Now, I can run pacman -Sy fine, but if I try to install anything, I it just hangs:
    sudo pacman -S audacity
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): audacity-1.3.14-2
    Total Download Size: 3.21 MiB
    Total Installed Size: 15.29 MiB
    Net Upgrade Size: -0.00 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    audacity-1.3.14-2-x86_64 3.2 MiB 1397K/s 00:02 [###########################] 100%
    (1/1) checking package integrity [###########################] 100%
    (1/1) loading package files [###########################] 100%
    (1/1) checking for file conflicts [###########################] 100%
    I've waited up to 20 or 30 minutes and nothing happens.  It's not just audacity, any package I try to install does this.
    Suggestions?
    Last edited by TheAmigo (2012-01-17 18:55:38)

    With --debug switch it prints:
    checking for file conflicts...
    debug: looking for file conflicts
    debug: searching for file conflicts: coreutils
    debug: searching for filesystem conflicts: coreutils
    debug: searching for file conflicts: ethtool
    debug: searching for filesystem conflicts: ethtool
    debug: searching for file conflicts: fail2ban
    debug: searching for filesystem conflicts: fail2ban
    debug: searching for file conflicts: gpgme
    debug: searching for filesystem conflicts: gpgme
    debug: searching for file conflicts: vim-runtime
    debug: searching for filesystem conflicts: vim-runtime
    debug: searching for file conflicts: gvim
    debug: searching for filesystem conflicts: gvim
    debug: searching for file conflicts: hdparm
    debug: searching for filesystem conflicts: hdparm
    debug: searching for file conflicts: inetutils
    debug: searching for filesystem conflicts: inetutils
    debug: searching for file conflicts: lib32-glibc
    debug: searching for filesystem conflicts: lib32-glibc
    debug: searching for file conflicts: lib32-gcc-libs
    debug: searching for filesystem conflicts: lib32-gcc-libs
    debug: searching for file conflicts: lib32-glib2
    debug: searching for filesystem conflicts: lib32-glib2
    debug: searching for file conflicts: lib32-gdk-pixbuf2
    debug: searching for filesystem conflicts: lib32-gdk-pixbuf2
    debug: searching for file conflicts: lib32-pango
    debug: searching for filesystem conflicts: lib32-pango
    debug: searching for file conflicts: lib32-gtk2
    debug: searching for filesystem conflicts: lib32-gtk2
    debug: searching for file conflicts: linux
    debug: searching for filesystem conflicts: linux
    debug: searching for file conflicts: nspluginwrapper
    debug: searching for filesystem conflicts: nspluginwrapper
    debug: searching for file conflicts: nvidia
    debug: searching for filesystem conflicts: nvidia
    debug: searching for file conflicts: qtwebkit
    debug: searching for filesystem conflicts: qtwebkit
    debug: searching for file conflicts: rpcbind
    debug: searching for filesystem conflicts: rpcbind
    debug: searching for file conflicts: unrar
    debug: searching for filesystem conflicts: unrar
    debug: searching for file conflicts: xscreensaver
    debug: searching for filesystem conflicts: xscreensaver
    checking available disk space...
    debug: checking available disk space
    Without the --debug switch
    Proceed with installation? [Y/n]
    (21/21) checking package integrity [############################] 100%
    (21/21) loading package files [############################] 100%
    (21/21) checking for file conflicts [############################] 100%
    Note that the 'checking available disk space...' is not printed without the --debug option although it doesn't look like being 'debug output'.
    I don't see much disk activity after that and the pacman process uses no CPU time and the process status goes to D in `ps` (man ps says: D: Uninterruptible sleep (usually IO)).
    Last edited by drrossum (2012-01-18 21:58:28)

Maybe you are looking for

  • At new...

    Hi Experts, I have to transfer contents of one internal talbe to another. 1st itab: <u><b>SNo|Material|Plant|Qty|</b></u> 1000|12345678|USA|100 1000|45457988|USA|200 1000|78458956|USA|300 1000|41235630|USA|400 1000|12345678|CAN|100 1000|45457988|CAN|

  • Flash simple image gallery problem

    Hello I have what I think is an easy problem to solve but I can´t find a solution. I´m creating an image gallery with thumbnails on the right inside a symbol so that they can all fade in at the same time, and the bigger images on the left that also f

  • Sending SAPSCRIPT in PDF through email

    Hi everybody, I'm trying to send via email a sapscript. I red more posts regarding this issue but nothing seems to run correctly. Some posts refers to a sample program ZRICH_0003. I've just copied the code and replaced the form's name with one of min

  • How to get triggering sql text in a statement trigger

    hi, I need to get sql text that run on the table in statement trigger on that table. I will log sql statements that run on table for a few weeks. I search for it, there is a ORA_SQL_TEXT function but this function is working on event triggers not sta

  • Jre1.6.0_18-c.msi re-installation problem

    Hi, Windows XP. Recently i had some problems with java, and i used Windows Install Clean Up utility, to delete java information. Now i cannot achieve full functionality. Trying to reinstall, i get a message: This action is valid only for products, wh