I want to install a Debian package (openssl_0.9.4-5.deb) in my own
home directory. I tried
% dpkg --force-not-root -i openssl_0.9.4-5.deb
but I got the error message:
dpkg: operation requires read/write access to dpkg status area
Is there a way to get around this problem?
Thanks!
bill
Hmmm. I usually just download the src, and use
./configure --prefix=/home/alih
to prepare the build.
I'm really not sure if this is fully feasable by dpkg. You can try
dpkg --root=/home/alih -i openssl_0.9.4-5.deb
but I doubt it'll work. You're supposed to have a full directory
structure, and proper dpkg status files eg
~/bin/
~/lib/
~/var/lib/dpkg/*
Makefiles typically create these dirs for you if they don't already
exist; I doubt dpkg would!
I doubt there'd be any harm in trying it, though. ;-)
It might not be that hard to build the src.
> I want to install a Debian package (openssl_0.9.4-5.deb) in my own
> home directory. I tried
>
> % dpkg --force-not-root -i openssl_0.9.4-5.deb
>
> but I got the error message:
>
> dpkg: operation requires read/write access to dpkg status area
--
UNIX: designed by programmers, for programmers.
Simon
bill <bill...@hotmail.com> a écrit dans le message :
ae2oec$9o$1...@reader1.panix.com...
> $> ar -t my_deb.deb
> $> ar -x data.tar.gz
> $> tar -tzf data.tar.gz
Great info.
Thanks,
ali
You can use alien to make a tar file from the debian package.
HS
In article <ae5kg0$u55$03$1...@news.t-online.com>, Hendrik Sattler wrote:
>> I want to install a Debian package (openssl_0.9.4-5.deb) in my own
>> home directory. I tried
>> but I got the error message:
>> dpkg: operation requires read/write access to dpkg status area
>> Is there a way to get around this problem?
you can ask dpkg to write packages information in a different
location. have a look at the dpkg man page and in particular where it
says about --root=dir | --admindir=dir | --instdir=dir.
This should solve your problem... and as it has been said, you should
have a complete structure in your home directory. I'm used to have a dir
'software' in my home with a complete hierarchy.
cheers,
p
--
pgp key: 1024D/8A091922 2000-10-18
Pietro Abate <abateNo...@students.cs.unibo.it>
Key fingerprint = 5111 D91B 5E0C 5CE6 FDA3 5EF4 6120 E18E 8A09 1922
public key avalaible via public key server at wwwkeys.eu.pgp.net
> Hi,
>
> In article <ae5kg0$u55$03$1...@news.t-online.com>, Hendrik Sattler wrote:
>>> I want to install a Debian package (openssl_0.9.4-5.deb) in my own
>>> home directory. I tried
>>> but I got the error message:
>>> dpkg: operation requires read/write access to dpkg status area
>>> Is there a way to get around this problem?
>
> you can ask dpkg to write packages information in a different
> location. have a look at the dpkg man page and in particular where it
> says about --root=dir | --admindir=dir | --instdir=dir.
>
> This should solve your problem... and as it has been said, you should
> have a complete structure in your home directory. I'm used to have a dir
> 'software' in my home with a complete hierarchy.
[ ] you know how to post :((
I did not write that.
HS