Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

is there any document of libdpkg-dev?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
shouhuanxiaoji
Posts: 2
Joined: 2021-08-03 01:43

is there any document of libdpkg-dev?

#1 Post by shouhuanxiaoji »

Hello, I am developing a program based on libdpkg-dev and libapt-pkg, after searching, I can only find an API reference.
I don't know the meaning of dpkg's functions and I don't know how dpkg works, so I don't know how to start to write code now.
My requirement is to implement only the dpkg -S part of the functionality. This way if someone provides a filename, first retrieve if there is an installed deb package locally, if not, then use libapt-pkg to retrieve if the remote repository matches the requested deb.

peter_irich
Posts: 1403
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: is there any document of libdpkg-dev?

#2 Post by peter_irich »

Try begin searching from https://www.dpkg.org/doc/libdpkg/

Peter.

shouhuanxiaoji
Posts: 2
Joined: 2021-08-03 01:43

Re: is there any document of libdpkg-dev?

#3 Post by shouhuanxiaoji »

thank you

Post Reply