Source Code for Packages. (apt-get source)

Questions about applications and software
Forum rules
Before you post please read this

Source Code for Packages. (apt-get source)

Postby pgmer6809 on Wed Feb 27, 2013 10:09 pm

Hi,
I have enabled the
sources
in my repositories in synaptic and
I try to get the source code for a package, for example nano or mate, but I keep getting an error message.
trojan apt # apt-get source nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for nano


but nano is installed as shown here:
dpkg -l nano
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================================-======================================-============================================================================================
ii nano 2.2.6-1 small, friendly text editor inspired by Pico


How do I get the source package for various pieces of mint?
(synaptic shows nano installed, and the properties screen shows a list of files installed, but none of them are in the /usr/src or /usr/local/src directories.
pgmer6809

Here is a copy of my /etc/apt/sources.list
cat /etc/apt/sources.list
deb http://packages.linuxmint.com/ maya main upstream import universe
deb-src http://packages.linuxmint.com/ maya main upstream import universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb-src http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games
## Depôt MultiSystem
deb http://liveusb.info/multisystem/depot all main
pgmer6809
Level 2
Level 2
 
Posts: 96
Joined: Sun Mar 04, 2012 9:06 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: AverageGuy, Ineedhelpplease and 15 guests