fixed apt usage in redhat