SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-04-09 21:13:53

KneeTie
Member
Registered: 2013-03-16
Posts: 14

[SOLVED] Bad package install help

I was trying to install teamviewer but it crashed on me, the screen turned into terminal outputs of an error code I suppose. This is the error I get when opening update manager or synaptic (both are unusable atm}, it begins to load but then hangs a little over half way. Any help is appreciated! thx in advance. smile


1zsQrd7.png

Last edited by KneeTie (2013-04-11 17:47:20)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-04-09 21:47:26

dura
Bloated Gimp
From: interzone
Registered: 2012-09-15
Posts: 2,107

Re: [SOLVED] Bad package install help

If you really want teamviwer, I'd suggest:

sudo apt-get update

cd downloads #or wherever you save downloaded files)

sudo rm <teamviewer (if it's there)>

Try and download the teamviewer archive or package again. Make sure you download the correct package (i.e. for Debian, and for your architecture (32bit/x64 - 64bit will not work on 32bit).

cd /where you saved the file. 

dpkg -i <debfile>

Last edited by dura (2013-04-09 21:48:27)

Offline

#3 2013-04-10 03:54:47

KneeTie
Member
Registered: 2013-03-16
Posts: 14

Re: [SOLVED] Bad package install help

thx for the help, but I would actually just like to get synaptic/update manager working again.

Offline

#4 2013-04-10 04:54:13

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 12,777

Re: [SOLVED] Bad package install help

In a terminal, what do you get if you run

sudo apt-get update
sudo apt-get dist-upgrade

?

If you get any errors, please post them here; if you don't get errors, but Synaptic is still giving you errors, we will have narrowed our search for the problem.


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Online

#5 2013-04-10 11:51:04

KneeTie
Member
Registered: 2013-03-16
Posts: 14

Re: [SOLVED] Bad package install help

kneetie@crunchbang:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package teamviewer needs to be reinstalled, but I can't find an archive for it.
kneetie@crunchbang:~$ 

Offline

#6 2013-04-10 12:02:21

uname
#! Junkie
Registered: 2013-03-15
Posts: 472

Re: [SOLVED] Bad package install help

I think you must delete in the first part "teamviewer".

How do you have install it?
Is there perhaps a package

dpkg -l|fgrep teamviewer

Test to deinstall it. After that

sudo apt-get upate
sudo apt-get dist-upgrade

Offline

#7 2013-04-10 12:07:57

KneeTie
Member
Registered: 2013-03-16
Posts: 14

Re: [SOLVED] Bad package install help

kneetie@crunchbang:~$ dpkg -l|fgrep teamviewer
iHR teamviewer                                    8.0.17147                          i386         (no description available)
kneetie@crunchbang:~$ 

it's a package I got from their website.

kneetie@crunchbang:~$ sudo apt-get remove teamviewer
[sudo] password for kneetie: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package teamviewer needs to be reinstalled, but I can't find an archive for it.
kneetie@crunchbang:~$ 

Last edited by KneeTie (2013-04-10 12:12:02)

Offline

#8 2013-04-10 12:17:40

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED] Bad package install help

What does

sudo apt-get install -f

say?

Offline

#9 2013-04-10 12:25:01

KneeTie
Member
Registered: 2013-03-16
Posts: 14

Re: [SOLVED] Bad package install help

kneetie@crunchbang:~$ sudo apt-get install -f
[sudo] password for kneetie: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package teamviewer needs to be reinstalled, but I can't find an archive for it.
kneetie@crunchbang:~$ 

any ideas? what commad could I issue to completely purge the package?

Last edited by KneeTie (2013-04-10 21:21:58)

Offline

#10 2013-04-11 00:22:16

KneeTie
Member
Registered: 2013-03-16
Posts: 14

Re: [SOLVED] Bad package install help

anyone? do I have to reinstall crunchbang?

Offline

#11 2013-04-11 04:59:19

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 12,777

Re: [SOLVED] Bad package install help

Looks like `sudo dpkg purge teambuilder` should do it; if not, I'm sure someone with more experience with manually installed third-party packages will have more advice.


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Online

#12 2013-04-11 05:02:26

DebianJoe
#! Code Whisperer
From: The Bleeding Edge
Registered: 2013-03-13
Posts: 1,207
Website

Re: [SOLVED] Bad package install help

I'd give

sudo apt-get --purge remove <package>

A shot first.  If that fails, we could always go the hardcore route.  You can CAREFULLY open '/var/lib/dpkg/status', and using your text editor of choice with SU privilages, search for any reference to the "teamviewer" package.   Remove JUST those entries.  I'd make a backup of the file first, though... you can break stuff here.

Offline

#13 2013-04-11 10:32:26

KneeTie
Member
Registered: 2013-03-16
Posts: 14

Re: [SOLVED] Bad package install help

DebianJoe wrote:

CAREFULLY open '/var/lib/dpkg/status', and using your text editor of choice with SU privilages, search for any reference to the "teamviewer" package.   Remove JUST those entries

this worked! thx  smile

Offline

#14 2013-04-11 10:46:30

DebianJoe
#! Code Whisperer
From: The Bleeding Edge
Registered: 2013-03-13
Posts: 1,207
Website

Re: [SOLVED] Bad package install help

KneeTie wrote:
DebianJoe wrote:

CAREFULLY open '/var/lib/dpkg/status', and using your text editor of choice with SU privilages, search for any reference to the "teamviewer" package.   Remove JUST those entries

this worked! thx  smile

No problem.  You might want to mark this thread (solved) as it will work on pretty much any broken packages.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo