The easiest way according to me is to transfer them directly like:
-- All packages
insert into msdb.dbo.sysdtspackes
select *
from remote_server.msdb.dbo.sysdtspackages
where (blah.. blah)
OR
-- Latest versions of packages
insert into msdb.dbo.sysdtspackes
select...