[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restructure folders



On Thu, 13 Jan 2022 07:54:38 +0100
"sp007@caiway.net" <sp007@caiway.net> wrote:

> On Wed, 12 Jan 2022 22:53:01 -0700
> Charles Curley <charlescurley@charlescurley.com> wrote:
> 
> > On Thu, 13 Jan 2022 06:00:12 +0100
> > "sp007@caiway.net" <sp007@caiway.net> wrote:
> > 
> > > I found a python script to extract debian packages, but every
> > > package is extracted in a directory named after the packagefile,
> > > so this structure is formed:
> > 
> > What are you trying to do? 
> 
> I want to extract all man pages and all docs from all packages. I do
> not want to install the packages. Then make nice search interfaces
> with dwww and recoll.
> 
> This is to be used in areas without internet access. I have a local
> repository. 
> 
> 

I found a solution:

I made a chroot with debootstrap, minimal install
then I move all *deb from the repository inside a temp directory in the
chroot

then I can dpkg --unpack *.deb let the packages get unpacked in the
system, without installing

then I can copy the /usr/share/man etc. directories to the proper
place.


Thanks for the ideas!


Reply to: