LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-16-2013, 01:36 AM   #1
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: debian 7.2
Posts: 125

Rep: Reputation: 6
unable to copy paste & Help in editing "sources.list" file


I have installed debian 6 along with my windows 7.

From cd one I have installed the debian. After reboot I got entered into command line.

As I searched solution for this in internet I got the way to go to aptitude and then task then end user and hence I installed gnome.

But right now I am having problem in copy paste. in terminal I am unable to paste copied text. please help..

Also help me in editing sources.list file in order to install VLC player...


My debian is not detecting blutooth. Please help

Last edited by Piyush M; 01-16-2013 at 03:14 AM.
 
Old 01-16-2013, 02:52 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
In a terminal as root type in

Code:
gedit /etc/apt/sources.list
that will open an editable copy of your sources.list that you can copy and past into.
 
1 members found this post helpful.
Old 01-16-2013, 03:12 AM   #3
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: debian 7.2
Posts: 125

Original Poster
Rep: Reputation: 6
Unhappy

dear k3lt01 your suggestion helped me.
Thank you !

But what about copy paste problem ?

Also my debian is not detecting blutooth, can you help me ?

---------- Post added 01-16-13 at 02:42 PM ----------

dear k3lt01 your suggestion helped me.
Thank you !

But what about copy paste problem ?

Also my debian is not detecting blutooth, can you help me ?
 
Old 01-16-2013, 03:21 AM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Not sure about the copy and paste sorry.

With Bluetooth if you installed from CD1 and not DVD1 you may not have the bluetooth packages installed. Open Synaptic and search for bluetooth, gnomebluetooth, and bluez, install them reboot and see how you go.
 
Old 01-16-2013, 03:52 AM   #5
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: debian 7.2
Posts: 125

Original Poster
Rep: Reputation: 6
I dont have synaptic.

please tell me via command line
 
Old 01-16-2013, 04:22 AM   #6
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 994
Blog Entries: 2

Rep: Reputation: 248Reputation: 248Reputation: 248
apt-get install synaptic
or
aptitude install synaptic

Things will be easier for you if you look here:
http://wiki.debian.org/PackageManagement
 
1 members found this post helpful.
Old 01-16-2013, 05:22 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,234

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
To copy and paste in a terminal emulator, use middle click or the right click context menus. If you are trying to use the windows style CTRL+X/C/V don't bother as these almost always do not function the same.

From gedit, kate, mousepad or similar editors CTRL+X/C/V should work windows style. If they don't it may be because the file is locked due to insufficient permissions (not really sure about this as I hardly use gui text editors). If you're attempting to edit a file like the sources.list, then you will need to have root privileges.
 
Old 01-17-2013, 10:04 PM   #8
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: debian 7.2
Posts: 125

Original Poster
Rep: Reputation: 6
even I tried this trick, I right click in terminal and select paste but still it didn't work ...
 
Old 01-17-2013, 11:05 PM   #9
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: debian 7.2
Posts: 125

Original Poster
Rep: Reputation: 6
Dear Randicus Draco Albus When I tried your trick the following message was shown...


aptitude install synaptic
No candidate version found for synaptic
No candidate version found for synaptic
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.


Can you help ?

---------- Post added 01-18-13 at 10:35 AM ----------

Dear Randicus Draco Albus When I tried your trick the following message was shown...


aptitude install synaptic
No candidate version found for synaptic
No candidate version found for synaptic
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.


Can you help ?
 
Old 01-18-2013, 12:08 AM   #10
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by Piyush M View Post
Dear Randicus Draco Albus When I tried your trick the following message was shown...


aptitude install synaptic
No candidate version found for synaptic
No candidate version found for synaptic
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.


Can you help ?
Try his other suggestion.
Code:
apt-get install synaptic
EDIT: rereading this again says to me there is something wrong. I would have thought you would have synaptic even on a CD install. The other thing I would asl you to do is post your sources list please so we can see what you have in it. If it is just the cd then unless you have the CD in the drive you wont get anything.

Last edited by k3lt01; 01-18-2013 at 12:12 AM.
 
Old 01-18-2013, 01:04 AM   #11
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 994
Blog Entries: 2

Rep: Reputation: 248Reputation: 248Reputation: 248
Quote:
I would have thought you would have synaptic even on a CD install.
I do not know if Synaptic is on CD1, but when I installed from the DVD, it was not included in the installation. I had to add it later.

@Piyush M
I am in agreement with k3lt01 about posting your sources list. When I saw No candidate version found, the first thing that came to my mind was, Where is he trying to download from? Are you installing packages from discs or from the internet? The file k3lt01 mentioned is /etc/apt/sources.list. It will look something like this:
Code:
deb http://security.debian.org/ squeeze/updates main contrib
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb-src http://http.us.debian.org/debian/ squeeze contrib non-free main
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
The contents of yours may be a little different.
 
Old 01-18-2013, 01:29 AM   #12
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by Randicus Draco Albus View Post
I do not know if Synaptic is on CD1, but when I installed from the DVD, it was not included in the installation. I had to add it later.
I keep an up to date DVD1 using jigdo and it is on mine in a Gnome install, I don't know about other DEs but certainly Gnome has it.

Nonetheless I think the sources.list is probably the issue. Sorry for not posting its location it slipped my mind, I'm trying to finish 3 uni assignments in the next 10 days and study for an exam 2 days after that.
 
Old 01-18-2013, 05:06 AM   #13
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: debian 7.2
Posts: 125

Original Poster
Rep: Reputation: 6
I am having dial up connection right now.

From CD 1 I have installed debian.

I was having Windows 7 installed primarily. There was C, D, & E drives on my windows 7. I installd debian on drive D and it is invisible now when I boot into windows 7.

Right now I am unable to install any software like VLC & CHROME through terminal.

---------- Post added 01-18-13 at 04:36 PM ----------

I am having dial up connection right now.

From CD 1 I have installed debian.

I was having Windows 7 installed primarily. There was C, D, & E drives on my windows 7. I installd debian on drive D and it is invisible now when I boot into windows 7.

Right now I am unable to install any software like VLC & CHROME through terminal.
 
Old 01-18-2013, 06:23 AM   #14
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 994
Blog Entries: 2

Rep: Reputation: 248Reputation: 248Reputation: 248
Quote:
I installd debian on drive D and it is invisible now when I boot into windows 7.
And you will probably never be able to see it. I have never dual-booted with Windows, but I am sure Windows cannot read anything that is not Microsoft. You need to boot into either Debian or Windows. If you cannot boot into Debian (no choice of OS during boot), you probably neglected to install the boot-loader (GRUB), during installation. If that is the case, I do not want to give bad advice. You will need to wait for someone more knowledgeable or read the documentation on Debian's website.
 
Old 01-18-2013, 07:24 AM   #15
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,234

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
You need to post your sources.list

Code:
$ cat /etc/apt/sources.list
 
  


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
[SOLVED] "Unable to copy PPD file" LloydRice Linux - Hardware 18 07-03-2011 04:05 AM
[SOLVED] need to copy all " *.SEED " files and paste them inside a new folder each time rastin_nz Programming 1 11-03-2010 05:02 PM
intrepid, PS3, update sources list from "ubuntu" to "ports-ubuntu" evdv Linux - Newbie 7 08-18-2009 10:52 AM
using linux "LIVE CD" cannot read & copy non english character file,solution? hocheetiong Linux - Newbie 3 12-14-2008 05:03 AM
How do i "copy" one bios and "paste" it onto another identical machine Yerp Linux - Hardware 2 01-10-2007 08:31 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration