exclude package option for command line

Bug #245443 reported by Rehan Khan
8
Affects Status Importance Assigned to Milestone
Smart Package Manager
Confirmed
Wishlist
Unassigned

Bug Description

Imported: http://tracker.labix.org/issue67

Reason: Review Issue

further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

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.rc1.lvn6@x86_64) and has lifetime beyond a single upgrade
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=package_name* -y
> 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=package_name* -y
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://enigmail.mozdev.org

iD8DBQFDtzCDA8GfNQdszLURAsHsAJ4h9JSD4zsqh9VA5v3iKusudYM0xgCfTVdw
hllFHdl2VwYf9HaEAkrmzm4=
=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.

Revision history for this message
Rehan Khan (rasker) wrote :

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.

Changed in smart:
importance: Undecided → Wishlist
netmask (netmask)
Changed in smart:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.