Auteur Sujet: Debian - dpkg-repack, and your package "reborns from ashes"  (Lu 2556 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1774
    • Citrotux
Debian - dpkg-repack, and your package "reborns from ashes"
« le: 12 janvier 2013 à 17:55:43 »
In Debian, the package "dpkg-repack" allows restoring to an installable deb package the files which are installed.

Let's say... Thunar !

# dpkg-repack thunar
dpkg-repack: File not found: /usr/share/doc/thunar
dpkg-deb: building package `thunar' in `./thunar_1.2.3-4+b1_i386.deb'.

# ls thunar*
If there are not too many dependencies, you might be able to avoid downloading a package, once a while (if you need it for another machine, it can be convenient at times).

I met with errors, because I had removed the content of the /usr/share/doc, but otherwise installing it should work.

Good leaders being scarce, following yourself is allowed.