Es muy fácil, solo generé las "sources.list" con esta página y de ahí solo ejecute:
>apt update && apt upgrade
Siempre lo hago así (buena esa es la forma en la que me lo enseñaron) y no he tenido problemas, aquí para generar la "sources.list": https://debgen.simplylinux.ch/
Reading the other answer, first ensure that you do not have anything but the package repositories for debian testing in your /etc/apt/sources.list
. Maybe this helps.
Then do:
sudo apt update sudo apt upgrade sudo apt autoremove --purge sudo apt full-upgrade sudo apt autoremove --purge
Search the web for what these commands exactly do, if you fear breaking something. This article could be a start.
Afterwards hopefully you are able to install the software you need.
If unsure about any step, ask back before trying :)
Perhaps I am missing the obvious, but it seems to do exactly what you told it to?
> Before this I was getting another error and I went to /etc/apt/sources.list and added a "#" before Debian ...
You removed the repositories, so of course sudo (or any package really) is not available. If you want to install anything you need to have a repository to install it from, so either fix your sources.list or generate another one.
Sorry for late reply... I don't frequent reddit as much as I used to :P
You're missing the main repo which is where all of the packages are located. Updates only contains... well... packages that were updated (bug fixes, security like you have).
Add
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
You can remove contrib and non-free if you don't want them, but it appears you have them for updates so I included them.
Of course, you can pick a more localised mirror if you're not located in the US. Also, of course, keep your update repos don't replace them, as apt will always pick the newest available package from whatever repo contains it.
To make life easy, there's an awesome website here that will generate sources.list for you anytime you wish :)
One can tell that (2) was written by someone copy-pasting, because why would someone not stick to either wget -O-
and curl
, and also not sudo everything..?
Even the generator's selection of third-party repos seem copy-pasted.. (and definitely not by someone who cares about free software)
If you want the proprietary drivers, the main thing to do is just do apt install nvidia-driver
. That's a metapackage that should pull in any dependencies.
The other two things would be to make sure you have nonfree enabled in sources.list. You can use this site to generate a whole new sources.list if you like, but I usually just add the extra stuff manually. Then, Steam requires 32-bit support thanks to Valve taking their sweet old time updating things, so you'll need to add i386 as an architecture.
There's a whole guide on how exactly to do this on the Debian wiki. I'll note here that while it isn't quite as good as the Arch Wiki, there's some good pages so it's worth checking. Mainly, stuff tends to get more outdated between versions while Arch has no stopping points so stuff constantly gets updated.
Thanks for the reply, i did something similar. Generated a new sources list from https://debgen.simplylinux.ch/.
Now it's grabbing updates as expected. I'm guessing the indian mirrors are having problems. Just a guess.
From the picture, you are running stable. So you'll need to replace whatever you have in that list with the sources from here. Note, this doesn't include the backports repo. That's your choice if you want to include it. Make sure to read the whole page first, because they suggest that you install a couple of packages before changing your sources. Edit: make sure you're connected to the internet and also update your grub after you change the sources. sudo update-grub
You would need to switch to either Testing or unstable/Sid. They both run the latest Gnome 3.36.
To do that, you need to change your sources list:
sudo nano /etc/apt/sources.list
I believe your sources list would say Buster now. Change that to testing or change it to unstable depending on which you prefer. You can use a site such as this to give you sources list to copy into the file above.
https://wiki.debian.org/Backports
Same as any other repo. Open your favorite graphical software manager or open /etc/apt/sources.list with your favorite text editor and add
deb http://ftp.debian.org/debian stretch-backports main
then apt update and apt -t stretch-backports install grub-customizer
Maybe also helpful for you: https://debgen.simplylinux.ch/
When you installed you probably did not use an ethernet cable and used the netinstaller (which by default does not come with firmware for freedom reasons). That means during the install you don't have wifi and the installer hence asks you something like "no internet connection. You are not going to get a DE, just the basics. Are you really sure you want that?". You said yes, so here you are. It also asks you whether you want to use a root account or sudo.
So you choose to install without a DE, but changed your mind and want to install one.
1) Connect to the internet. Easiest way: ethernet cable. Slightly less easy: Get the packages for your wifi from another computer, copy them over with a usb stick and install them.
2) Make sure your /etc/apt/sources.list looks fine, e.g. https://debgen.simplylinux.ch/
3) apt update. Actually read what it says. If everything worked fine, you can now install whatever, e.g. kde, gnome, xfce, lxde
Possibly much quicker option: Start with the unofficial iso instead https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/
I always comment out everything and use the Debian Sources List Generator . It allows you to check the options you want and then generates the repo.
Also, I read that if you want a true rolling release system in Testing you need to switch from the naming (Buster) to Testing in the repos, which the auto generator does by default.