You are not logged in.

#1 2012-10-24 21:19:09

mfaridi
Member
Registered: 2010-12-15
Posts: 192

skip only one package from upgrade with pacman command

today I run this command

  pacman -Syu

and I see this

:: Synchronizing package databases...
 core                     106.5 KiB  52.4K/s 00:02 [######################] 100%
 extra                   1422.4 KiB  51.1K/s 00:28 [######################] 100%
 community               1790.8 KiB  65.8K/s 00:27 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (14): cifs-utils-5.7-1  cups-pk-helper-0.2.4-1  iputils-20121011-1
              kmod-10-2  linux-3.6.3-1  linux-headers-3.6.3-1
              lirc-utils-1:0.9.0-32  nvidia-304.60-2  tdb-1.2.10-1
              torcs-1.3.4-1  torcs-data-1.3.4-1  vim-7.3.712-1
              vim-runtime-7.3.712-1  virtualbox-host-modules-4.2.2-2

Total Download Size:    329.02 MiB
Total Installed Size:   671.73 MiB
Net Upgrade Size:       87.02 MiB

and I have to download many packages ,but I do not want upgrade

 torce 

right now .because this packages need many download
how I can upgrade all packages with pacman an d skip torcs ?
I want upgrade all packages but do not upgrade torcs

Offline

#2 2012-10-24 21:19:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: skip only one package from upgrade with pacman command

Read 'man pacman'.

Offline

#3 2012-10-24 21:25:05

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: skip only one package from upgrade with pacman command

Or the pacman wiki topic.

Offline

#4 2012-10-24 21:26:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,725
Website

Re: skip only one package from upgrade with pacman command

Preferably both.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-10-24 21:28:22

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: skip only one package from upgrade with pacman command

mfaridi, there is documentation for a purpose. Just this:

man pacman:
       --ignore <package>
           Directs pacman to ignore upgrades of package even if there is one
           available. Multiple packages can be specified by separating them
           with a comma.
man pacman.conf:
       IgnorePkg = package ...
           Instructs pacman to ignore any upgrades for this package when
           performing a --sysupgrade.

And please read the forum etiquette: Attempt to help yourself as much as possible.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB