SOLVED: update manager and software manager not working

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kjvonly

SOLVED: update manager and software manager not working

Post by kjvonly »

Last week I installed Linux Mint 13 Maya on my new HDD. My old windows 7 HDD died and since I was sick of Windows I decided to go to linux. Well, long story short yesterday and today software manager will not install software, and now update manager won't even update. Here's the error for update manager, as far as software manager is concerned you hit "install" and the install button disappears it appears to install, but low and behold, it doesn't... what is going on? I'm hoping i didn't make the wrong choice transitioning to linux :(

E: install-info: subprocess installed post-installation script returned error exit status 127

Setting up install-info (4.13a.dfsg.1-8ubuntu2) ...
/var/lib/dpkg/info/install-info.postinst: 32: /var/lib/dpkg/info/install-info.postinst: update-info-dir: not found
dpkg: error processing install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
install-info
W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up install-info (4.13a.dfsg.1-8ubuntu2) ...
/var/lib/dpkg/info/install-info.postinst: 32: /var/lib/dpkg/info/install-info.postinst: update-info-dir: not found
dpkg: error processing install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
install-info
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: update manager and software manager not working

Post by caf4926 »

try

Code: Select all

sudo apt-get --fix-broken
Linux Mint 21.1 Cinnamon
kjvonly

Re: update manager and software manager not working

Post by kjvonly »

Sorry, I'm a total newbie... Last time i used linux was in high school... red hat back in the 90's

When I type that in this is what I get:

$ sudo apt-get --fix-broken
[sudo] password for chris:
apt 0.8.16~exp12ubuntu10.2 for amd64 compiled on Jun 15 2012 15:08:48
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
autoremove - Remove automatically all unused packages
purge - Remove packages and config files
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
changelog - Download and display the changelog for the given package
download - Download the binary package into the current directory

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to correct a system with broken dependencies in place
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.


-----------------

So I guess I need to know what else I need to type in for options and switches

Thanks

Chris
kjvonly

Re: update manager and software manager not working

Post by kjvonly »

AWESOME..... PROBLEM SOLVED

found the solution here: http://ubuntuforums.org/showthread.php?t=1617100

the command that fixed it all is:

Code: Select all

sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bad
mgold1

Re: update manager and software manager not working

Post by mgold1 »

kjvonly wrote:AWESOME..... PROBLEM SOLVED

found the solution here: http://ubuntuforums.org/showthread.php?t=1617100

the command that fixed it all is:

Code: Select all

sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bad
I have a similar problem as the original post. When I try this command, I get the following:

Code: Select all

michael@michael-desktop ~ $ sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bad
[sudo] password for michael: 
sudo: unable to open /var/lib/sudo/michael/1: No such file or directory
mv: cannot move ‘/var/lib/dpkg/info/install-info.postinst’ to ‘/var/lib/dpkg/info/install-info.postinst.bad’: Read-only file system
Locked

Return to “Beginner Questions”