Re: [Hampshire] Is a faulty download to blame for my problem…

Top Page
Author: Hugo Mills
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Is a faulty download to blame for my problems?

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x577ef100.hantslug.org.uk.10741': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Sun Nov 18 23:17:46 2007 GMT
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Sun, Nov 18, 2007 at 11:14:47PM +0000, hantslug@??? wrote:
> On Sunday 18 November 2007 22:41, Hugo Mills wrote:
> > On Sun, Nov 18, 2007 at 08:52:42PM +0000, hantslug@??? wrote:
> > > On Sunday 18 November 2007 18:41, Hugo Mills wrote:
> > > > On Sun, Nov 18, 2007 at 04:57:10PM +0000, hantslug@??? wrote:
> > > > > On Sunday 18 November 2007 16:28, Hugo Mills wrote:
> > > > > > On Sun, Nov 18, 2007 at 04:27:42PM +0000, hantslug@???
> wrote:
> > > > > > > On Sunday 18 November 2007 16:08, Hugo Mills wrote:
> > > > > > > >  What do you get if you do:
> > > > > > > >
> > > > > > > > $ sudo dpkg -i
> > > > > > > > /var/cache/apt/archives/acroread-debian-files_0.0.11_all.deb
> > > > > > >
> > > > > > > Tux:/home/lisi#
> > > > > > > dpkg -i
> > > > > > > /var/cache/apt/archives/acroread-debian-files_0.0.11_all.deb
> > > > > > > (Reading database ... 137517 files and directories currently
> > > > > > > installed.) Preparing to replace acroread-debian-files 0.0.11
> > > > > > > (using .../acroread-debian-files_0.0.11_all.deb) ...
> > > > > > > Unpacking replacement acroread-debian-files ...
> > > > > > > Error: contents of '/etc/mailcap.new' do not match what was
> > > > > > > written -- abort dpkg: warning - old post-removal script returned
> > > > > > > error exit status 255 dpkg - trying script from the new package
> > > > > > > instead ... Error: contents of '/etc/mailcap.new' do not match
> > > > > > > what was written -- abort dpkg: error
> > > > > > > processing
> > > > > > > /var/cache/apt/archives/acroread-debian-files_0.0.11_all.deb
> > > > > > > (--install):
> > > > > > > subprocess new post-removal script returned error exit status
> > > > > > > 255 Error: contents of '/etc/mailcap.new' do not match what was
> > > > > > > written -- abort dpkg: error while cleaning up:
> > > > > > > subprocess post-removal script returned error exit status 255
> > > > > > > Errors were encountered while processing:
> > > > > > > /var/cache/apt/archives/acroread-debian-files_0.0.11_all.deb
> > > > > > > Tux:/home/lisi#
> > >
> > > The list is hard to read, but rm mailcap.new was successful:
> > > i.e. removed mailcap.new. But didn't work. :-( Sorry about that; I
> > > ought to have used grep. The list was quite easy to read in its
> > > original columns, and mailcap.new is no longer there. Repeating the
> > > dpkg -i, however, still didn't work.
> >
> >    Right. The problem is in the postrm script. Looking at that, it
> > runs "mime-update". What happens if you run "mime-update" on its own
> > as root?

>
> Tux:/etc# mime-update
> bash: mime-update: command not found
> Tux:/etc#
>
> Sorry, Hugo. I am presumably misunderstanding you. :-(


Absolutely. You misunderstood that I intended you to run
"update-mime", instead of "mime-update". :)

Sorry for the error,
Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- "What are we going to do tonight?" "The same thing we do ---     
            every night, Pinky.  Try to take over the world!"