Not only publicly-traded (listed) parternerships but many others also are structured as master/limited partnerships (often shortened to limited partnerships) with usually many 'limited' passive partners who only put in money, and one or a few 'managing' partners who actually operate the business -- and make the profits distributed to everybody else as well as themselves. The US tax treatment of these partnerships is the same as the more traditional kind such as two (or several) lawyers going into practice together and sharing both the money and the work.
Because -- at least for tax purposes -- the partnership isn't really a separate thing but just the conglomeration of the partners, partnerships don't pay dividends. They can distribute partnership assets to (all or some of) the partners, and in particular they can (and investment partnerships usually do) distribute assets corresponding to the year's (or quarter's or whatever period's) profits, but as a partner you are taxed on your allocated share of the profits earned less your share of applicable deductions during the time you are a partner, regardless of the amount distributed to you which could be the same amount, more, less, or even zero.
Check your 1099-DIV detail. If partnership distributions really were counted as dividends, contact your broker to have that corrected.
OTOH the 1099-B should reflect your purchase and sale prices, and for stock the difference between those (adjusted if necessary for spinoffs etc) is capital gain or loss. The 1065 K-1 data should result in reporting any 'operating' profit mostly on your Schedule E, and adjust your capital gain/loss if needed -- e.g. if the partnership retained some of the profits and didn't distribute them, then your sale price effectively includes your share of those earnings and they get included as income but removed from your capital gain/loss. Long ago when I did this, I could directly adjust the basis for D-1 because back then you handled the basis yourself; nowadays with broker basis reporting I assume it has to go on 8949 column f and g, but I can't find instructions for it. See if the instructions included in the K-1 say how to handle this.
I no longer use TurboTax, but I'm pretty sure it will allow you to view the current state of the forms it is preparing, and at worst I'm sure you can print a trial copy and then if necessary go back (into either the interview or the form-related data) to change things. This view isn't really simpler, but at least it should match up with the IRS publications -- which (I hope) the K-1 should reference.
Yes, this is a big pain, and the reason I like you will never buy a PTP again. (Cue Vivien Leigh.)