Here is the original absolute file paths for a working deb package called
blah-amd64.deb:
I extract it via:
which extracts it to the current directory called
I make my modification to my file:
and when I repackage blah-amd64.deb via:
and look at the absolute paths:
it changes the path to "/". I want to repackage it back to its original location so when the package is installed, it will install it in the correct path which is /usr/share/blah. Can someone shed some light on what is going on?
Last edited by metallica1973; 12-03-2014 at 12:06 PM..
2 - Extract the deb package:
3 - Create a DEBIAN directory and extract the control file there because it is need for the rebuild:
4 - Retar up the control file without the control.tar.gz in it:
5 - Extract your the data.tar.gz, make your changes and retar it up:
6 - create the simple debian-binary
to repackage deb file:
optional use
To view contents of deb file:
Greetings!
Here's one which has been bugging me for a bit ;)
As might be known, LibreOffice is available to some of us Linux folk as a large set of debs. Of course, being a curious sort, I'd like to dig in and recreate the original tree which is composed of these assorted archives.
So, I... (1 Reply)
I installed a command-line system ubuntu 12.04 from usb and that's work.
I don't have a internet connection so what I have to install must come from the alternate usb until I can let work my wireless.
I mount the usb to /media/cdrom but when I do sudo apt-get install xorg , then he ask me for the... (3 Replies)
Hi, since half an hour I currently try to write a script that will:
1) Extract every debian file in a directory
2) Extracts it to a folder that matches the debians filename
3) Extracts it so the structure looks like that:
DEBIANFILENAME
|
-------------- DEBIAN
... (9 Replies)
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Hi, I have mounted the Ubuntu server edition 10.10 ISO on my server under a directory media/servercd. I would like to install some services from this. I edited the sources.list file to say:
deb file:/media/servercd maverick main restricted
and it's properly mounted but when I try... (1 Reply)
Hai Friends
I am using debian 2.2.19. The gcc version installed in my os is 2.95.2. I tried to update the gcc to 3.2.2. It asked me to update some packages and all the updations was success. But when i tried to update the binutills_2.15-4_i386.deb packes i encountered some error that it asked me... (3 Replies)