You are not logged in.

#1 2017-03-07 21:30:17

schwim
Member
From: Coastal VA, Murica
Registered: 2015-09-29
Posts: 342
Website

RESOLVED: Unable to clear errors after botched app install

Hi there folks!

I installed youtube-viewer via a deb package found on a google code page : https://code.google.com/archive/p/trizen/

The app performed terribly and I went back to the browser.  During install, I got an error that didn't prohibit the running of the app so I didn't pay any attention but during removal, I'm getting another error that is keeping my apt-get processes full of sadface text:

schwim@schwim-vm-bl:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
schwim@schwim-vm-bl:~$ sudo apt-get --force-yes remove youtube-viewer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libclass-inspector-perl libcommon-sense-perl libfile-sharedir-perl
  libjson-perl libjson-xs-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  youtube-viewer
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,126 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 206202 files and directories currently installed.)
Removing youtube-viewer (3.1.5-wheezy) ...
/var/lib/dpkg/info/youtube-viewer.prerm: 4: /var/lib/dpkg/info/youtube-viewer.prerm: update-menus: not found
dpkg: error processing package youtube-viewer (--remove):
 subprocess installed pre-removal script returned error exit status 127
/var/lib/dpkg/info/youtube-viewer.postinst: 9: /var/lib/dpkg/info/youtube-viewer.postinst: update-menus: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 youtube-viewer
E: Sub-process /usr/bin/dpkg returned an error code (1)
schwim@schwim-vm-bl:~$ sudo dpkg -r youtube-viewer
(Reading database ... 206202 files and directories currently installed.)
Removing youtube-viewer (3.1.5-wheezy) ...
/var/lib/dpkg/info/youtube-viewer.prerm: 4: /var/lib/dpkg/info/youtube-viewer.prerm: update-menus: not found
dpkg: error processing package youtube-viewer (--remove):
 subprocess installed pre-removal script returned error exit status 127
/var/lib/dpkg/info/youtube-viewer.postinst: 9: /var/lib/dpkg/info/youtube-viewer.postinst: update-menus: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 youtube-viewer
schwim@schwim-vm-bl:~$ 

apt-get did remove the app, but I keep getting the issue of 1 not fully installed or removed and I'm not sure how to resolve this issue.

Any help with the matter would be greatly appreciated!

Last edited by schwim (2017-03-08 01:14:44)


Schw.im! A social site with an identity crisis.

Offline

#2 2017-03-07 21:33:37

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: RESOLVED: Unable to clear errors after botched app install

schwim wrote:

....
Any help with the matter would be greatly appreciated!

Use [ code ] tags instead of [ quote ] wink  (I'll attempt a less flippant answer after reading your post wink )

EDIT:

You have "installed" a wheezy package on a jessie system, so there are bound to be problems;

If you inspect the deb with gdebi -> Included files, postinst and prerm are both trying to run "update-menus". This may be the one included in the Debian package "menu", for updating the dynamic menu. So I would try doing

sudo apt-get install menu

then try removing youtube-viewer again.

Last edited by damo (2017-03-07 21:56:36)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2017-03-08 01:14:23

schwim
Member
From: Coastal VA, Murica
Registered: 2015-09-29
Posts: 342
Website

Re: RESOLVED: Unable to clear errors after botched app install

That seems to have done the trick, thanks so much for the help!


Schw.im! A social site with an identity crisis.

Offline

Board footer

Powered by FluxBB