I'm having an issue with Aptitude that I'm not sure how to correct. I was having an issue with OpenOffice so I decided the easiest way to resolve the problem might be to completely remove it, then re-install it. That is when the problem began. Aptitude hung trying to remove openoffice.org-writer2latex. I ended up aborting the process and went on about my business. Tonight I needed to install ksensors on the same machine when the OpenOffice problem again reared its ugly head.

rattler:~# aptitude install ksensors
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following NEW packages will be installed:
  hddtemp{a} ksensors
The following packages will be REMOVED:
  openoffice.org-writer2latex{u}
0 packages upgraded, 2 newly installed, 1 to remove and 5 not upgraded.
Need to get 355kB of archives. After unpacking 434kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://10.10.10.1 lenny/main ksensors 0.7.3-16 [301kB]
Get:2 http://10.10.10.1 lenny/main hddtemp 0.3-beta15-44 [54.1kB]
Fetched 355kB in 1s (191kB/s)
Preconfiguring packages ...
(Reading database ... 182769 files and directories currently installed.)
Removing openoffice.org-writer2latex ...


At this point, aptitude will sit here for as long as you are willing to wait. On another terminal, I did 'ps ax'. The relevant portions follow:


 4726 pts/3    Sl+    0:03 aptitude install ksensors
 4757 pts/6    Ss+    0:00 /usr/bin/dpkg --status-fd 24
--force-depends --force-remove-essential --remove
openoffice.org-writer2latex
 4758 pts/6    S+     0:00 /bin/sh
/var/lib/dpkg/info/openoffice.org-writer2latex.prerm remove
 4759 pts/6    S+     0:00 /bin/sh
/var/lib/dpkg/info/openoffice.org-writer2latex.prerm remove
 4760 pts/6    S+     0:00 /bin/sh /usr/lib/openoffice/program/unopkg
list --shared
 4761 pts/6    S+     0:00 grep Identifier:.*writer2latex
 4762 pts/6    S+     0:00 cut -d: -f2
 4780 pts/6    S+     0:00 /usr/lib/libgconf2-4/gconfd-2 4
 4802 pts/6    R+     0:11 /usr/lib/openoffice/program/unopkg.bin list
--shared -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1
-env:UNO_JAVA_JFW_INSTALL_DATA=$$ORIGIN/../share/config/javasettingsunopkginstall.xml
-env:UserInstallation=fi
 4803 pts/4    R+     0:00 ps ax


How can I go about resolving this issue? would it be safe to manually delete:

/var/lib/dpkg/info/openoffice.org-write2latex.prerm
/usr/lib/openoffice/program/unopkg.bin

I'm guessing the answer to this would be no as I think it would corrupt the dpkg database.

Thanks for any clues!
Mike


--

 IBM: Interesting But Mundane
  02:55:01 up 1 day, 23:47,  2 users,  load average: 0.35, 0.34, 0.34

 Linux Registered User #241685  http://counter.li.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to