Debian Installation :: How To Repair Broken Sources List From Recovery Mode
Oct 14, 2014
I have added to Debian Wheezy testing repositories. After a restart there is no desktop anymore just the wallpaper picture is visible but no desktop pop-ups.
When I want to install the desktop through recovery mode, I get an error message that it "can't fetch...repos". How I can repair /etc/apt/sources.list through recovery mode?
So I have been messing around with the new 10.04 and I managed to screw it up. When I started to log off, I closed the lid to my laptop so it would hibernate, but instead the screen went black and I could only see the cursor. It stayed like that for several minutes so I shut it down manually. When I booted it up again, it froze on the splash/loading screen and I haven't been able to boot it since. I've tried to boot in recovery mode, but I think my campus internet interferes with the downloading of the necessary files from the internet. Is there any way to boot a recovery mode from the install disc? Or am I SOL?
I broke sudo when I wrongly edited a file in /etc/sudoers.d in vi(did not use visudo :-().I read that I could fix the same by rebooting into the 'Recovery Mode' by selecting the same from the grub menu.
However I'd earlier disabled the showing of the grub menu by editing /etc/default/grub. As a result I can't seem to go into recovery mode to fix my broken sudo.
I am running Jolicloud on my netbook (which I believe is an Ubuntu derivative) and I am tried to enter the getdeb.net sources in so I can install apps from the website through APT but
1) When I entered the sources into sources.list and then the key into Terminal and then went to the site and tried to install an app it didn't work.
2) I deleted the line of code in the sources.list file and when I opened terminal and entered "sudo apt-get update" it showed the list of sources, but on the list were Getdeb.net sources.
My question is how do I delete sources that aren't in /etc/apt/sources.list ?
I tried to change the basic toolbar to cairo dock,a tutorial that i found told me to write in terminal gksu gedit /etc/apt/sources.list.d/winehq.listso i write it and a window opened,i couled not find the text that told me(the tutorial i mean)so i closed the window,after that i keep taiking the same error
E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list E: The list of sources could not be read. Go to the repository dialogue to correct the problem. E: _cache->open() failed, please report.
now whene i got in the winehq.list the text has gone and i take this error in update manager,my software center doesn't work and my terminal whenever i type sudo commands says
E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list
I am currently in a country where the internet speed is roughly 15KB at best, if at all. So I cant download the 9.10 live CD. My grub2 broke when I reinstalled windows (because its so virus prone). This guide: [URL]. Says how to repair grub2 using grub2 live CD. Currently I have access to a 6.10 Ubuntu CD but when I try to mount the boot partition I get an error saying that the filesystem has unknown options. I think that the latest filesystem didn't exist back then and even if that would work. Can I reinstall grub2 using grub? Or is there any possibility to download an ultra small linux live system image with grub2? it seems all ubuntu variations come in 500MB+ packs.
I think a recent update to 10.04 somehow has broken my installation. When I turn on the machine, it just sits at the splash screen with the white dots turning orange from left to right as if it is going to boot up.
I have tried letting it sit there but after half an hour it still remains the same. I have tried booting into recovery mode but that fails somewhere along the startup process. Is there a way to 'repair broken installation' when booting up with live cd? I have been able to get to that option and I am trying to avoid doing a fresh install if possible.
I just upgraded from Debian 8.1 stable to testing and finally to unstable, looking for latest software.However, I cannot find sources for security or software updates, the only repository that works from me is
today i finished my first debian lenny install. x86 version. i ran into problem with sources.list # deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 CD Binary-1 20100131-18:53]/ lenny main deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 CD Binary-1 20100131-18:53]/ lenny main
# Line commented out by installer because it failed to verify: #deb http://security.debian.org/ lenny/updates main # Line commented out by installer because it failed to verify: #deb-src http://security.debian.org/ lenny/updates main # Line commented out by installer because it failed to verify: #deb http://volatile.debian.org/debian-volatile lenny/volatile main # Line commented out by installer because it failed to verify: #deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
I tried using sarge release for debian and I don't know what sources.list to use because in all the generators I can only choose Lenny, Sid, Squeeze or Etch release. What release should I use with Sarge? Or where do I get sources.list especially for it?
I have created a custom debian netinst USB stick. It has the default UK repositories in the sources list, but people in the US also need to use the stick from time-to-time.
Would it be a bad idea to mix US and UK repositories in the sources.list? Would Debian be clever enough to pick up the best repo depending on where the user is using the OS from? Or would I need to be a bit clever and create some sort of script to deal with this. (I am avoiding non-free/experimental software).
Whenever I run $aptitude update I get this error :-
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ stable/non-free amd64 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_non-free_binary-amd64_Packages) W: You may want to run apt-get update to correct these problems
i got Debian Lenny 5.0.1 and i'm trying to install the OSCAR cluster.I need to upgrade my OS with the packages in URL...which corresponds to my arch. I'd read while searchin' on web that i need to modify my /etc/sources.list file.
I just installed Debian 6.0 using the large installation image and a KDE environment now I am having issues setting up my sources.list file so that I can get all my updates over the internet. My current sources.list file looks like this:
# # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 DVD Binary-1 20110205-18:15]/ squeeze contrib main
I started using Ubuntu about 2 months ago, and having been studying every day since. About 2 days ago, I downloaded a copy of i386 Squeeze, and installed it onto an old extra machine (Dell 2350 tower, 768 MB RAM, 30 GB HD, Ethernet broadband) as a learning project.
During the install, I chose to not specify an online mirror. (I was trying to keep things as simple as possible, and save time while I was at it.) I didn't realize that by not specifying a mirror, the new system wouldn't have any links for finding new software. (In Ubuntu, it was automated and required no input &/or editing from me.) Reading posts at this forum, I learned that I need to edit the sources.list file. This was my first attempt at editing a Linux system script file, and I wasn't able to manage doing that. I chose to open it using gedit, and found I couldn't change its contents. I figured out then, that it was read-only.
My friend has an ubuntu 810 machine and he wants to remove it and install debian on that.Instead of cleaning and installing, I thought why not change the sources.list and do a dist-upgrade to debian. In case it is required, I dont mind purging packages like x or desktop etc. from ubuntu to make it thin before upgrading to debian.Has anyone tried this approach instead of a clean install?
I am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regularly. But I never understood those Debian programs and the Debian package system with it's numerous programs and way to install things and work on software and configurations. Now, I just wanted to do something that I thought to be really easy. Get the source of an existing package. And despite spending over 3 hours - including reading the man-pages of commands - I cannot find a way!
I already don't understand why I have two such packages installed. I would like to download the source of my kernel: apt-get source linux-image-2.6.26-2-openvz-amd64. This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz
Then, I wanted to patch this - having found no explanation, I did: cd linux patch < ../linux-2.6_2.6.26-21lenny4.diff
That seemed to patch the kernel. But I am not sure - there are new files like this now_ [...] Only in linux-2.6-2.6.26: xenctrl-capabilities.patch Only in linux-2.6-2.6.26: xenctrl.patch Only in linux-2.6-2.6.26: xenctrl-privcmd.patch [...]
So, how can download the complete Debian kernel source? And what do I need to be able to compile it? And - HOW to just list all available sources and search in them?!? I found lots of webpages where tools like "make-kpkg" are used, which I do not understand again. Under SuSE, I could just select the package from a list, say "make oldconfig install modules modules_install" and be ready. Under Debian, I just find no way ...
I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed it on the SSH/repo server. Now I can't figure out how to change apt to use a custom port on the client computer.
My sources.list file line which worked over port 22: deb ssh://user@1.1.1.1/home/user/repo lenny main contrib non-free I've tried: deb ssh://user@1.1.1.1:12345/home/user/repo lenny main contrib non-free and it fails and actually says "failed connecting to port 22"
Can this be done? I've searched google for hours and I getting nothing but unrelated data. I've read the man pages. The man page for apt.conf specified that you can set the port this way for HTTP, but doesn't mention anything about ssh ports.
Today I decided to include again Debian Volatile and discovered that it doesn't exist anymore and that I can get the same packages using this line: deb [url] squeeze-updates main
And the first question is: is this the same than debian-security?
Then, I decided to use [url] to make things less confused, and this was the output:
The first line is Ok. The second line, I guest it's the same than my second line. But, the third, is something different. So, the main question is: what is the difference between squeeze-proposed-updates and squeeze-updates? Are those repos completely separated from squeeze/updates (in security.debian.org)? And, what else should I add to have an always up-to-date and secure system?