I have installed some 3rd party deb packages from a PPA, which now have deleted the packages.
Is it somehow possible to reconstruct the packages as I have host where they are installed on?
|
|
|
It is possible the packages are still in your local .deb cache. See if it is there first before trying to rebuild it. Try looking in As @Zoredache mentions: If you are in the habit of running |
|||||
|
|
It should be possible, but it will be a bit tricky. A properly created Debian package when installed will leave most of the important details you need to do this in The first important file is The binary version of a Debian package will include a control archive that includes several scripts. Grab The other file you would need to create a Debian package is the control file. AFAIK, the package control file is not stored anywhere on the system, but you can get something close enough that you can reconstruct it by running the command Anyway, with the file installed by the package and all the control files you should be able to re-construct the package. This Debian Binary Package Building HOWTO should give you enough details on how to use |
||||
|
|
|
You could track down where the packages drop stuff, and use FPM I just did this to build a deb from an installed webapp.
|
|||
|
|
|
Under debian you have dpkg-repack for this task. Its just a perl-script and runs since debian/sarge. It also should do the trick under ubuntu. |
|||
|
|