[SOLVED] Understanding pacman's IgnorePkg messages

Hi community,
I just realized that my understanding of pacman messages regarding packages in the IgnorePkg array is quite spotty. So, here is my IgnorePkg from pacman.conf:
IgnorePkg = gnuplot fetchmail gnome-mplayer cups libcups djvulibre fcron vim-runtime gvim blas lapack
And this is the output from pacman -Syu:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: blas: ignoring package upgrade (3.2.2-11 => 3.2.1-2)
warning: cups: local (1.4.4-31) is newer than extra (1.4.4-3)
warning: djvulibre: local (3.5.22-11) is newer than extra (3.5.22-2)
warning: fcron: ignoring package upgrade (3.0.6-1 => 3.0.6-3)
warning: fetchmail: local (6.3.17-11) is newer than extra (6.3.17-1)
warning: gnome-mplayer: local (0.9.9.2-11) is newer than community (0.9.9.2-1)
warning: gnuplot: local (4.4.0-11) is newer than extra (4.4.0-1)
warning: gvim: ignoring package upgrade (7.3.3-11 => 7.3.3-1)
warning: lapack: local (3.2.2-11) is newer than extra (3.2.1-2)
warning: libcups: local (1.4.4-31) is newer than extra (1.4.4-3)
warning: screen: local (4.0.3-81) is newer than extra (4.0.3-8)
warning: subversion: local (1.6.12-12) is newer than extra (1.6.9-5)
warning: vim-runtime: ignoring package upgrade (7.3.3-11 => 7.3.3-1)
All the above packages are built locally (sometimes I don't wait upon official repos and compile a newer version, sometimes I want to change compile-time options and append $pkgrel with a '1').
And my question is: why does pacman want to update blas, gvim and vim-runtime, but is OK with gnuplot, cups, etc.? Especially if my blas is newer than /extra.
Thanks.
Last edited by Leonid.I (2010-09-24 17:14:02)

brisbin33 wrote:
In the case of blas, gvim, etc it is likely because options=(force) is specified in the PKGBUILD(s) and pacman will always want to (up|down)grade a force package in the case of a version mismatch*
*note: This is my understanding, please someone correct me if I'm wrong
Note to myself: RTFM; slap the forehead.
Yes, it was indeed due to the force option... Thank you, the wise one

Similar Messages

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

  • One of the usb devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message.

    I connected my sons Ipod Touch to my pc and it worked fine. Now, when I try to connect my iPad the following message comes up: One of the usb devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message.
    I checked the cable. It surely is not the cable. If I connect the iPod again it works fine. If I use the same cable with my pc and ipad at work or my other son’s laptop, it is working perfectly. It is only on my laptop where the iPod was connected. Something tells me it got something to do with the drivers that went corrupt or something when I connected the iPod.
    I searched the internet and I see a lot of people gets this message. Still no solved answers yet. Is there a place where I can download the drivers again or any other suggestions?
    Windows 7 and iPad 2
    Kind regards,

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message

    Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message.
    Using win 7 and latest iTunes [10.6.3]. Have already gone through below links and did not find any solution.
    http://support.apple.com/kb/HT2292
    http://support.apple.com/kb/TS1369
    http://support.apple.com/kb/HT1923
    http://en.kioskea.net/forum/affich-17997-ipod-not-detected

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • [SOLVED] can pacman hold an old version of a package?

    Title pretty much says all.  I have a few things to do before I upgrade to Firefox 3, but I'd like for the rest of my system to be up-to-date.
    Last edited by Xiong Chiamiov (2008-06-26 02:46:29)

    Add this to /etc/pacman.conf
    IgnorePkg = firefox
    Your current version will be retained

  • How do I solve the issue of this message "you do not have enough access privileges for this operation" on my iTunes?

    How do I solve the issue of this message "you do not have enough access privileges for this operation" on my iTunes? I already went to the folder of iTunes inside the Finder and change all permissions to allow read and write... no improvement at all. Any help? thanks!

    Hi! I just realized I have two folders called library, one is inside HD alongside with System and users, then I have also "library" inside users, some of the folders are apparently repeated, some are missing. And all the music is inside a folder called iTunes Music, inside Music, inside users. Now that I relaized some folders are repeated I applied to all related to iTumes r/w permission. But the annoying message keeps coming on.
    And yes, I am using Leopard, 10.5.8.
    Any ideas?

  • Cannot run the macro SOLVER.XLAM!MainEx error message

    Ive had this problem for awhile but am now needing to use solver for my schoolwork. 
    Anytime i try to use the solver function under the data tab this error message pops up. 
    I have tried taking off and readding the add-in under options. 
    when i try to access solver in the visual basic panel it asks for a password which i have never set
    Im running excel 2013 on windows 7
    I have tried many things and am exhausted. No solution has been posted to this problem on the site or anywhere on the web 
    THIS IS NOT WHEN IM TYPING MACRO CODE IN VBA. its just when i try to use solver for simple spreadsheet calculations. 
    when i click solver i get the error cannot run module: SolverCode
    when i try to access the solver code in vba a password is required 

    Hi,
    As far as I know,  the Solver add-in code has the password by design, it is protected on purpose and copyrighted. They are designed for use from the spreadsheet only. 
    Then, as the error message:" Cannot run the macro SOLVER.XLAM!MainEx error message." Please try to do the following methods to fix the issue:
    1. Open VBE (Alt+F11)>Click Tools> References>set to SOLVER>Show immediate code pane (Ctrl+G)>Copy/paste (or write): application.run "solver.xlam!auto_open"
    2. Disable the other Excel add-ins, such as
    Adobe PDFMaker.
    3. Repair Office 2013.
    Regards,
    George Zhao
    TechNet Community Support

  • [SOLVED] After pacman update, system no longer boots

    Updated pacman packages, and half-way through the upgrade proces fails (it mentions not being able to find package-control).  Upon investigating, I notice no programs are working.  I ls /usr/bin and it is empty!  In a panic, I restart the machine, and it no longer boots up. 
    My boot is on sda3 and /root is sda5.
    When bash starts up, it loads the kernel fine, and then after a second it panics and exclaims: "No init found. Try passing init=bootarg". 
    I load up my trusty Arch livecd and fsck the partitions.  Fsck claims both partitions are clean.  I am able to mount them and examine the file structure: all files look like they are there.  I then try to chroot the mounted partition (sda5, my /root), and get the error that "/bin/bash" is not found, even though it is there in the correct directory.  Not sure what to do now.
    My grub entry, which has always worked fine prior to this:
    legacy_kernel '/linux344-ck' 'acpi_osi=Linux' 'root=/dev/sda5' 'rootfstype=ext4' 'init=/sbin/init' 'pcie_aspm=force' 'acpi_backlight=vendor' 'i915.i915_enable_rc6=1' 'i915.i915_enable_fbc=1' 'i915.lvds_downclock=1' 'ipv6.disable=1' 'i915.semaphores=1' 'modprobe.blacklist=bluetooth,uvcvideo' 'ro'
    legacy_initrd '/initramfs-linux-fallback.img' '/initramfs-linux-fallback.img'
    UPDATE: solved issue.  I didn't read the news.  Upgrading via pacman broke my system because of this.  Now I know!  System is running smooth again.
    Last edited by corruptz0r (2012-07-15 20:26:53)

    Huh. I guess the problem was a couple of stale and crusty {,f}getty .service files, and an obsolete slim.service file I created a while back.
    Removing them fixed my problem, although tty1 still shows boot messages (not a problem, and may not even be "new" behaviour)
    Cheers Tomegun.

  • [SOLVED] check pacman source sign failed on sh4 CPU

    I've build 'base' packages on sh4 CPU. (Some base library still use the original linux distributions. eg. gcc,glibc,...)
    I followed Pacman-key to setup key rings.
    pacman-key --init
    pacman-key --populate archlinux
    pacman-key --refresh-keys
    I run previous commands through ssh.  I tried to build haveged, but it occurs following messages, I guess it is caused by old kernel and my hardware haven't realtime clock. So I forgive it.
    gcc -Wall -I.. -O2 -pipe -o haveged haveged.o havege.o havegetune.o havegecollect.o havegetest.o
    havegecollect.o: In function `havege_gather':
    havegecollect.c:(.text+0x264): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0x6a0): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0x9d0): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0xd8c): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0x1208): undefined reference to `HARDCLOCK'
    havegecollect.o:havegecollect.c:(.text+0x1684): more undefined references to `HARDCLOCK' follow
    collect2: ld returned 1 exit status
    And rerun makepkg on pacman.
    ==> Validating source files with md5sums...
    pacman-4.0.3.tar.gz ... Passed
    pacman-4.0.3.tar.gz.sig ... Passed
    0001-Add-conflict-for-replacing-owned-empty-directory.patch ... Passed
    0002-Check-empty-subdirectory-ownership.patch ... Passed
    0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch ... Passed
    pacman.conf ... Passed
    pacman.conf.x86_64 ... Passed
    pacman.conf.sh4 ... Passed
    makepkg.conf ... Passed
    ==> Verifying source file signatures with gpg...
    pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
    ==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
    Even I manual add the key on message, it is still failed.
    $ sudo pacman-key -r 5C2E46A0F53A76ED
    gpg: requesting key F53A76ED from hkp server pool.sks-keyservers.net
    gpg: key F53A76ED: "Dan McGee <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    ==> Updating trust database...
    gpg: next trustdb check due at 2014-01-22
    $ makepkg
    ==> Verifying source file signatures with gpg...
    pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
    BTW, in the process of building gpgme, I can not build pinentry successful, so I pass and use fedora's.
    fedora9 pinentry 0.7.4-5.fc9.sh4
    Solved, I guess wrong direction, that's cause I forgot to read Makepkg again.
    gpg --list-keys
    echo 'keyring /etc/pacman.d/gnupg/pubring.gpg' >> ~/.gnupg/gpg.conf
    Last edited by dlin (2013-02-07 01:42:56)

    I've build 'base' packages on sh4 CPU. (Some base library still use the original linux distributions. eg. gcc,glibc,...)
    I followed Pacman-key to setup key rings.
    pacman-key --init
    pacman-key --populate archlinux
    pacman-key --refresh-keys
    I run previous commands through ssh.  I tried to build haveged, but it occurs following messages, I guess it is caused by old kernel and my hardware haven't realtime clock. So I forgive it.
    gcc -Wall -I.. -O2 -pipe -o haveged haveged.o havege.o havegetune.o havegecollect.o havegetest.o
    havegecollect.o: In function `havege_gather':
    havegecollect.c:(.text+0x264): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0x6a0): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0x9d0): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0xd8c): undefined reference to `HARDCLOCK'
    havegecollect.c:(.text+0x1208): undefined reference to `HARDCLOCK'
    havegecollect.o:havegecollect.c:(.text+0x1684): more undefined references to `HARDCLOCK' follow
    collect2: ld returned 1 exit status
    And rerun makepkg on pacman.
    ==> Validating source files with md5sums...
    pacman-4.0.3.tar.gz ... Passed
    pacman-4.0.3.tar.gz.sig ... Passed
    0001-Add-conflict-for-replacing-owned-empty-directory.patch ... Passed
    0002-Check-empty-subdirectory-ownership.patch ... Passed
    0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch ... Passed
    pacman.conf ... Passed
    pacman.conf.x86_64 ... Passed
    pacman.conf.sh4 ... Passed
    makepkg.conf ... Passed
    ==> Verifying source file signatures with gpg...
    pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
    ==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
    Even I manual add the key on message, it is still failed.
    $ sudo pacman-key -r 5C2E46A0F53A76ED
    gpg: requesting key F53A76ED from hkp server pool.sks-keyservers.net
    gpg: key F53A76ED: "Dan McGee <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    ==> Updating trust database...
    gpg: next trustdb check due at 2014-01-22
    $ makepkg
    ==> Verifying source file signatures with gpg...
    pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
    BTW, in the process of building gpgme, I can not build pinentry successful, so I pass and use fedora's.
    fedora9 pinentry 0.7.4-5.fc9.sh4
    Solved, I guess wrong direction, that's cause I forgot to read Makepkg again.
    gpg --list-keys
    echo 'keyring /etc/pacman.d/gnupg/pubring.gpg' >> ~/.gnupg/gpg.conf
    Last edited by dlin (2013-02-07 01:42:56)

  • [SOLVED] Missing pacman files?

    While trying to "pacman -Syu" I get the message:
    error: could not open file /var/lib/pacman/local/binutils-2.21-8/desc
    Error message repeats too many times to count.  I am then prompted with:
    Proceed with installation?
    ...I answered YES, and packages were downloaded, but failed to upgrade, displaying the following multiple times:
    error: could not open file /var/lib/pacman/local/binutils-2.21-8/desc
    ... then
    error: failed to commit transaction (conflicting files)
    binutils: /usr/bin/ar exists in filesystem
    binutils: /usr/bin/as exists in filesystem
    binutils: /usr/bin/c++filt exists in filesystem
    binutils: /usr/bin/elfedit exists in filesystem
    binutils: /usr/bin/ld.gold exists in filesystem
    binutils: /usr/bin/nm exists in filesystem
    binutils: /usr/bin/strings exists in filesystem
    errors occurred, no packages were updated.
    What happened?  How do I proceed?
    Thanks.
    Last edited by pooldoo (2011-07-19 22:05:11)

    Thanks, I guess I have a "broken Pacman" so I'll study the sticky thread on the Newbie forum.  Here is my pacman.conf, just in case that helps.
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #NoPassiveFtp
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default. To enable, uncomment the following
    # two lines. You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    [eee]
    Server = http://code.toofishes.net/packages/eee

  • [SOLVED] Would "pacman -S foo" fail if system's package list is old?

    I'm new to Arch and want to understand my system as much as possible.
    In several places in the wiki it is recommended to install a single package with "pacman -S foo" instead of "pacman -Sy foo" unless I'm doing a system upgrade at the same time, so that versions of foo and its dependencies are in sync with all the other packages on my system. This seems to be good advice and I follow it.
    However, I recently read that the Arch repos only have the latest version of any given package. Now I'm confused. So what happens if the versions of foo and its dependencies on my package masterlist are outdated? Would "pacman -S foo" fail? If not, how can it possibly work if pacman is trying to install package versions that are no longer in the repository?
    Last edited by bdantas (2014-06-18 12:34:01)

    To be safest, always use `pacman -Syu <newpackage>`.
    I generally use `pacman -S <newpackage>` which is a bit quicker - and this is fine if you update frequently.  I do a `-Syu` at least once a day.
    Never ever do a `pacman -Sy <newpackage>`.  This can lead to severe breakage and potentially a completely unbootable system.  In fact never do `pacman -Sy` in any way unless there is also a 'u' there (i.e. "-Syu").  I think a feature request for pacman could be made to have a prompt when such a command is entered "Are you an idiot?[Y/n]  Do you want pacman to destroy your system? [Y/n]".
    In contrast, `pacman -S <newpackage>` should never do any damage.  If your package database is still current, it will work fine.  If you package database is too old, it will exit with an error message without making any changes to your system.  The error message is along the lines of the package/file not being found in the repos or on the server(s).
    EDIT: as this is already well covered in the wiki this may be best suited to the NC.

  • [Solved] Spammed with a nouveau message while installing Arch Linux?

    Well despite being spammed the message which makes it impossible to partition my drive using cfdisk, all I could accomplish was setting up my wireless adapter. Here is the message: http://i.imgur.com/O6pIW0V.jpg
    Is there any way I can solve this? It appears to happen in the Alt + Ctrl + F2 terminal in Ubuntu too. I have an Nvidia GTX 760. I am not using dual graphics. My only video card is the 760.
    <modedit>Please read our forum policy about posting images: https://wiki.archlinux.org/index.php/Forum_Etiquette. /Xyne </modedit>
    Last edited by kensclark16 (2013-08-28 01:53:35)

    Should I make a new thread? I have another question. I followed the whole Beginner's Guide up to the point where I mount Arch Linux and chroot in. I then set up the language, font, etc and got to the wireless setup part. It told me to do a few commands then enter
    pacman -S dialog
    . I did that which I think I messed up after that. I misread the text because it said to reboot and use wifi-menu AFTER you install the rest. I rebooted right after I installed "dialog." Now when I boot into Arch with GRUB, it says that I am missing the kernel headers. I used the CD to boot and then I mounted the partition but then arch-chroot /mnt will not work. It says that the exec is invalid or something. Does that mean I have to reinstall Arch?
    Last edited by kensclark16 (2013-08-28 01:25:36)

  • [SOLVED]Make Pacman think that I have libgl (NVIDIA driver)

    Hi,
    I've installed my Nvidia driver manualy because my card (NVS 310) do not work with the packages provides by pacman (even in AUR).
    Now I have a problem because pacman think I do not have
    libgl
    and do not allows me to install any graphical tools like libreoffice even if I ignore libgl:
    pacman -S libreoffice-fresh --ignore libgl
    resolving dependencies...
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1):
    I cannot install one of these package because then conflict with my manual install:
    pacman -S libgl
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1): 4
    resolving dependencies...
    looking for conflicting packages...
    warning: dependency cycle detected:
    warning: nvidia-utils will be installed before its nvidia-libgl dependency
    Packages (2) nvidia-utils-352.09-1 nvidia-libgl-352.09-1
    Total Installed Size: 125.31 MiB
    :: Proceed with installation? [Y/n]
    (2/2) checking keys in keyring [######################################] 100%
    (2/2) checking package integrity [######################################] 100%
    (2/2) loading package files [######################################] 100%
    (2/2) checking for file conflicts [######################################] 100%
    error: failed to commit transaction (conflicting files)
    nvidia-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
    nvidia-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
    Errors occurred, no packages were upgraded.
    So my question is: Is there a way to make pacman understand that I have installed libgl manualy so it do not ask me to install it?
    Thanks
    The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    Last edited by mickours (2015-06-13 19:09:41)

    Thanks for your reply, that was fast!
    Make my own package is definitly the right way to do this and I will when I have some time.
    For now I tried the workaround I mentioned before:
    mickours wrote:The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    And it works!
    Thanks again

  • [SOLVED] Failed pacman -Syu system update

    I tried update pacman -Syu and gave me this message:
    error: failed to init transaction (unable to lock database)
    if you're sure a package manager is not already
    running, you can remove /var/lib/pacman/db.lck
    so I changed db.lck to db.lck.bac
    and when I pacman -syu   pacman gave me this mesage:
    error: failed to commit transaction (conflicting files)
    initscripts: /etc/profile.d/locale.sh exists in filesystem
    Errors occurred, no packages were upgraded.
    any Ideals?
    Last edited by mephostophilis (2011-10-23 05:48:20)

    https://bbs.archlinux.org/viewtopic.php … 1#p1007171

  • [SOLVED] After pacman glibc update, cannot find command bash?

    A few days ago I ran into a problem after running pacman -Syu that ended up with an unbootable system.  I found this topic that ultimately solved the kernel panic-
    https://bbs.archlinux.org/viewtopic.php … 1#p1127251
    All that was needed was a symlink "/lib" to point to "/usr/lib"
    My system now almost boots but luckily I can now get a to a shell (zsh).  The problem is that I can not run bash, and various other tools- including my desktop environment and pacman.
    I have checked my $path, and have verified that I have the binary file "/usr/bin/bash" and a symlink in /bin/bash to point to that binary file, which does exist...
    % ls -l /bin/bash
    lrwxrwxrwx 1 root root 13 May 24 23:43 /bin/bash -> /usr/bin/bash
    % ls -l /usr/bin/bash
    -rwxr-xr-x 1 root root 738008 Mar 13 00:47 /usr/bin/bash
    But when I try to start a bash shell or run a script
    % bash
    zsh: command not found: bash
    % pacman
    zsh: command not found: pacman
    % /usr/bin/bash
    zsh: no such file or directory /usr/bin/bash
    % cat test.sh
    #!/bin/bash
    echo "Hello World"
    % ./test.sh
    zsh: ./test.sh: bad interpreter: /bin/bash: no such file or directory
    I hope i was thorough enough in providing information about my system, but please let me know if there's anything else I left out that may be able to help.
    Thanks so much!
    [SOLVED]-  Ended up mounting my system from a live install cd, and copying over each bash binary in my system with the live media's binary.
    Last edited by OrangeCrush (2013-05-25 06:38:43)

    If it has only been a few months, that thread should have nothing to do with what you are experiencing.  That problem stemmed from when the filesystem was actually changed from having /lib as an actual directory to /lib as a symlink to /usr/lib.  Oh the problems that caused.  For me it went perfectly smooth... well I did have to search for and rid /lib of extraneous unowned files, but it was smooth after that.
    You say though that you did not have a /lib symlink when you checked, and then you created it?  This is odd, as that is part of the filesystem package and therefore a tracked file.  Maybe you should start by reinstalling the filesystem package just to make sure that the necessary components of the filesystem are all in order before proceeeding.
    BTW, you should really update more often than every "few months" as that is what using a rolling release is all about.  Also if you don't update very often still, never update the database (-Sy) without also updating the system (-Syu) as this will lead to partial upgrades, which can severly break your system.  So never do "pacman -Sy <package>" as that is the equivalent of doing just a "pacman -Sy" and then continuing on your merry way.  Big changes are in the air right now around these parts, so keeping your system up to date is probably going to be crucial in making subsequent updates as pain free as possible (we are heading towards the final /bin -> /usr/bin move!).

Maybe you are looking for