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

Re: amd64-archive (openoffice) dpkg ERROR HELPPPPPPPPPPPPPPP



On Wednesday 21 December 2005 05:27 am, Goswin von Brederlow wrote:
> "Brian R. Whitecotton" <brwhitecotton@cox.net> writes:
> > Hello,
> >
> > For some reason, Goswin's amd64-archive deb package is giving me grief
> > that it didn't used to.
> >
> > I am running testing...
> >
> > My apt sources.list contains...
> >
> > deb http://amd64.debian.net/debian testing main contrib non-free
> > deb-src http://amd64.debian.net/debian testing main contrib non-free
> >
> > uname -a gives:
> > Linux Goliath 2.6.11-9-amd64-k8 #1 Wed Jun 29 17:33:01 CEST 2005 x86_64
> > GNU/Linux
> >
> > When I run  <<< dpkg -i amd64-archive_0.2_amd64.deb >>> as root
> >
> > I have tried several versions of the archive including the most recent,
> > all to no avail.  The version below is the one that worked the last time
> > I setup Oo.
> >
> > I get the following output...
> >
> > Goliath:/home/brianw# dpkg -i amd64-archive_0.2_amd64.deb
> > (Reading database ... 115680 files and directories currently installed.)
> > Preparing to replace amd64-archive 0.2 (using
> > amd64-archive_0.2_amd64.deb) ... Unpacking replacement amd64-archive ...
> > Setting up amd64-archive (0.2) ...
> > gpg: fatal: can't create directory `//.gnupg': Permission denied
> > secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
> > mkdir: cannot create directory `/var/lib/amd64-archive/conf': No such
> > file or directory
>
> This looks like the amd64-archive user is setup wrong. The HOME dir
> seems to become / (maybe because the real one is missing) and then gpg
> (run as amd64-archive) obviously fails.
>
> The failure to create the conf subdir also indicates that the homedir
> (/var/lib/amd64-archive) is missing.
>
> The /etc/passwd should contain
>
> amd64-archive:x:109:0:Amd64-Archive user,,,:/var/lib/amd64-archive:/bin/sh
>
> and the FS should have
>
> drwxr-xr-x  8 amd64-archive root 4.0K Jul 15 21:12 /var/lib/amd64-archive/
>
> Try purging the package or removing the passwd entry manually to get a
> fresh start.
>
> > dpkg: error processing amd64-archive (--install):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  amd64-archive
> > Goliath:/home/brianw#
> >
> > Any help would be greatly appreciated.  There is so much that I do not
> > understand YET! :-)
> >
> > Thank You in Advance!!!
> >
> > Brian R. Whitecotton
>
> MfG
>         Goswin

Hi Goswin,

I did what you suggested and it seemed to get further on than before!  Here is 
the new output...if you have a moment you can spare I could use insight such 
as yours!   Thank You!!!

Goliath:/home/brianw# dpkg -i amd64-archive_0.2_amd64.deb
(Reading database ... 115710 files and directories currently installed.)
Preparing to replace amd64-archive 0.2 (using amd64-archive_0.2_amd64.deb) ...
Unpacking replacement amd64-archive ...
Setting up amd64-archive (0.2) ...
gpg: directory `/var/lib/amd64-archive/.gnupg' created
gpg: new configuration file `/var/lib/amd64-archive/.gnupg/gpg.conf' created
gpg: WARNING: options in `/var/lib/amd64-archive/.gnupg/gpg.conf' are not yet 
active during this run
gpg: keyring `/var/lib/amd64-archive/.gnupg/secring.gpg' created
gpg: keyring `/var/lib/amd64-archive/.gnupg/pubring.gpg' created
gpg: /var/lib/amd64-archive/.gnupg/trustdb.gpg: trustdb created
gpg (GnuPG) 1.4.2; Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Reading passphrase from file descriptor 0
Please select what kind of key you want:
   (1) DSA and Elgamal (default)
   (2) DSA (sign only)
   (5) RSA (sign only)
DSA keypair will have 1024 bits.
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key does not expire at all

You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Name must be at least 5 characters long
You selected this USER-ID:
    "amd64-archive (automatic archive key) <root@localhost>"

You need a Passphrase to protect your secret key.

You don't want a passphrase - this is probably a *bad* idea!
I will do it anyway.  You can change your passphrase at any time,
using this program with the option "--edit-key".

We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
++++++++++..++++++++++.++++++++++.+++++++++++++++.++++++++++....++++++++++.
+++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++.+++++.
+++++>+++++......................>+++++.....................<+++++.......
+++++
gpg: key D9707B14 marked as ultimately trusted
public and secret key created and signed.

gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
pub   1024D/D9707B14 2005-12-21
      Key fingerprint = E6C0 7927 8464 54FF 8804  7633 59B2 EC30 D970 7B14
uid                  amd64-archive (automatic archive key) <root@localhost>

Note that this key cannot be used for encryption.  You may want to use
the command "--edit-key" to generate a subkey for this purpose.
gpg: key 4F368D5D: public key "Debian Archive Automatic Signing Key (2005) 
<ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
Not replacing deleted config file /var/lib/amd64-archive/conf/distributions
Not replacing deleted config file /var/lib/amd64-archive/conf/updates
Not replacing deleted config file /var/lib/amd64-archive/conf/packages.list
chown: cannot access `/var/lib/amd64-archive/conf/distributions': No such file 
or directory
chown: cannot access `/var/lib/amd64-archive/conf/updates': No such file or 
directory
chown: cannot access `/var/lib/amd64-archive/conf/packages.list': No such file 
or directory
dpkg: error processing amd64-archive (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 amd64-archive
Goliath:/home/brianw# 

Thanks in advance!

Brian
    



Reply to: