Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1223  / 1 Year ago, fri, april 28, 2023, 8:31:36

I'm tried to fix a problem with tor ppa in my Ubuntu 14.04, but I can't.



I tried to use



root@vitor-HP:~# LANG=C dpkg --configure -a
dpkg: dependency problems prevent configuration of torchat:
torchat depends on tor; however:
Package tor is not installed.

dpkg: error processing package torchat (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tor-geoipdb:
tor-geoipdb depends on tor (>= 0.2.4.20-1); however:
Package tor is not installed.

dpkg: error processing package tor-geoipdb (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
torchat
tor-geoipdb


After I use



root@vitor-HP:~# LANG=C apt-get install -f -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
python-socksipy
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
tor
Suggested packages:
mixmaster xul-ext-torbutton socat tor-arm polipo privoxy apparmor-utils
The following NEW packages will be installed:
tor
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0 B/789 kB of archives.
After this operation, 2673 kB of additional disk space will be used.
(Reading database ... 259372 files and directories currently installed.)
Preparing to unpack .../tor_0.2.4.20-1_amd64.deb ...
Unpacking tor (0.2.4.20-1) ...
dpkg: error processing archive /var/cache/apt/archives/tor_0.2.4.20-1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/tor', which is also in package tor-browser 3.5.4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
/var/cache/apt/archives/tor_0.2.4.20-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vitor-HP:~#


I already use



root@vitor-HP:~# LANG=C sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
tor-geoipdb : Depends: tor (>= 0.2.4.20-1) but it is not installed
torchat : Depends: tor but it is not installed
E: Unmet dependencies. Try using -f.
root@vitor-HP:~#


I use clean too



root@vitor-HP:~# LANG=C apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@vitor-HP:~#


And I did this



root@vitor-HP:~# LANG=C apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-libreoffice,a=trusty,n=trusty,l=LibreOffice PPA,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-libreoffice,a=trusty,n=trusty,l=LibreOffice PPA,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/irie/blender/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-irie-blender,a=trusty,n=trusty,l=PPA for Blender 2.4 and 2.7,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/irie/blender/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-irie-blender,a=trusty,n=trusty,l=PPA for Blender 2.4 and 2.7,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-inkscape.dev-stable,a=trusty,n=trusty,l=Inkscape Stable,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-inkscape.dev-stable,a=trusty,n=trusty,l=Inkscape Stable,c=main
origin ppa.launchpad.net
500 http://extras.ubuntu.com/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-app-review-board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
origin extras.ubuntu.com
500 http://extras.ubuntu.com/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-app-review-board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
origin extras.ubuntu.com
500 http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages
release v=14.04,o=Canonical,a=trusty,n=trusty,l=Partner archive,c=partner
origin archive.canonical.com
500 http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages
release v=14.04,o=Canonical,a=trusty,n=trusty,l=Partner archive,c=partner
origin archive.canonical.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/universe Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/restricted Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/multiverse Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/main Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/multiverse amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/universe Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/restricted Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/main Translation-en
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse i386 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/universe i386 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/restricted i386 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/main i386 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/universe amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/restricted amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
100 http://br.archive.ubuntu.com/ubuntu/ trusty-backports/main amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/universe Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/restricted Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse i386 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/universe i386 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/restricted i386 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/restricted amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe Translation-pt_BR
500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe Translation-pt
500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty/restricted Translation-pt_BR
500 http://br.archive.ubuntu.com/ubuntu/ trusty/restricted Translation-pt
500 http://br.archive.ubuntu.com/ubuntu/ trusty/restricted Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-pt_BR
500 http://br.archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-pt
500 http://br.archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty/main Translation-pt_BR
500 http://br.archive.ubuntu.com/ubuntu/ trusty/main Translation-pt
500 http://br.archive.ubuntu.com/ubuntu/ trusty/main Translation-en
500 http://br.archive.ubuntu.com/ubuntu/ trusty/multiverse i386 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/restricted i386 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=multiverse
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=universe
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=restricted
origin br.archive.ubuntu.com
500 http://br.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
origin br.archive.ubuntu.com
Pinned packages:
root@vitor-HP:~#


And I can't remove the tor .deb in /var/cache/apt/archives/



When I remove it



root@vitor-HP:/var/cache/apt/archives# ls
lock partial tor_0.2.4.20-1_amd64.deb
root@vitor-HP:/var/cache/apt/archives# rm tor_0.2.4.20-1_amd64.deb
root@vitor-HP:/var/cache/apt/archives# ls
lock partial
root@vitor-HP:/var/cache/apt/archives#


and...



root@vitor-HP:~# LANG=C apt-get remove tor-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
tor-geoipdb : Depends: tor (>= 0.2.4.20-1) but it is not going to be installed
torchat : Depends: tor but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@vitor-HP:~#


It appear again when I boot my Ubuntu after.



Can somebody help me to fix this?


More From » 14.04

 Answers
3

The solution is to run the command:



 sudo dpkg --purge --force-depends application


This fixes the problem.


[#23912] Friday, April 28, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zombieptu

Total Points: 490
Total Questions: 121
Total Answers: 108

Location: Nepal
Member since Mon, Jan 4, 2021
3 Years ago
;