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.


Similar Content



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

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.

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

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.

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?

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

Added 'exit 0' To The Bottom Of .bashrc, Now What?

Centos 6.5

I ran into an interesting problem (on reddit) that I figured I could solve, but I have not been able to. Its simple,.. I added 'exit 0' to /root/.bashrc, and now I am trying to log in via ssh.

Everytime I do, it immediately exits when it runs the .bash_profile, which sources .bashrc, (which is immediate upon 'logging in')

I've tried:

Code:
ssh root@192.168.1.50 -t vim
vim scp://192.168.1.50/.bashrc
vim scp://192.168.1.50/root/.bashrc
ssh root@192.168.1.50 bash --norc
ssh root@192.168.1.50 /bin/bash --norc --noprofile
ssh -T root@192.168.1.50 "mv /root/.bashrc /root/.bashRC"
scp .bashrc root@192.168.1.50:/root/
ssh root@192.168.1.50 /bin/bash --norc --noprofile -vvvvvvvvvv
ssh -vvvvvv root@192.168.1.50 /bin/bash --norc --noprofile
ssh -vvvvvv root@192.168.1.50 /bin/mv /root/.bashrc /root/.bashRC
ssh -t -t root@192.168.1.50 << EOF
mv /root/.bashrc /root/.bashRC
EOF
ssh -t -t root@192.168.1.50 --norc << EOF
echo HELLO > /root/.bashrc
EOF
ssh -tv root@192.168.1.50 rm .bashrc

So,.. I am unable to get back into the system (as root, no other users exist) after adding 'exit 0' to .bashrc

Anyone feel like explaining why all of these failed (aside from saying SSH interactive logins run the .bash_profile/.bashrc files) or, offering a suggestion that works? Seems like if you have the root password, you should be allowed to modify the login process... since... you know... you are root.

Growing List Of Packages Being Held: Libcurl3-gnutls IS Librtmp1 The Problem?

Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy


sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
chromium dnsmasq-base icedtea-7-jre-jamvm iceweasel libcurl3 libcurl3-gnutls libxml-libxml-perl ntfs-3g openjdk-7-jre openjdk-7-jre-headless
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.


When I try to install libcurl3-gnutls I get:

sudo apt-get install libcurl3-gnutls
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcurl3-gnutls : Depends: libgnutls-deb0-28 (>= 3.3.0) but it is not installable
Depends: librtmp1 (>= 2.4+20131018.git79459a2-3~) but it is not installable
E: Unable to correct problems, you have held broken packages.


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


deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy main non-free contrib

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

deb http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib

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.