LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2015, 04:08 PM   #1
debianisabitch
LQ Newbie
 
Registered: Jun 2015
Posts: 7

Rep: Reputation: Disabled
Debian giving me a headache


Hi all

I just installed debian from a bootable usb and I already spent my day getting it to actually install.

So right now after every boot I have to start the Panel myself. OK no problem

I just need virtual box to run. So I can cheat and not use debian ever.

I used apt-get install virtual box. It worked no shit.

Oh no it didn't gave me this error "please insert cdrom...."
So back to my 100 google tabs for searching debian errors. I needed to remove cdrom in /etc/apt/sources.list

Alright....

First I did the su and the root password then went in that file or directory and put the # in front of cdrom now no way to save. So I tried closing it and opening to see if it was saved. And now when I enter /etc/apt/sources.list it tells me.

PERMISSION DENIED.

While I'm root.

I already google it and I get all these commands that won't do anything.
 
Old 06-14-2015, 04:49 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
Quote:
Originally Posted by debianisabitch View Post
I just need virtual box to run. So I can cheat and not use debian ever.
Why have you installed Debian at all?

Sounds like you should be using Ubuntu or Mint.

By the way, what does "went in that file" mean?

Read this:
http://www.catb.org/esr/faqs/smart-questions.html
 
Old 06-14-2015, 05:27 PM   #3
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,172

Rep: Reputation: 242Reputation: 242Reputation: 242
Try LMDE (Linux Mint Debian Edition) - it's Debian packages plus some Mint stuff to improve the GUI.
 
Old 06-14-2015, 07:30 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,144
Blog Entries: 2

Rep: Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846
Quote:
Originally Posted by debianisabitch View Post
And now when I enter /etc/apt/sources.list it tells me.

PERMISSION DENIED.

While I'm root.
/etc/apt/sources.list is not an executable file, so of course you will get a permission denied error when you try to run it, because the executable flag is not set.
 
Old 06-14-2015, 11:52 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,279
Blog Entries: 3

Rep: Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836
Hi...

While I welcome you to the forum, please watch the language. Folks of all ages can access these forums, including little ones.

Thanks!
 
Old 06-15-2015, 04:50 AM   #6
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX & Vuu-Do.
Posts: 1,917

Rep: Reputation: Disabled
The first thing you need to do is update the sources list, in a terminal, as the root user,
Code:
apt-get update
then you will be able to install software.
 
Old 06-15-2015, 05:17 AM   #7
debianisabitch
LQ Newbie
 
Registered: Jun 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks you for all the replies I thought this would be dead.ill watch my language my apologies.

I installed debian because it is supposed to be a very stable and safe OS. I used xubuntu before that did work very well. And I meant to go into that file to edit it.

I will look into that LMDE sounds very good. I am using XFCE debian now. Altough I have been fixing issues for so long now that am I am going to get this to work no matter what.

And you are right with that sources file I used nano which worked. Took me some time to edit and save. just saying "Change this and that then exit and save" is not working for someone who doesn't know how to save. It's ctrl+x then Y and enter.for those who want to save their time watching youtube videos. Why does it even show the commands "^G Get Help" ... how do you get them to work?

I also had a problem with that panel like I said removing the cache sessions worked after doing it a few times. Did not work with commands though but ok.

Also virtualbox did not want to save any machines made I could not assign it any RAM. I was unable to press "next" which was magically solved after rebooting a 100 times. Changing the read & write permission adding deb http://download.virtualbox.... to that sources file for downloading and reinstalling virtualbox.

And right now my Internet loses connection about every 5 to 10 minutes. Which works again when I shut it down and start it up again. Any way to solve this? I couldn't find many topics about this on Google. Should I make a new topic for this?
 
Old 06-15-2015, 07:10 AM   #8
kiyop
Member
 
Registered: Jun 2015
Distribution: Debian, Arch
Posts: 56

Rep: Reputation: Disabled
Quote:
Originally Posted by debianisabitch View Post
Also virtualbox did not want to save any machines made I could not assign it any RAM.
(snip by kiyop)
And right now my Internet loses connection about every 5 to 10 minutes. Which works again when I shut it down and start it up again. Any way to solve this? I couldn't find many topics about this on Google. Should I make a new topic for this?
I think that you should.
But, I suggest you posting the link to this thread in the new topic.

Is there any solution in https://www.google.com/?gws_rd=ssl#q...ose+connection ?

Last edited by kiyop; 06-15-2015 at 07:12 AM.
 
Old 06-15-2015, 08:17 AM   #9
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,724
Blog Entries: 12

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Welcome to the forums. Perhaps you ought to consider a different username. I find it a poor choice to enter into a forum with some negative intent as part of your username, but to each their own.

I do second the recommendation that you try LMDE.

What exactly are you trying to set up, a desktop Linux environment, a server?
 
Old 06-15-2015, 08:36 AM   #10
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 1,967
Blog Entries: 5

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Quote:
Originally Posted by debianisabitch View Post
And you are right with that sources file I used nano which worked. Took me some time to edit and save. just saying "Change this and that then exit and save" is not working for someone who doesn't know how to save. It's ctrl+x then Y and enter.for those who want to save their time watching youtube videos. Why does it even show the commands "^G Get Help" ... how do you get them to work?
The ^G means 'CTRL+G'. What you see at the bottom of the editor are the help commands.

nano is actually an 'easy' editor when compared to vi/vim
 
Old 06-15-2015, 11:46 AM   #11
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,172

Rep: Reputation: 242Reputation: 242Reputation: 242
nano is the editor of choice for small configuration files.

LMDE is based upon Debian Stable + Debian Testing.

Debian Stable is super-stable but tends to be rather dated software.
It doesn't crash, so is ideal for servers.

Debian Testing has been tested & should eventually move to Stable.
It is relatively up to date and so ideal for desktops.
 
Old 06-15-2015, 01:24 PM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,801

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
I second the suggestion to use another distribution, probably Mint or Xubuntu, until you learn a little more about Linux. It sounds like you've some goal or project in mind that you're running towards without stopping to check everything else is set up.
Debian is fairly easy to install and use, once you've had a little practice and read around a bit. However, trying to use it without learning anything of the command line and rushing to install VirtualBox before you know why you don't have a panel (I do seem to recall one of the options when starting XFCE could be "No panels" so perhaps that's it) will only lead to frustration as you have found out.
 
Old 06-15-2015, 05:45 PM   #13
debianisabitch
LQ Newbie
 
Registered: Jun 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
About trying a different distribution I don't want to do that. It won't help me. First time I ever used linux was a few months ago and it was debian. Which I ended up deleting after a few days because we'll you can guess why. Then I used xubuntu for a few months and once I had virtualbox and everything else I needed setup I was done. Not learning anything about linux after that. Now I am back with debian and even with some months on xubuntu it didnt change that much. It's still a ...Beautifully designed easy to use Operating System. Wink.
But i am going to get it too work.

Kiyop
I looked in those links you gave me and I found this

/etc/network/interfaces:
auto eth0
iface eth0 inet dhcp

Which I found before only with a # in front of the second line like this.

#iface eth0 inet dhcp

Which didn't do anything because # makes the line irrelevant like a //comment right?
So I removed it and funny thing happened.

My complete internet connection is gone.
Saying:
Ethernet Network
device not managed

While device not managed is supposed to be my connection 1 I am using cable so I know it's eth0

I think my username is ok comparing it to the average song on the radio. If you still want me to change or delete it then alright.

Just a desktop linux environment.

Thank you cynwulf very helpful. Finally found that out.

Debian LMDE sound really good probably a lot easier to use but I am not going to delete this one again. Already gave my hdd enough reinstalling.

That testing means I will be able to get errors or bugs that are not found yet? Or still need to be fixed? Meaning more trouble while I can't even handle stable? Stable still does not sound very well. How many people are actually testing these new versions? How stable is it?

And the panel thing was a little more than me forgetting to check some option. I got about 3 errors when starting up. Saying to quit or to execute. Pressing nonstop on execute made the panel pop up and telling me I was not allowed to change anything. same thing happened when rebooting. It was fixed by going Settings-Session and Startup-Session then Quit Program on almost everything and clear saved sessions then rebooting going back to this options then checking "Automatically save session on logout"

Thanks for all the help
 
Old 06-15-2015, 07:03 PM   #14
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,172

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
I looked in those links you gave me and I found this
/etc/network/interfaces:
auto eth0
iface eth0 inet dhcp

Which I found before only with a # in front of the second line like this.

#iface eth0 inet dhcp

Which didn't do anything because # makes the line irrelevant like a //comment right?
So I removed it and funny thing happened.

My complete internet connection is gone.
Saying:
Ethernet Network
device not managed
The 'auto' is a clue.
The dhcp line is not needed or wanted.
A # marks the beginning of a comment
A // does not.
Quote:
I think my username is ok comparing it to the average song on the radio. If you still want me to change or delete it then alright.
So perhaps you are a misogynist?

Quote:
Debian LMDE sound really good probably a lot easier to use but I am not going to delete this one again. Already gave my hdd enough reinstalling.

That testing means I will be able to get errors or bugs that are not found yet? Or still need to be fixed? Meaning more trouble while I can't even handle stable? Stable still does not sound very well. How many people are actually testing these new versions? How stable is it?
Debian Stable is extremely stable. Many distros rely on it.
Debian Testing is more stable than many other distros stable.
 
Old 06-16-2015, 04:28 AM   #15
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 1,967
Blog Entries: 5

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Debian stable is stable.

Debian testing and unstable are not stable.

All you need to know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutt is giving me a headache dory550 Red Hat 8 10-26-2014 02:15 PM
Linux is giving me a headache... IDSBlazed Ubuntu 5 02-23-2011 07:19 PM
autoconf is giving me a headache binarybob0001 Programming 1 03-15-2008 07:55 AM
Maildrop is giving me a headache LiquidKernel Linux - Software 2 09-15-2004 07:53 AM
Need Help PORTFW is giving me a headache. cenci Linux - Networking 1 02-17-2003 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration