In other contests, Pennsylvania voters nominated candidates for attorney general, auditor general and treasurer.
Attorney General Tom Corbett, a Republican, was unopposed, as was Democrat John Morganelli, the district attorney of Northampton County.
Both candidates for auditor general were unopposed. The incumbent, Democrat Jack Wagner, will face Republican Chet Beiler.
In the treasurers race, former Montgomery County Commissioner Tom Ellis was unopposed for the Republican nomination.
Montgomery County businessman Rob McCord, who ran countless television commercials, easily won the Democratic nomination with 43 percent of the vote. Bucks County Democratic Committee chairman and former state Rep. John Cordisco was the runner-up with 26 percent, followed by state Rep. Jennifer Mann with 24 percent and financial adviser Dennis Morrison-Wesley with 7 percent.
The four Democratic incumbents who represent parts of the Northeast in the U.S. House of Representatives and their Republican challengers were unopposed in the primary.
The November matchups will be Rep. Bob Brady (D-1st dist.) vs. Mike Muhammad; Rep. Chaka Fattah (D-2nd dist.) vs. Mike Livingston; Rep. Patrick Murphy (D-8th dist.) vs. Tom Manion; and Rep. Allyson Schwartz (D-13th dist.) vs. Marina Kats.
State Sens. Shirley Kitchen (D-3rd dist.) and Mike Stack (D-5th dist.) and their Republican opponents were unopposed in the primary.
In November, Kitchen will take on Robert S. Nix, while Stack will face John Farley.
Kitchen and Stack endorsed Larry Farnese, who defeated John Dougherty and Anne Dicker in the 1st Senatorial District Democratic primary. Farnese is favored in the fall to replace longtime Democrat Sen. Vince Fumo, who is not seeking re-election and is facing trial in the fall on federal corruption charges,
Fumo backed Farnese to prevent his bitter enemy, Dougherty, from replacing him. Stack, a Fumo ally, donated $75,000 to Farnese.
There were no contests in nine of the 11 districts that include parts of the Northeast.
Speaker Dennis OBrien (R-169th dist.) and Reps. Larry Curry (D-154th dist.), John Sabatina Jr. (D-174th dist.), Mark Cohen (D-202nd dist.) and Dwight Evans (D-203rd dist.) were unopposed in the primary and have no opponent in the general election.
OBrien conducted an apparently successful write-in campaign to win a spot on the Democratic ticket, beating Ed Kaiser, 1,376 to 415. Three-hundred valid signatures are required.
Besides the matchups in the 172nd and 179th districts that were determined last week, other November contests will feature: Rep. Tom Murt (R-152nd dist.) vs. Democrat Lisa Romaniello; Democrat Brendan Boyle vs. Republican Matt Taubenberger in the 170th district; Rep. Mike McGeehan (D-173rd dist.) vs. Republican Belinda Nelson; and Rep. John Taylor (R-177th dist.) vs. Democrat Harry Enggasser.
City voters overwhelmingly approved two proposed amendments to the Home Rule Charter.
They backed a measure to separate the functions of the Department of Commerce and the Office of the City Representative by 70 percent to 30 percent.
A question to allow for additional management-level deputies, exempt from civil service, in city departments won approval by 61 percent to 39 percent.
Reporter Tom Waring can be reached at 215-354-3034 or twaring@phillynews.com