How can I exclude all *pre*, *beta*, and *686* packages safely?
An exclude regex like .*pre.* , .*beta.*, or .*686.* may net you the results of excluding all packages with those characters in the name or version. But they may also catch packages that have those characters normally occurring in the package name. This regex seems to work much better: [0-9\_\.\-]{1}pre[0-9\-\.\-]{1} for beta packages: [0-9\_\.\-]{1}beta[0-9\-\.\-]{1} or for i686 packages (or for i585 or i486): [0-9\_\.\-]+i686 Anything matching these regex will be added to the exclude list for the transaction.