Sources List In Lubuntu 14.04 Is Lost

Hello everyone,
I had a trouble with my sources list. The trouble was line 56 malformed in sources list, so I couldn't update my prograns or download new ones. I tried one solution I heard of, which consisted in adding to ## at the beginning of the line. As I didn't know which line was 56 I added the ## at various lines to make sure that line 56 was changed. Unfortunately, it didn't work and the message repeated itself again. I accessed the sources list again, but this time I probably forgot to save the changes I made and now the sources list is empty, which it is a much graver problem. Could anyone tell me how to fix it? Will it suffice to send me a copy of the current sources list in Lubuntu/Ubuntu so that I could paste it in the terminal? Thank you so much for any help you could give me.
Bruno Zero


Similar Content



Update Manager Doesn't Work With Linux Mint 17.1 Mate

this is what I get after running "inxi -r"
Repos: Active apt sources in file: /etc/apt/sources.list.d/clipgrab-team-ppa-trusty.list
deb http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/ferramroberto-lffl-trusty.list
deb http://ppa.launchpad.net/ferramroberto/lffl/ubuntu trusty main
deb-src http://ppa.launchpad.net/ferramroberto/lffl/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/getdeb.list
deb http://archive.getdeb.net/ubuntu trusty-getdeb apps
Active apt sources in file: /etc/apt/sources.list.d/gnome3-team-gnome3-trusty.list
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu trusty main
deb-src http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/kalakris-okular-trusty.list
deb http://ppa.launchpad.net/kalakris/okular/ubuntu trusty main
deb-src http://ppa.launchpad.net/kalakris/okular/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/kilian-f_lux-trusty.list
deb http://ppa.launchpad.net/kilian/f.lux/ubuntu trusty main
deb-src http://ppa.launchpad.net/kilian/f.lux/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/libreoffice-ppa-trusty.list
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com rebecca main upstream import
deb http://extra.linuxmint.com rebecca main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Active apt sources in file: /etc/apt/sources.list.d/ricotz-testing-trusty.list
deb http://ppa.launchpad.net/ricotz/testing/ubuntu trusty main
deb-src http://ppa.launchpad.net/ricotz/testing/ubuntu trusty main

Thanks in advance, ScottG

Where Is This " /etc/apt/sources.list " In My Windows

hello
I'm still having problems.
I use virtual Box and i have ubunto in that.
When I search in google about update not working, I always see the answers about " /etc/apt/sources.list ".
Where is this " /etc/apt/sources.list " in my windows?
How can I find it???

thanks.

I Have Not /etc/apt/sources.list

I found the root of the problem. I have not /etc/apt/sources.list in virtual Box. please help me until this the problem is resolved.

Thank you for your patience.

Wifi Working In Wheezy But Not Jessie

I just installed on my Sony Vaio "Jessie" and my wifi doesn't work.
When I was using "wheezy" after installation I did the following:

add line to Sources.list:
deb http://http/debian.net/debian/ wheezy main contrib non-free

do followwing commands:
# apt-get update && apt-get install firmware-iwlwifi
# modprobe -r iwl4965
# modprobe iwl4965
# aptitude update
# aptitude install plasma-widget-networkmanagement

I tried to do the same in "Jessie"

add line to Sources.list:
deb http://http/debian.net/debian/ jessie main contrib non-free

but it didn't work. Any ideas?

What's Wrong With My /etc/apt/sources.list - Jessie.

Hi all,
This is my /etc/apt/sources.list of jessie, what's wrong as I am getting the following error output .

error :-

Code:
Err http://http.debian.net jesssie/main Sources
  404  Not Found [IP: 54.192.190.154 80]
Err http://http.debian.net jesssie/contrib Sources
  404  Not Found [IP: 54.192.190.154 80]
Err http://http.debian.net jesssie/non-free Sources                                                                                            
  404  Not Found [IP: 54.192.190.154 80]
Fetched 7,819 B in 25s (307 B/s)                                                                                                               
W: The repository 'http://http.debian.net jesssie Release' does not have a Release file. This is deprecated, please contact the owner of the repository.
W: Failed to fetch http://http.debian.net/debian/dists/jesssie/main/source/Sources  404  Not Found [IP: 54.192.190.154 80]

W: Failed to fetch http://http.debian.net/debian/dists/jesssie/contrib/source/Sources  404  Not Found [IP: 54.192.190.154 80]

W: Failed to fetch http://http.debian.net/debian/dists/jesssie/non-free/source/Sources  404  Not Found [IP: 54.192.190.154 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

This is my /etc/apt/sources.list :-

Code:
[$] cat /etc/apt/sources.list                                                                                                       [2:23:45]
#### testing  #########
deb http://http.debian.net/debian jessie main contrib non-free
deb-src http://http.debian.net/debian jesssie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# testing-updates, previously known as 'volatile'
#deb http://http.debian.net/debian jessie-updates main contrib non-free
#deb-src http://http.debian.net/debian jessie-updates main contrib non-free

