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.
The Debian command line apt-get is not working all of the packages are there but I can not install nothing I get unable to find package for the app, software or programm that I want to install.
What exactly did you type and what exactly was reported? Post that information in a reply, suggest you use code blocks. Use advanced mode if you can't figure out how to add code blocks, the icon with # on it adds them for you. Place your pasted command shell text copy in between the two code blocks.
Note that you'll need an attachment to the internet for this to work.
Typically start with:
Code:
sudo apt-get upgrade
To update your repository, especially if this hasn't been done in a while, or ever.
Snowpine is correct, I should have written "update" versus what I wrote.
The OP is not trying to specifically install VLC, that was my example. They're having troubles with aptitude, and as pointed out, they should try the two recommended commands and report the results via capturing the output and inserting it within code tags in a reply.
Snowpine is correct, I should have written "update" versus what I wrote.
The OP is not trying to specifically install VLC, that was my example. They're having troubles with aptitude, and as pointed out, they should try the two recommended commands and report the results via capturing the output and inserting it within code tags in a reply.
root@debian:/home/stevencobb# sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vlc
It might be a good idea to post your sources.list. If apt cannot locate a basic package like VLC, then it is not connecting to the repository. (Messed up sources.list.)
Another idea, but less likely, trying to use sudo without enabling it might also generate that error message? I do not know, because I have never used sudo with Debian.
Another idea, but less likely, trying to use sudo without enabling it might also generate that error message? I do not know, because I have never used sudo with Debian.
Unnecessarily using sudo in a root shell will not cause any problems whatsoever.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.