LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2014, 09:18 AM   #1
masonje
LQ Newbie
 
Registered: Mar 2013
Distribution: Ubuntu
Posts: 12

Rep: Reputation: Disabled
fix package manager


I messed up and thought I could install side by side two versions of libstdc++. Well that failed. Then I go to install a new package that I know would work, it fails asking me to "apt-get -f install".

I just want to clean the slate. I don't want to for install the old library. I'll set up a VM for that, not my prod desktop.

Thanks for your help
 
Old 12-11-2014, 10:03 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,786

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
I think you need to execute first apt-get -f install and afterwards you may try to clean the slate (if still required)
 
Old 12-11-2014, 10:15 AM   #3
masonje
LQ Newbie
 
Registered: Mar 2013
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
I still get errors in the install...
...
Errors were encountered while processing:
/var/cache/apt/archives/libstdc++6_4.8.2-19ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
....

I just want the package manager to forget about it.
 
Old 12-11-2014, 10:19 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,786

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
Quote:
Originally Posted by masonje View Post
I just want the package manager to forget about it.
That is not about the package manager. It is halfway installed or something like this. Removing it from the database will not solve the issue. The state of the installed packages (= the files on your disk) are not ok.

But I think you need to give more info, what have you exactly tried.
 
  


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
Problem with file permission to fix Synaptic Package Manager vansch76 Linux - Software 1 03-20-2009 09:40 PM
How do I fix Suse 10.1 package manager problem? little_penguin SUSE / openSUSE 3 11-02-2006 03:49 PM
LXer: openSUSE 10.1 package manager fix due this week LXer Syndicated Linux News 0 07-20-2006 02:03 PM
LXer: OpenSUSE releases package manager fix LXer Syndicated Linux News 0 06-15-2006 06:21 AM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 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