Re: Problematic Acroread Install in Squeeze

2011-05-20 Thread Freeman
On Fri, May 20, 2011 at 10:14:29AM +0300, Andrei Popescu wrote:
> On Jo, 19 mai 11, 18:07:44, Freeman wrote:
> ...
> >  18  trying to overwrite '/usr/share/man/man1/acroread.1.gz', which is
> >  also in
> >  19 /package adobereader-enu 9.3.2
> 
> Get rid of this package
> 
> > 121 root@Europa:/home/freeman# cd /usr/share/man/man1
> > 122 root@Europa:/usr/share/man/man1#  mv acroread.1.gz
> > acroread.1.gz.bak
> > 123 root@Europa:/usr/share/man/man1# stat acroread*
> > 124   File: acroread.1.gz.bak' ->
> > 125 /opt/Adobe/Reader9/Resource/Shell/acroread.1.gz'
> > 126   Size: 47  Blocks: 0  IO Block: 4096
> > symbolic link
> > 127 Device: 807h/2055d  Inode: 10078   Links: 1
> > 128 Access: (0777/lrwxrwxrwx)  Uid: (0/root)   Gid: (0/
> > root)
> > 129 Access: 2010-05-15 17:32:09.0 -0700
> > 130 Modify: 2010-05-15 17:32:09.0 -0700
> > 131 Change: 2011-05-19 17:27:38.0 -0700
> 
> (Re)moving the file is not enough, since dpkg has it's internal database 
> about what's installed where. Get rid of the package (using apt or 
> dpkg), not of the files.
> 

Thanks Andrei.

dpkg -P did it.

Looks like I got Adobereader-enu off of their site and forgot about it. 
Therefore, no conflict listed in the deb.

-- 
Regards,
Freeman

"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110520204046.GA14328@Europa.office



Re: Problematic Acroread Install in Squeeze

2011-05-20 Thread Andrei Popescu
On Jo, 19 mai 11, 18:07:44, Freeman wrote:
> Wanted to try Acroread.
> 
> The package acroread-debian-files would not install. There are no
> dependency problems.
> 
> I switched to apt-get at the prompt. 
> 
> About line 111 below I dpkg-configure says it can't overwrite a man file. 
> So I try to move that file in line 122 to no avail.
...
>  18  trying to overwrite '/usr/share/man/man1/acroread.1.gz', which is
>  also in
>  19 /package adobereader-enu 9.3.2

Get rid of this package

> 121 root@Europa:/home/freeman# cd /usr/share/man/man1
> 122 root@Europa:/usr/share/man/man1#  mv acroread.1.gz
> acroread.1.gz.bak
> 123 root@Europa:/usr/share/man/man1# stat acroread*
> 124   File: acroread.1.gz.bak' ->
> 125 /opt/Adobe/Reader9/Resource/Shell/acroread.1.gz'
> 126   Size: 47  Blocks: 0  IO Block: 4096
> symbolic link
> 127 Device: 807h/2055d  Inode: 10078   Links: 1
> 128 Access: (0777/lrwxrwxrwx)  Uid: (0/root)   Gid: (0/
> root)
> 129 Access: 2010-05-15 17:32:09.0 -0700
> 130 Modify: 2010-05-15 17:32:09.0 -0700
> 131 Change: 2011-05-19 17:27:38.0 -0700

(Re)moving the file is not enough, since dpkg has it's internal database 
about what's installed where. Get rid of the package (using apt or 
dpkg), not of the files.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Problematic Acroread Install in Squeeze

2011-05-19 Thread Freeman
Wanted to try Acroread.

The package acroread-debian-files would not install. There are no
dependency problems.

I switched to apt-get at the prompt. 

About line 111 below I dpkg-configure says it can't overwrite a man file. 
So I try to move that file in line 122 to no avail.

Now aptitude refuses to uninstall Adobe Reader.  :) Haven't tried
uninstalling Acroread yet.

Any insights appreciated!

  1 root@Europa:/home/freeman# aptitude install acroread-debian-files
  2 The following NEW packages will be installed:
  3   acroread-debian-files
  4 The following partially installed packages will be configured:
  5   acroread acroread-data acroread-dictionary-en acroread-escript
  6   acroread-l10n-en acroread-plugins mozilla-acroread
  7 0 packages upgraded, 1 newly installed, 0 to remove and 9 not
  upgraded.
  8 Need to get 0 B/18.7 kB of archives. After unpacking 152 kB will
  be used.
  9 Reading package fields... Done
 10 Reading package status... Done
 11 Retrieving bug reports... Done
 12 Parsing Found/Fixed information... Done
 13 (Reading database ... 229884 files and directories currently
 installed.)
 14 Unpacking acroread-debian-files (from
 15 .../acroread-debian-files_9.4.2_i386.deb) ...
 16 dpkg: error processing
 17 /var/cache/apt/archives/acroread-debian-files_9.4.2_i386.deb
 (--unpack):
 18  trying to overwrite '/usr/share/man/man1/acroread.1.gz', which is
 also in
 19 /package adobereader-enu 9.3.2
 20 configured to not write apport reports
 21   Processing triggers for menu
 ...
 22 Processing triggers for man-db ...
 23 Errors were encountered while processing:
 24  /var/cache/apt/archives/acroread-debian-files_9.4.2_i386.deb
 25 E: Sub-process /usr/bin/dpkg returned an error code (1)
 26 A package failed to install.  Trying to recover:
 27 dpkg: dependency problems prevent configuration of acroread:
 28  acroread depends on acroread-debian-files (>= 0.2.12); however:
 29   Package acroread-debian-files is not installed.
 30 dpkg: error processing acroread (--configure):
 31  dependency problems - leaving unconfigured
 32 dpkg: dependency problems prevent configuration of
 mozilla-acroread:
 33  mozilla-acroread depends on acroread (= 9.4.2-0.0); however:
 34   Package acroread is not configured yet.
 35 dpkg: error processing mozilla-acroread (--configure):
 36  dependency problems - leaving unconfigured
 37 dpkg: dependency problems prevent configuration of
 acroread-l10n-en:
 38  acroread-l10n-en depends on acroread (= 9.4.2-0.0); however:
 39   Package acroread is not configured yet.
 40 dpkg: error processing acroread-l10n-en (--configure):
 41  dependency problems - leaving unconfigured
 42 dpkg: dependency problems prevent configuration of
 acroread-plugins:
 43  acroread-plugins depends on acroread (= 9.4.2-0.0); however:
 44   Package acroread is not configured yet.
 45 dpkg: error processing acroread-plugins (--configure):
 46  dependency problems - leaving unconfigured
 47 dpkg: dependency problems prevent configuration of
 acroread-dictionary-en:
 48  acroread-dictionary-en depends on acroread (= 9.4.2-0.0);
 however:
 49   Package acroread is not configured yet.
 50 dpkg: error processing acroread-dictionary-en (--configure):
 51  dependency problems - leaving unconfigured
 52 dpkg: dependency problems prevent configuration of acroread-data:
 53  acroread-data depends on acroread (= 9.4.2-0.0); however:
 54   Package acroread is not configured yet.
 55 dpkg: error processing acroread-data (--configure):
 56  dependency problems - leaving unconfigured
 57 dpkg: dependency problems prevent configuration of
 acroread-escript:
 58  acroread-escript depends on acroread (= 9.4.2-0.0); however:
 59   Package acroread is not configured yet.
 60 dpkg: error processing acroread-escript (--configure):
 61  dependency problems - leaving unconfigured
 62 Errors were encountered while processing:
 63  acroread
 64  mozilla-acroread
 65  acroread-l10n-en
 66  acroread-plugins
 67  acroread-dictionary-en
 68  acroread-data
 69  acroread-escript
 70
 71 root@Europa:/home/freeman# dpkg-reconfigure acroread
 72 /usr/sbin/dpkg-reconfigure: acroread is broken or not fully
 installed
 73 root@Europa:/home/freeman# dpkg-reconfigure acroread-escript
 74 /usr/sbin/dpkg-reconfigure: acroread-escript is broken or not
 fully
 75 /installed
 76 root@Europa:/home/freeman# apt-get install acroread
 77 Reading package lists... Done
 78 Building dependency tree
 79 Reading state information... Done
 80 acroread is already the newest version.
 81 acroread set to manually installed.
 82 You might want to run 'apt-get -f install' to correct these:
 83 The following packages have unmet dependencies:
 84  acroread : Depends: acroread-debian-files (>= 0.2.12) but it is
 not going
 85 to be installed
 86 E: Unmet dependencies. Try 'apt-get -f install' with no packages
 (or specify
 87 a solution).
 88 root@Europa:/home/freeman# apt-get -f install
 89 Reading package lists... Don