LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2014, 04:12 AM   #1
nicuzbona
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Rep: Reputation: Disabled
how to unninstall a program (spotify)


Hello. I accidentally deleted 'Spotify' folder from 'opt' folder and now I can not uninstall Spotify. I tried with synaptic but an error occurred. I tried to write in a terminat this: sudo apt-get remove spotify-client but it does not work ( somthing error). How can I uninstall it? Pls
 
Old 08-19-2014, 05:32 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
so (re)install it again first
 
Old 08-19-2014, 05:49 AM   #3
nicuzbona
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
This returns if I try to reinstall:

gpg: Total number processed: 1
gpg: unchanged: 1
Setting up spotify-client (1:0.9.11.27.g2b1a638.81-1) ...
/var/lib/dpkg/info/spotify-client.postinst: 5: cd: can't cd to /opt/spotify/spotify-client
dpkg: error processing package spotify-client (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
spotify-client
E: Sub-process /usr/bin/dpkg returned an error code (1)

I installed from here: http://www.omgubuntu.co.uk/2013/01/h...tu-12-04-12-10

Last edited by nicuzbona; 08-19-2014 at 05:53 AM.
 
Old 08-19-2014, 09:04 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
try apt-get install --reinstall spotify-client
or download it and
dpkg -i --force-all <package>
 
Old 08-19-2014, 02:53 PM   #5
nicuzbona
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
none works
(*): sudo apt-get install --reinstall spotify-client
output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 275 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for spotify-client:amd64

(*): sudo dpkg -i --force-all spotify-client
(after download) output:
dpkg: error processing archive spotify-client (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
spotify-client
 
Old 08-22-2014, 11:41 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
for dpkg you must download the package yourself and you need to specify the filename instead of the package name:
sudo dpkg -i --force-all <full path to spotify-client.deb>
in post #3 you tried to reinstall something. What was that, how did you try (what was the command exactly?)
Also you can try synaptic to force reinstall package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spotify shirky Linux - Software 2 02-20-2012 05:27 AM
Spotify on Slackware rkfb Slackware 3 01-29-2012 11:46 AM
Spotify for Linux davebrazier Linux - Newbie 7 04-05-2011 10:26 AM
Spotify - we are many. lugoteehalt General 7 01-15-2010 06:37 AM
Weird error after unninstall and attemp to install centosfan Linux - Server 1 01-05-2008 05:28 AM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration