exclude package option for command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Imported: http://
Reason: Review Issue
further details: https:/
msg1048 (view) Author: rshendershot Date: 2006-12-22.13:33:09
pls reconsider. the lock spec is difficult to construct on command line (eg.
mplayer = 1.0-0.66.
transaction.
msg198 (view) Author: netmask Date: 2006-01-01.23:23:44
Use the 'lock' flag.
msg197 (view) Author: kleo Date: 2006-01-01.05:37:38
On 12/31/05, Kam Leo <email address hidden> wrote:
> On 12/31/05, Ben at Labix Tracker <email address hidden> wrote:
> >
> > Ben <email address hidden> added the comment:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > You can lock packages so that you have to manually unlock them before
> > anything will happen.
> >
>
> 1. How do you do lock installed packages?
OK, I found the answer "smart flag --set lock <package>"
> 2. Would that be simpler than "# smart ---exclude=
> upgrade" which would allow all except the excluded packages to be
> installed in one step?
>
msg196 (view) Author: kleo Date: 2006-01-01.04:06:32
On 12/31/05, Ben at Labix Tracker <email address hidden> wrote:
>
> Ben <email address hidden> added the comment:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You can lock packages so that you have to manually unlock them before
> anything will happen.
>
1. How do you do lock installed packages?
2. Would that be simpler than "# smart ---exclude=
upgrade" which would allow all except the excluded packages to be
installed in one step?
msg195 (view) Author: Ben77 Date: 2006-01-01.01:29:51
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You can lock packages so that you have to manually unlock them before
anything will happen.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://
iD8DBQFDtzCDA8G
hllFHdl2VwYf9Ha
=JW49
-----END PGP SIGNATURE-----
msg194 (view) Author: kleo Date: 2005-12-31.04:27:07
Yum provides the --exclude option to filter out packages which may not be
desired or compatible with a system. The addition of this option would greatly
enhance the use of smart with cron.
Changed in smart: | |
status: | New → Confirmed |
A possible implementation would be to introduce the concept of a soft lock. On receipt of an --exclude directive smart will add the requred locks process the command and at the end of the transaction remove the locks.