Re: Fedora 12 Update Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux