LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-19-2016, 08:40 PM   #31
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by Emerson View Post
I think you just did.
I ran sudo apt-get update and i got this please tell me what to do and thanks:
Code:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
shawn@shawn-Aspire-T690 ~ $ sudo dpkg configure
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages[*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked[*] produce a lot of output - pipe it through 'less' or 'more' !
shawn@shawn-Aspire-T690 ~ $
 
Old 02-19-2016, 08:45 PM   #32
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It tells you to run:
Code:
sudo dpkg --configure -a
 
1 members found this post helpful.
Old 02-19-2016, 09:01 PM   #33
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
It tells you to run:
Code:
sudo dpkg --configure -a
seems to have done the trick but one more question:
Code:
Warning: No support for locale: en_CA.utf8
shawn@shawn-Aspire-T690 ~ $
should i be concerned? what is it?
 
Old 02-19-2016, 09:05 PM   #34
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
http://askubuntu.com/questions/99651...ale-en-us-utf8
 
1 members found this post helpful.
Old 02-19-2016, 09:05 PM   #35
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Code:
hawn@shawn-Aspire-T690 ~ $ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
shawn@shawn-Aspire-T690 ~ $ sudo apt-get clean
shawn@shawn-Aspire-T690 ~ $ apt-get clean
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock the download directory
shawn@shawn-Aspire-T690 ~ $
also another stale file? OMG
 
Old 02-19-2016, 09:27 PM   #36
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
What were you trying to install with the dpkg cmd before you closed the terminal?
 
Old 02-20-2016, 12:18 AM   #37
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by Ztcoracat View Post
What were you trying to install with the dpkg cmd before you closed the terminal?
i was just trying to do a maintnace command. I seemed to have succesfully installed spotify but im getting this code when im doing sudo apt-get update:
Code:
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 13B00F1FD2C19886
Is linux not ment to be used with these fun programs (kodi,spotify etc..?)
 
Old 02-20-2016, 03:43 AM   #38
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
There is no sudo preceedingthis command, that is why you received the error:
Code:
shawn@shawn-Aspire-T690 ~ $ apt-get clean
Remeber that doing something with sudo (super-user do) is doing it as if you were root who has rights to do anything but doing it without sudo is doing it as yourself with limited rights -- this is for security reasons and to "protect you from yourself".
 
1 members found this post helpful.
Old 02-20-2016, 02:04 PM   #39
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
There is no sudo preceedingthis command, that is why you received the error:
Code:
shawn@shawn-Aspire-T690 ~ $ apt-get clean
Remeber that doing something with sudo (super-user do) is doing it as if you were root who has rights to do anything but doing it without sudo is doing it as yourself with limited rights -- this is for security reasons and to "protect you from yourself".
thanks for explaining that i appreciate it. Could fill me in on the spotify error?
 
Old 02-20-2016, 02:09 PM   #40
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by iHateErrors View Post
thanks for explaining that i appreciate it. Could fill me in on the spotify error?
OK, sorry, I missed that. Any repository should be signed so that you know you're getting what you ask for -- to use them you need their key.
It's worth reading around the subject now and being willing to have to make mistakes and reinstall as in no time you'll find yourself answering this kind of question yourself .
 
Old 02-20-2016, 02:21 PM   #41
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
OK, sorry, I missed that. Any repository should be signed so that you know you're getting what you ask for -- to use them you need their key.
It's worth reading around the subject now and being willing to have to make mistakes and reinstall as in no time you'll find yourself answering this kind of question yourself .
i entered the the first comman on that link and it seemed to have fixed it thanks?
 
Old 02-20-2016, 02:24 PM   #42
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Last thing I read up on ask ubuntu that to dist upgrade is not safe should I up grade or not.

Code:
shawn@shawn-Aspire-T690 ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  kodi kodi-bin
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
shawn@shawn-Aspire-T690 ~ $
 
Old 02-20-2016, 02:25 PM   #43
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by iHateErrors View Post
i entered the the first comman on that link and it seemed to have fixed it thanks?
Just remember to only enter that command when you trust the source of the software. While I know that people may not like or trust Spotify in their business I think them only a moderate risk to install a package or two from, but please look into this yourself.
 
  


Reply



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
sudo apt-get update error list Firebeast Ubuntu 3 09-12-2015 07:25 PM
sudo apt-get update ERROR HELP linuxmarble Linux - Software 2 09-02-2014 04:23 AM
[SOLVED] 404errors when running apt-get update already tried sudo rm /var/lib/apt/lists/* -vf rasec8711 Linux - Software 2 05-31-2012 10:33 AM
sudo apt-get update problem yasokrish Linux - Newbie 6 04-16-2010 06:11 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 PM.

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
Open Source Consulting | Domain Registration