[Bug 892591] Re: apt-get source <package> requires root

Julian Taylor jtaylor.debian at googlemail.com
Sun Nov 20 00:29:58 UTC 2011


have you changed the permissions of the sources.list to not be user readable?
ls -lR /etc/apt/sources.list*
should show -rw-r--r-- permissions

you can change it with chmod o+r file

** Changed in: apt (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/892591

Title:
  apt-get source <package> requires root

Status in “apt” package in Ubuntu:
  Incomplete

Bug description:
  I upgraded to 11.10 from 11.04. 
  Some time later I noticed that apt-get source seems to reuire root privelages to work

  NB- There are (enabled) deb-src's in the sources list

  example:

  [FAIL]
  jason at adrastea:~/source$ apt-get source photoprint
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: You must put some 'source' URIs in your sources.list

  
  [WORKS]
  jason at adrastea:~/source$ sudo apt-get source photoprint
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Need to get 2,456 kB of source archives.
  Get:1 http://gb.archive.ubuntu.com/ubuntu/ oneiric/universe photoprint 0.4.1-3 (dsc) [1,202 B]
  Get:2 http://gb.archive.ubuntu.com/ubuntu/ oneiric/universe photoprint 0.4.1-3 (tar) [1,936 kB]
  Get:3 http://gb.archive.ubuntu.com/ubuntu/ oneiric/universe photoprint 0.4.1-3 (

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/892591/+subscriptions




More information about the foundations-bugs mailing list