Error while installing .rpm file
i have downloaded this .rpm files from net
squid-2.5.STABLE5-4.fc2.src.rpm system-config-samba-1.2.15-0.fc2.1.src.rpm when i executing the following command, # rpm -U squid-2.5.STABLE5-4.fc2.src.rpm then its showing following error error: cannot create %sourcedir /usr/src/redhat/SOURCES What should i do to remove this error. |
are you doing this as root?
If so check to see that the directory /usr/src/redhat/SOURCES exists. if it doesn't, a simple mkdir /usr/src/redhat/SOURCES/ will work. Then install the rpm with rpm -Uvh filename.rpm |
i have created the \usr\src\redhat\SOURCES\ ,but still the same error occurs.
please give me the way out. |
you don't want to use those packages (at least not in the way you are trying to use them) as they are source files, not prebuilt progams. find a copy without "src" in the name, probably "i386" or "i686" instead.
|
All times are GMT -5. The time now is 08:25 PM. |