Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 10926  / 2 Years ago, mon, march 21, 2022, 1:32:16

Recently I tried installing Teamviewer7 on my Ubuntu 12.04. I tried downloading the deb which due to some reason never did finish its download (stopped at ~10MB/17MB).



Expectedly, installing the same gave unmet dependencies. I followed instructions given



sudo dpkg -i teamviewer_linux.deb
sudo apt-get install -f


These are to my memory the only changes I made to the system. Following this, my apt-get or dpkg seem to be broken.



Following is a sample call which returns errors in subprocesses. (specially not: dpkg and install-info)



$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
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
E: Sub-process /usr/bin/dpkg returned an error code (1)


Also, my Synaptic Package Manager and Google Chrome (if that's of any consequence) are not opening at all while Firefox et al seems to be working in order.



I tried out many things. A few suggestions included replacing /var/lib/dpkg/status file with a copy from a working version. This I believe might correct the broken dependencies. However I do not have a working copy accessible at the moment (not unless I create a bootable).



I really need some way to roll back the system to the previous state (backup doesn't work either).



Any help is appreciated. Thanks!


More From » apt

 Answers
6

Turns out that the process had removed Bash from the system.
If you have the same problem, follow the instructions here.



The basic procedure is as follows:



Go to the directory:



cd /var/cache/apt/archives


Find the corresponding deb for bash. On 12.04, it may look like



bash_4.2-2ubuntu2_amd64.deb

[#34814] Wednesday, March 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tatoethin

Total Points: 377
Total Questions: 110
Total Answers: 98

Location: Saudi Arabia
Member since Sat, Aug 20, 2022
2 Years ago
;