Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ~ $
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..?)
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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".
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?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by iHateErrors
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 .
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?
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 ~ $
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by iHateErrors
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.