[arch-general] Dependency: pyalpm: requires pacman<3.6 (workaround install pyalpm?)

David C. Rankin drankinatty at suddenlinkmail.com
Tue Jan 17 16:26:56 EST 2012


Guys:

   There is a strange dependency with pyalpm that prevented upgrade to pacman 
4 which I solved by -- installing pyalpm?? Installing pyalpm pulled in pacman 
as a dependency which successfully completed the upgrade, but pacman would not 
-Syu and upgrade on its own. That doesn't make sense. The -Syu error was:

:: 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)
:: pyalpm: requires pacman<3.6


So I tried the following and answered NO to the pacman upgrade. Evidently 
pyalpm pulled it in as a dep anyway:

15:18 providence:~/dt/icons/coolicons/openOffice> sudo pacman -Sy --needed pyalpm
:: Synchronizing package databases...
  core is up to date
  extra is up to date
  community is up to date
  archlinuxfr is up to date
  xyne-any is up to date
downloading kdemod3.db...
  phoenix is up to date
:: The following packages should be upgraded first :
     pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...

Targets (3): libarchive-3.0.3-2  pacman-4.0.1-4  pyalpm-0.5.3-1

Total Download Size:    2.20 MB
Total Installed Size:   6.20 MB

Proceed with installation? [Y/n]
:: Retrieving packages from core...
  libarchive-3.0.3-2-i686                    1215.4K  720.0K/s 00:00:02 
[#######################################] 100%
  pacman-4.0.1-4-i686                        1005.0K  693.3K/s 00:00:01 
[#######################################] 100%
:: Retrieving packages from extra...
  pyalpm-0.5.3-1-i686                          36.8K  194.3K/s 00:00:00 
[#######################################] 100%
(3/3) checking package integrity 
[#######################################] 100%
(3/3) checking for file conflicts 
[#######################################] 100%
(1/3) upgrading libarchive 
[#######################################] 100%
(2/3) upgrading pacman 
[#######################################] 100%
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
  >>> Run `pacman-key --init` to set up your pacman keyring.
(3/3) upgrading pyalpm 
[#######################################] 100%

   Not sure if this is an issues that will catch others trying to upgrade, but 
it definitely was a screwy way to work-around pacman not upgrading on its own...

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list