Now I am guessing one or more of the entries above are wrong, as probably all of testing-updates would probably come into play once jessie is released, right ?

This was generated via http://debgen.simplylinux.ch/ for lack of better places to generate sources.list from.

Debian Now Only Booting To Command Line

Hi all,

I'm once more trying my hand at Linux, but it's been so long that I've forgotten everything I learned last time and going back in again as a total newbie.

I tried out SteamOS first, but found it much too clunky for my tastes and, despite being based on Debian, seemed to have had a lot of functionality removed and inability to install some packages even after adding in Debian repos to the sources.list, so I ended up switching to vanilla 64-bit Debian 8 using KDE as my desktop. At first things were going good, managed to install the AMD Graphics Drivers and get Steam itself installed, along with downloading/installing a few games.
I then downloaded a game from gog.com but was getting an error message, which on looking it up appeared to be due to my only having 64-bit libraries for my graphics drivers and no 32-bit ones. I did some more Googling, ran some commands and did some apt-get installs (though sadly I can't recall exactly what they were) and eventually, the game launched fine and all appeared well.

The next time I started up my laptop though, Debian just boots straight to a full screen command line, not the desktop GUI that I want, and I have absolutely no idea how to either switch back to the GUI, or make it the default again. I'm not sure if I've somehow removed KDE, the xserver (I think?), somehow disabled one of them or just changed the startup preferences.
I'd really rather not have to reinstall the whole system again, so any suggestions will be very much appreciated!

Sudo: No Valid Sudoers Sources Found, Quitting

Hello,

I am getting the follwoing error for Red Hat Enterprise Linux Server release 6.6

sudo su -
sudo: >>> /etc/sudoers: syntax error near line 118 <<<
sudo: parse error in /etc/sudoers near line 118
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

cd /etc/sudoers.d/
-bash: cd: /etc/sudoers.d/: Permission denied

Could you help me to figure it out. As a root user am able to access but as normal user it is not allowing to sudo su - command.

vi /etc/sudoers.d/access
username ALL=(ALL) NOPASSWD: ALL

Please let me know if any additional formation required.

Recursion Gui Free Software



i decided to post this as a new thread seeing how it's a recurring problem for me, and i still haven't found good recursive software to download dependancies from a website when some of the packages aren't in the repos or my linux doesn't have the correct repos in the sources file.

i used dpkg -i and it did not work. i know i can install this with recursion software, however the trend is heading toward arch with linux, so distro agnostic linuxes and parent distros which install tarballs and compile without many bugs automatically are what all linux developers should be supporting first and foremost.

this brings me to my question, there are a lot of applications and dependancies not included in repositories, and not included in your current aptitude (or whatever automated dependancy program you prefer to use to download packages) unless you modify the repo source file, so sources.list or whatever for debian. why do forum answers simply refer newbies and half newbies to using commands with bugs, instead of considering the repository doesn't have the neccessary packages, or that the user needs to add the websites to the sources in their distro before using automated package grabber commands/software? it's quite possible the person who posted the package did not submit it to the linux repo, or has not submitted it yet. some devs are too lazy to put any of their software in any repo.

there are websites like github which seem to be attempting to correct this problem, but it still begs the question, what is good recursion software or a recursive command which works and downloads the dependancies when not in the repositories with the least amount of bugs? theroetically it would be easier to use gui software which has innate recursion and copy and paste the web address of the binary, rather than modify the source file every time you want to download a package with missing dependances.

here was an example of my output downloading a current wheezy kernel in order to make a custom debian image

root@Leck1p2l:/home/leck# gdebi /home/leck/Downloads/kernel-package_12.036+nmu3_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
This package is uninstallable
Dependency is not satisfiable: po-debconf

I Try To Install Ns2.33 On Ubuntu 10.10 In Order To Run ZRP Protocol

Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory

2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#

Then save the file and close.

3.Write the following command to update the system
$ sudo apt-get update

4.download the two files from the following link and save it in the home directory

gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing

5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb

6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++

7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install

9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing

but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
#

so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help

How To Write A Makefile With .c And .asm File

Hi,
I am working with Debian and gcc.

I have a single C file main.c, with some code in it.
For this trivial build, I am using the following Makefile:

Code:
SOURCES=main.c
CFLAGS=-c -w -gdwarf-4 -g3 -O0

LDFLAGS=
CC=

OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=myprogram

all: clean $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(CC)gcc $(LDFLAGS) $(OBJECTS) -o $@

clean:
	rm -f $(EXECUTABLE) $(OBJECTS) $(MAKE)

.c.o:
	$(CC)gcc $(CFLAGS) $(LDFLAGS) $< -o $@

Now, in main.c, I want to use an assembly function, say myFunction which is implemented in the file function.asm.

My question is now: how do I build this? How do I modify the Makefile above to do this ?

Many thanks for your help!!!

PD.