LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2012, 12:19 PM   #16
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled

What are reverse dependencies?
 
Old 06-10-2012, 07:14 PM   #17
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
If Y depends on X, then:
- X is a dependency of Y
- Y is a reverse dependency X

Evo2.
 
Old 06-10-2012, 10:48 PM   #18
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Thanx for you reply,

After reading your post, I ran this command:
Code:
sudo dpkg --purge openoffice*.*
.

OOo got removed. I had got this as the output:
Code:
(Reading database ... 168061 files and directories currently installed.)
Removing openoffice.org3-calc ...
Removing openoffice.org3-math ...
Removing openoffice.org3-base ...
Removing openoffice.org3-en-us ...
Removing openoffice.org3-draw ...
Removing openoffice.org-debian-menus ...
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Failed to open file /usr/share/icons/gnome/.icon-theme.cache : File exists
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
Purging configuration files for openoffice.org-debian-menus ...
Removing openoffice.org3-writer ...
Removing openoffice.org3-impress ...
Removing openoffice.org3 ...
Removing openoffice.org-ure ...
Processing triggers for menu ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gnome-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
After that I ran,
Code:
sudo apt-get update
.

But no, again when I am going to install/remove something through apt-get install, I get the same error:
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package ooobasis3.4-core04 needs to be reinstalled, but I can't find an archive for it.
My OOo has got removed.

Last edited by americast; 06-10-2012 at 11:38 PM.
 
Old 06-11-2012, 12:13 AM   #19
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

in principle it should be reinstalled (as the error states), but since you don't seem to have access to the package file any more you should be able to force remove it with:

Code:
dpkg --purge --force-remove-reinstreq ooobasis3.4-core04\
Evo2.

---------- Post added 2012-06-11 at 14:13 ----------

Hi,

in principle it should be reinstalled (as the error states), but since you don't seem to have access to the package file any more you should be able to force remove it with:

Code:
dpkg --purge --force-remove-reinstreq ooobasis3.4-core04\
Evo2.
 
Old 06-11-2012, 02:38 AM   #20
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Done it! Done it!

I did what you said and the ooocore*** package got removed. After that, when I tried to install another package, I got this error:
Code:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 ooobasis3.4-core01 : Depends: openoffice.org-ure but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So I tried
Code:
sudo apt-get -f install
. And then my problem got solved.

I would like to thank not only evo2 for his constant support but also other members for their attempts to solve my problem. I have been instructed from the scratch, so I didn't face any difficulties is carrying out what you all said.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crond daemon not working kamlesh_kmr Linux - General 10 04-19-2012 06:53 AM
Make apt-rdepends print apt-get readable output Ubuntu. Zssfssz Linux - General 2 01-31-2012 11:36 PM
Bash script to verify the daemon is working if not, start the daemon kishoreru Linux - Newbie 7 09-23-2009 04:29 AM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration