DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Really, i don't understand why there is so much problem with your apt sources.list... Maybe you think it's something too much difficult to understand, but it's not... You must miss something...
Please, post the *exact* content of your sources.list file, then post the *exact* output of the "apt-get update" command.
Debian is very simple to use and understand if you take the time to read and understand the documentation that is available.
Try this hit Alt+F2 that will open a command window in the window type gksu gedit
then open /etc/apt/sources.list add the appropriate repositories then save it has to be saved to the original place, if you open the editor as "root" you should have no no problems.
I opened the terminal then typed su and the typed gedit then pasted the above line onto the text editor, clicked save a menu pooped up asking me where I wanted to save the file the choices were home file system cd rom and desktop I chose ... file system I did not have an option to save the file in the src area, then I typed apt-get update and here is what happend
It's not to bad when I open styptic and edit the suppository's from there
only one line apprears to be preventing the updates from updating and that line is the 3rd one deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free
The following problems were found on your system:
E: Malformed line 3 in source list /etc/apt/sources.list (URI parse)
Too much URL for me... and AFAIK, there is only one file that handle the apt system.
try something else: (still as root)
dpkg-reconfigure apt
I hope it'll fix your problem, because I don't know what you've done on your debian, but it seems like there is a problem!
Personnally I don't see what's the problem, normally there is nothing as easy as apt... so I'm kinda confused...
I'm willing to bet money that there is something wrong with the repository's because an error message comes up when I open the text editor (gedit) as root
gedit:4018): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
The files not saving because authentication refused to allow me to log in as root
dpkg-reconfigure apt just takes me back to Linux home/username
Think the best bet would be to un install then reinstall Debian all over again
This is amazing I never had any problems with Ubuntu
Wow... here is what happens when I open the text editor as root
username@linux:~$ su
Password:
linux:/home/username# gedit
(gedit:4015): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Wow... that's weird...
I can promise you that Inever had problem with the su command... I'm sorry to say that, but maybe your installation has been corrupted for a reason that I don't know and the reinstallation seems to be the only way to correct this...
Seriously, I understand that you found Debian weird if the su command didn't work... I'm sure you'll like it after a clean install. Here is a little script i use to install the basis: xserver, gnome and nvidia drivers
You'll just have to change the sources.list (at least it'll be done right at the beginning) and change it to testing, update, dist-upgrade and then install a recent kernel by hand before (I didn't include them in the script because it changes quite often):
kernel-headers-2.6.11-1-386
kernel-image-2.6.11-1-386
Code:
#!/bin/sh
## Apt-firstinst:
## Run it just after the basic package is installed.
##
## Thanks to Andrew E. Schulman for the nVidia installation part.
## (http://home.comcast.net/~andrex/Debian-nVidia/)
## xServer and Gnome.
apt-get install xfonts-base xlibs xutils xfonts-scalable xfonts-75dpi xfonts-100dpi xfonts-75dpi-transcoded xfonts-100dpi-transcoded msttcorefonts xserver-xfree86 xscreensaver-gl gnome gdm dvd+rw-tools zip unzip gnome-spell samba-common mdetect read-edid gimp-data-extras gimp-svg alsa
## nVidia driver installation.
apt-get install module-assistant nvidia-kernel-common
module-assistant prepare
module-assistant auto-install nvidia
apt-get install nvidia-glx nvidia-settings xlibmesa-dev xlibmesa-gl-dev xlibmesa-glu-dev freeglut-dev
## Save the conf file.
cp -p /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.bak
## Tell Debian the file has never been edited.
md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
## Reconfigure
dpkg-reconfigure xserver-xfree86
## Add "nvidia" if not in the loaded modules.
grep -q ^nvidia /etc/modules || echo "nvidia" >> /etc/modules
Wow turned out that the source.list file was corrupted- Big time. So I tweaked the system a bit then opened the file that said source.list, then erased the old data and replaced it with the new updated version that is posted below this paragraph.
After that, I clicked on the synaptic manager, then repositories everything was in place
So I exited the terminal and opened up synaptic manager again then clicked on the reload tab then choose smart update the system proceeded to download the updates, after that I clicked mark all upgrades, Now here's the part I don't get. For some reason or another the apply tab was grayed out, so I could not apply the updates.
I tried dist-update as well as a few other commands then went back to update the system but still no go the apply tab was still grayed out. I'm most certain that the problem is minor. I'm just glad that everything is in place. Now all I need to do is find out how to get the apply tab to apply the upgrade then I'll be all set.
Wow.... I knew all along that the problem had something to do with a crouped file
It's weird that there is not even one update, but you are under "stable", and the package doesn't change as quickly as in the other repository.
I think you can easily and safely change your sources.list file to this (now that you can change it ):
First off, I'd like to send accolades to Creak and Craigevil for their patience with this one. I had a similar problem trying to get wmvs to play with totem and that's how I happened to "land" here. I tried the afore mentioned repositories also but these aren't working any more but just in case someone else is having a similar problem, I'd like to add my solution. I ended up going to the mplayer site and downloaded the essential codecs package and extracted the contents to a directory in my home directory. I then copied those files to where totem wanted them under file:/home/"username"/.gnome2/totem-addons and was able to play wmv files. Most things in Debian are pretty simple to do, if I, a 53 year old can use Debian, then anyone can use Debian.
If I, a 53 year old can use Debian, then anyone can use Debian.
Not agreed. Mind you, I'm not trying to bash Debian (which I love) or you (or anyone for that matter), but I claim Debian (and in fact GNU/Linux in general) takes a certain type of personality. If I recall correctly from LUGRadio, Aq's dad never was that good with computers, but at some point he managed to get his modem working in SuSE and became completely hooked. Aq's comment (on the show) was then "A little sense of adventure will help you."
I believe this to be right on the spot. As a contrapositive, my mom doesn't have much of a sense of adventure when it comes to computers. As a result, I've been called over because "it displayed advertisement on startup". The fix: change the start page of IE.
My mom most likely couldn't use debian. Aq's dad most likely could.
Now, I'm not saying that there's no correlation between age and sense of adventure. However, age is not all that matters (and you argue solely based on age).
So. I didn't mean to nitpick, I just wanted to raise what I think is a valid point; hopefully some of you will get wiser as a result. Because, let's face it, GNU/Linux is not for everybody, and it probably never can be, because computers are not for everybody. I'm not against GNU/Linux being suitable for as many people as possible, I just think there's some way to go. Then there's the hardware issues (have a look at OpenGraphics to see a shining example of the opposite of what I'm referring to here), and the political issues (copyright law and patent law are the two major ones).
Actually anyone can use this distro, the problem is not everyone can install it or set it up. I agree with the mindset thing, you have to want it to make it work. My wife probably would find the install a bit of a challenge but then she would find installing Windows difficult also. As for using Debian, it has everything she needs, as long as there are icons on the desktop or a start button going to a menu of some type, she is quite happy. If she can't find what she wants, she knows where sys admin is.
Actually anyone can use this distro, the problem is not everyone can install it or set it up.
Okay, you got a point there, and I've actually made that point myself before, so shame on me for not making that distinction.
Quote:
If she can't find what she wants, she knows where sys admin is.
Fair enough. Not everyone has that luxury, though. My mom and--lacking a better expression--the bloke she's banging provides a good example; I doubt any of them could install and configure Debian. Not long ago, I had to "fix their speakers" (it turns out that the sound was on mute in the windows control panel).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.