The fact that the winecfg command failed indicates that wine was not successfully installed which is the first thing that needs to happen - then, and only then will the winecfg command work.
However, for the moment, let's assume that wine was installed, then the question becomes one of: where is it?
If we can't find it, then we verify that it was not installed (but, let's check it to be sure anyway).
The following commands are assumed to be from a root konsole:
# cd /
# find . -name "winecfg" -print
If the result of the command is that it finds winecfg, then it will print out the directory in which it is located. If it is not found the result will be that a directory location for winecfg will not be printed out.
If winecfg was found, then what's goiing on? That might indicate that the directory in which winecfg was placed upon installation was not in the $PATH of the root account. So, from the root shell konsole issue the following command:
# echo $PATH
If the directory where winecfg was located is not a member directory of $PATH, that would be the reason winecfg was not found if it was indeed installed.
Ok, going back to your first post, you indicated that you added all of the releases from Ubuntu - wrong! You should have used only Fiesty. Unfortuneately, at this stage of the process, you need to remove all previous instances of Wine artifacts from your system to make it clean for trying to install Wine from scratch. If you downloaded Wine and put it into its own directory, to remove it is as simple as removing the directory. Then go back and try getting only the Fiesty Ubuntu additions to your /etc/apt/sources.list file. No dapper should appear in that file.
The dapper additions and the edgy eft additions are probably what has screwed up the installation from the start of this thread.
Looking a bit further into your problem, the wget command in the Wine installation instructions includes "dapper" which means for you do not follow those instructions. After you have deleted any existing Wine files from attempting to install it so far, there appears to be a better solution for you:
Go to:
http://wine.budgetdedicated.com/ and download the 9.2MB file from the 0.9.43 amd64 link. This should give you - not the 0.0.44 latest release of Wine, but a binary relase that once properly installed will get you going. The download gives you a .deb file:
http://wine.budgetdedicated.com/arch...04-1_amd64.deb that will need to be installed as follows:
From a root shell konsole in the directory that the downloaded file is located, issue the following command:
# dpkg -i wine_0.9.43~winehq0~ubuntu~7.04-1_amd64.deb
-- Tom