Debian Configuration :: How To Modify Source.list From Shell?
Jan 27, 2011how can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.
View 5 Replieshow can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.
View 5 RepliesOn a fresh installed Debian8.1 whit Mate Desktop. I start Synaptic. Lets show the Source, all empty. I can't install or remove anything. Whats happens?
View 6 Replies View RelatedI'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.
View 2 Replies View RelatedI have a laptop connected to internet via wlan0. I also have eth0 interface and with it I share internet. I want to modify/filter all the traffic passing by the first laptop, something like this:
Code: Select all *---------------------------*
| LAPTOP 1 | *--------------* ?
|-----* *------* *----* | |
INTERNET<------>|wlan0|<-->|MY_APP|<-->|eth0|<---->|ANOTHER LAPTOP|
|-----* *------* *----| | |
*---------------------------* *--------------*
I know that in FreeBSD it is possible to use ipfw for that purpose, because it build-in into kernel. We set for example rule Code: Select allipfw add divert 2000 ip from any to 1.0.1.1
and we can use our own application to process those packets, reinject them forward etc. It will work also fast, because as I said, it build into kernel.
Is there any standart Linux-based solution to do the same? I found some info about netmap-ipfw. Is this a correct solution? Or I have to use for example IP-aliases and iptables to do that?
I need to process all the IP-packets, not only TCP/UDP/etc-protocol. Solution also must be very fast.
I currently run openVPN on my Debian box that provides secure ipv4 routing from my laptop to my VPS in a different country (and from there the internet via this box). This works fine. However, id like to sort out ipv6 through this VPN as well as IPV4 and not overly sure how to do it. The remote server itself has native ipv6 configured on device eth0 and it works (ping6, traceroutes all fine,incoming to web servers etc) nicely on dual stack.
How would i go about modifying the config (both client and server if needed) to enable openVPN to act as a tunnel broker to enable the laptop to use the ipv6 through the server as well as the old v4? (the internet connection laptop end will not/does not have native ipv6 from the ISP. Currently im using he-net tunnel broker but id like to run myself through my existing openVPN). VPN config details: Its using UDP, port 1194, creates a TUN interface, redirect-gateway etc and the rest is normal config. Edit:- if it matters the clients are all running windows so i cant use sh scripts to set up stuff client end.
Note the contents of my /etc/apt/sources.list. Only problem is when I run apt-get update there asome 'wheezy' update sources that I must have put it by accident. Where would they be coming from and how do I delete them?
Code: Select all#
# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 NETINST Binary-1 20150906-11$
#deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 NETINST Binary-1 20150906-11:$
deb http://ftp.au.debian.org/debian/ jessie main
deb-src http://ftp.au.debian.org/debian/ jessie main
[Code] ....
I'm a fresh user of Debian 6 64 Bit. I'm trying to install wine on it to run bluestacks. URL... but when I use the following command, it can't seem to fetch some files/packages. I have these as my sources list at the moment.
sudo nano /etc/apt/sources.list
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
[code]....
I seem to have removed / moved / deleted my /etc/apt/source.list file and was wondering where or how can I locate them again on the web? Is there a place online that has the default repository listings for 'Etch' & 'Lenny'? I did not lose them on both but this is something I would like to know in case it ever happens to me. Seems like this would be something easily available on the web but I can't find it on Debian's site and or via Google.
View 7 Replies View RelatedWhat happens if I update Debian Squeeze from Lenny's source.list?A step by step manual is written on Lenny, and if I change lenny to squeeze things seem to not work.When I update the squeeze from the original source.list and then change to the source.list that manual uses things are working.But if I were to start squeeze with lenny's source.list I am getting error while trying to do this:
apt-get install wget mc zip unzip bzip2 ntp ntpdate lsb-release.
Ive seen some fixes for this but they all seem to be specific to the particular user's sources.list . . . ..
Code:
Here is Line 54
Code:
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 get this error message: E: Malformed line 57 in source list /etc/apt/sources.list (dist parse)
I am pretty new to Ubuntu and dont really understand computer
Here is the sources list (??) as well
don't know much, but when I tried to update I get this error:
E: Type 'sudo' is not known on line 52 in source list /etc/apt/sources.list E: The list of sources could not be read.
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
View 7 Replies View RelatedThere is a problem with my source list (apparently) I'm running 11.04 if that helps.When I try to use apt-get install update for example, I get: "Malformed line 59 in source list etc/apt/sources.list"The same error occurs when trying to access synaptic package manager, it tells me there is a malformed line and the list of sources cannot be read.This error prevents me from apt-getting anything, updating and i suspect it is affecting the software center too.
View 6 Replies View RelatedHow can I convert a file with a lot hex numbers into the decimal?
Example: file1
0x59999
0x5acdc
0xffeff
I want to start $ cat file1 | util | cat >file2 and get file2 with smth like
[Code]...
i want to modify gnome 3 from source and i was wondering
if ya wanna know more about what i want to do just ask me
I just finished installing Debian 2.1 on a very old laptop for some light word processing and web browsing, and am trying to get apt working so I can use it and dselect to install packages. Whenever I run apt-get update as a first step, I get stuck at 0% with an eventual timeout (this also happens when running the update step of dselect).
I know that my network card (a Farallon EtherWave) is working because I can ping my local gateway and remote sites. In my sources.list, I have this line for the Debian archive for this release: deb [url]contrib main non-free
Can anyone think of why I can ping the archive successfully, but apt will not read it? Do I need to change some network configuration, or my source line?
I have a fresh install of Debian Squeeze AMD64 which I'm trying to install KVM on. I have no idea what I'm doing so I figured someone on these forums might be able to explain it. I have already verified VT support and enabled it in the bios. I have googled and read about KVM installation but everything I can find is either confusing or doesn't work. Also I am trying to install it from source because I want to experiment with modifying it later.
View 10 Replies View RelatedWithout going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).
Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...
I want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.
View 4 Replies View RelatedIs it possible to put the ISO images for Debian on your system and point the APT config at them with some sort of driver to read them like disks? That would sure save a lot of disk swapping.
View 2 Replies View RelatedI am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.
1) Where does Lenny keep the kernel source?
2) Are the kernel sources from Debian and www.kernel.org the same?
3) If I want to download the kernel source manually, where do I get it from?
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
View 2 Replies View RelatedI am trying to set up samba using AD to authenticate users. I did a clean install with the latest version of debian (need at least version 3 of samba for this to work). When I first installed winbind and ran "ps -ef | grep winbind", I could see about 4 instances of winbindd running. I set up kerberos and ran kinit and that ran fine, then tried changing my smb.conf file and restarting samba and winbind. Everything seems to appear normal when I restart the daemons, but when I run "ps -ef | grep winbind", I see nothing running.
View 1 Replies View RelatedI have the source of the application I want to modify, as well as the list of dependencies I need in order to compile. I got the source code for those and compiled/installed them. I'm fairly sure that all of the dependencies are installed. However, when I go to run the compiler it crashes while parsing some of the code.
I had the application installed before, and it ran. After tinkering around trying to get the source to compile, the app no longer runs either. It crashes, and if run from the CLI, spits out something about not finding one of the files from the SDL library.
So obviously I did something wrong to mess everything up, because I'm in a deeper hole than when I started. Anyone know how I would go about fixing this? Or even starting with a clean slate so that I can have another go at it?
I just set up a computer with debian (im no linux expert) and now i have trouble with getting the packages for my graphics card (its an RV635)
Im tried to do it like this page says: [URL]....
However when i try to Code: Select allapt-get update he throws an error:
W: Fehlschlag beim Holen von http://httpredir.debian.org/debian/dists/jessie/Release Erwarteter Eintrag »nonfree/binary-amd64/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei)
why it is that when I download the sendmail debian source package for etch and build it using dpkg-buildpackage -b -nc I get a 645543 byte sendmail executable whereas when I download the sendmail binary that is 703292 bytes.
View 1 Replies View RelatedBuilding Wine-1.3.16 for Squeeze from Source: Since there isn't a good version of Wine in the repositories, I decided to build my own from source. Here it is. read everything. I DID NOT have Wine previously installed. If you do, you'll have to remove it FIRST.
[code]...
With all the dependencies installed you can begin building Wine. From the terminal:
[code]...
I have a Broadcom BCM4312 LP-PHY in this machine. I was informed theres an open source driver for broadcom cards (brcm80211), but it doesn't seem to support this chipset. In the spirit of Debian, is there another driver available?
View 2 Replies View Related