On Sun, 2010-04-11 at 18:28 +0300, Aioanei Rares wrote:
> su - [enter password] && yum update yum\* PackageKit\*

Wrong. Executing su gets a new shell, which will not read the rest of
the line. On terminating that shell, the original shell will try to
execute the rest of the line and fail since it's not root.

The correct way is:

su -c "yum update yum\* PackageKit\*"

Of course there are other ways. This is just the closest to your
version.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to